Log in

View Full Version : pcm + mkv


gahz
1st September 2010, 08:37
is it possible to mux a pcm into an mkv? i've tried mkvmerge but it always seems to spit out an error at me.

tebasuna51
1st September 2010, 09:20
To mux uncompressed audio with mkvmerge you need use the WAV container.

A .pcm file is just raw samples without info about bitdepth, num-channels and samplerate and MkvMerge need this info.
A .wav file have the same audio data with a info header.

Just extract the audio in wav format from the previous container, or try to convert with eac3to (not always possible):
eac3to input.pcm output.wav

gahz
1st September 2010, 11:28
thank you for the info, i was going crazy trying to figure it out. i can mux the wav into mkv afterwards?

tebasuna51
1st September 2010, 15:06
MkvMerge accept .wav files also if are greater than 4 GB (some soft can't understand wav files > 4 GB).

ramicio
1st September 2010, 15:45
I would just go FLAC to save space. The result will be IDENTICAL in the end, with a much smaller audio file.