[MPlayer-users] Audio sync problem with mencoder and ogmmerge

Sycotic Smith sycotic at linuxmail.org
Thu Dec 5 20:34:02 CET 2002


> cat *.vob | mencoder - -ovc frameno -oac pcm -o frameno.avi
> cat *.vob | mplayer - -vc dummy -vo null -hardframedrop -ao pcm -aofile
> audio.wav
> normalize audio.wav
> oggenc -q 1 audio.wav -o audio.ogg
> cat *.vob | nice mencoder - -oac copy -vop
> scale=640:-2,crop=708:362:6:56,pp=lb -ovc lavc -o Film.avi -lavcopts
> vcodec=mpeg4:vhq:v4mv:vqmin=2:vqmax=30:vbitrate=1400:vpass=1
> cat *.vob | nice mencoder - -oac copy -vop
> scale=640:-2,crop=708:362:6:56,pp=lb -ovc lavc -o Film.avi -lavcopts
> vcodec=mpeg4:vhq:v4mv:vqmin=2:vqmax=30:vbitrate=1400:vpass=2
> ogmmerge -o Film.ogm -A Film.avi audio.ogg
> 
> When I play back the resulting ogm with mplayer, the audio 
> quickly begins to lag the video.  It appears that the video
> is playing at 30 fps and the audio is playing at 24 fps.

Have you tried using -ofps with mencoder to make sure the proper framerate is used for the resulting file?  Just MHO, it _should_ fix, it did for me several times with bad encodes...

/S. Smith
-- 
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze




More information about the MPlayer-users mailing list