[MEncoder-users] A/V offsync; muxing x264, ogg, srt

Loren Merritt lorenm at u.washington.edu
Mon Jul 24 18:29:07 CEST 2006


On Mon, 24 Jul 2006, Scott K Fones wrote:

> I'm trying to back up a dvd using mencoder and mkvmerge to mux a x264
> video, vorbis audio and a .srt subtitle.  The result is perfect at the
> beginning, but by the end the audio is 900ms late.
>
> I'm also a complete noob to this stuff.  I've been doing this for about
> a week now and everything I have is gleaned from mplayer's documentation
> (the subtitle stuff is from bunkus.org).  So, first I'll run down what I
> do.  Hopefully there's some obvious problem there, or just a better way
> to do things.
>
> My dvd is 24000/1001 fps throughout.
>
> mencoder <input> -mc 0 -noskip -vf
> pullup,softskip,crop=720:464:0:6,hqdn3d=2:1:2,harddup -ovc x264
> -x264encopts
> pass=1:turbo=1:bitrate=1500:subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b -nosound -ofps 24000/1001 -of rawvideo -o /dev/null
[...]

Remove the -noskip. If in fact there are any skipped frames without it, 
then -noskip will cause a/v desync. And if not, then it doesn't do 
anything.

--Loren Merritt



More information about the MEncoder-users mailing list