View Full Version : x264 demuxing (raw?)
beefcake
3rd February 2007, 16:29
I have an mkv file with a x264 video stream and a NDAAC audio stream. I'm aware that x264 raw streams can be put in an avi container by avc2avi. So my question is: how do you extract the x264 video stream (in raw form) from the mkv file? Btw, the method Avalon used doesn't work in my case, it says because I used B-frames in the encoding process.
check
3rd February 2007, 17:24
be aware you will get audio desync when you mux to avi.
use mkvextract. It's part of the mkvmerge package, and you can get seperate GUIs for use with it.
beefcake
3rd February 2007, 17:48
I already tried mkvmerge GUI, but when I use AVC2AVI on the video that is extracted the avi doesn't work. Guess it's not a RAW x264 video stream. Or is there another program that puts x264 non-RAW (with B-frames) into an avi container?
And how come I would get desync with the audio? I first demux the streams, encode the NDAAC audio to a different format (LAME MP3 for instance) and then mux them in an avi container. Where in these steps would the cause of the desync be then?
check
3rd February 2007, 18:27
the stream you get out of mkvextract is raw. More likely avc2avi is not working because of incomplete functionality. One caveat, if the h264 was muxed in as a vfw stream though the output from mkvextract will be an avi stream, at least, I think it will...
The desync will occur because of a technical limitation of the avi container. The video will be displayed a number of frames late (dependant on some b frame related options) because of the way avi stores video streams.
foxyshadis
3rd February 2007, 21:47
Also timecodes. You can try haali's mkv2vfr utility.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.