Log in

View Full Version : muxing / audio sync issues


beefcake
10th February 2007, 09:30
I use MeGUI to encode a video stream from an avi container into x264 RAWAVC (so I can later on put it in an avi or mkv container). For audio extraction I use VirtualDub.

Afterwards I encode the audio with MeGUI.

Muxing with mkvmerge goes wrong. Adding the x264 RAWAVC and the audio (no matter what format I use), the muxed file just gives me a black screen. Searching through the file seems to be a problem, audio does work :S.

When I use AVC2AVI to put the RAWAVC stream into an avi container and mux the audio with VDM the audio seems to be out of sync.

How can I solve these problems?

Skelsgard
11th February 2007, 02:46
Try exporting directly to MP4 then mux to MKV, or even exporting directly to MKV.

Cheers.

beefcake
11th February 2007, 08:58
I know that method works, but sometimes I need video/audio streams to be in an avi container for edting programs that can't open mkv's. But then the audio desync problems occur.

And there must be a way to mux RAWAVC correctly with an audio sream, why else would the format exist? I just can't seem to find the correct methods.

Skelsgard
11th February 2007, 09:16
How much desync you get with the AVC2AVI method?

Cheers

bond
18th February 2007, 13:27
mkvmerge doesnt allow raw avc streams as input. and feeding mkvmerge with avc in avi will not produce a correct native mkv file

therefore you need to extract every avc stream to raw (eg from avi), mux the raw stream to mp4 and remux that mp4 to mkv

there is no other way

beefcake
18th February 2007, 21:47
But for what is the RAWAVC format used then? If mkvmerge can't even work with it...

bond
18th February 2007, 21:57
But for what is the RAWAVC format used then? If mkvmerge can't even work with it...you know mkvmerge is not the only video tool out there...