[MEncoder-users] Audio sync issues

Jan Knutar jknutar at nic.fi
Sat Feb 3 14:13:10 CET 2007


On Saturday 03 February 2007 00:03, Pierre Grimaud wrote:
> I am trying to encode mkv videos (H264/AC3) to XviD AVI, trying to

> If I specify "-oac mp3lame", everything works fine (a few duplicate
> frames at first and then everything settles down) but in the
> resulting video, the audio is out of sync. Anyways, I'd like to be
> able to keep the original soundtrack.
>
> Thanks for any help, much appreciated.

mencoder seems to have had some bugs with ogm and mkv for
quite some time... Try the following, it sort of works for me, but
seems to introduce a smal but constant delay between audio
and video:

mplayer -ao pcm -novideo file.mkv
mencoder -audiofile audiodump.wav file.mkv <rest of options here>



More information about the MEncoder-users mailing list