PDA

View Full Version : Demuxing AVC from MKV files


LockoNH
1st March 2007, 06:20
I can sort of demux the video from .mkv files using mkvextract but it seems like the resulting file is unusable by any other program other than VLC. I was hoping to convert the audio to AAC and mux the AVC video and AAC audio into an MP4 file.

foxyshadis
1st March 2007, 10:08
You need to pick up YAMB (or use mp4box to do it manually).

LockoNH
1st March 2007, 23:20
I don't think YAMB/MP4box can deal with MKV. I'm going to double check on it though.

Milvus
2nd March 2007, 01:18
Yes, YAMB can't directly use MKV, but it's not a problem.

You need to use the two packages : Extract the raw H.264 stream from the MKV with mkvextract then remux it (with the AAC audio stream) into MP4 with YAMB/MP4Box. You'll probably have to force the framerate of the video stream to have audio/video sync.

LockoNH
3rd March 2007, 03:27
Thanks Milvus, it worked like a charm. ;)

jrizzy
11th December 2007, 22:40
i got the mp4 to output successfully and it looks great but in yamb is there a way for me in merge the ac3 audio with the file?

lamer_de
15th December 2007, 13:26
No. mp4 doesn't support ac3 officially. AVC+Ac3 is only possible in mkv or a transport stream.