[MEncoder-users] avsync issue with mpeg output

Nico Sabbi nsabbi at tiscali.it
Mon Mar 7 20:50:13 CET 2005


Kyle Schmitt wrote:

>I can post what dvd author says also, if that will
>help.
>
>Thanks --Kyle
>------commandline------
>
>mencoder -oac lavc -ovc lavc -lavcopts
>acodec=mp2:abitrate=128:vcodec=mpeg2video:keyint=96:aspect=4/3:vbitrate=7500:mbd=2:threads=2
>-fps 24 -ofps 24  -of mpeg -mpegopts format=dvd -o
>tape2-episode-3.mpg tape2-episode3.avi -endpos 10
>  
>

First problem: dvds want audio sampled at 48 khz, so if you reader is picky
audio will desync very soon. Add -srate 48000 -af lavcresample=48000.
Advice: install libtoolame and use -oac toolame: it sounds much better.

If desync persists try to add -mc 0 -noskip or -vf harddup.
Second advice: at that bitrate you had better use a saner keyint value: 
18 for NTSC
or 15 for PAL

    Nico




More information about the MEncoder-users mailing list