[MPlayer-users] Accurate a/v sync in mencoder

Nico Sabbi nsabbi at email.it
Wed Nov 8 09:40:06 CET 2006


T wrote:

>Hi, 
>
>What is the recommend way to have a (near) perfect a/v sync using mencoder?
>
>I'm follwing this guide 
>http://www.linux.com/article.pl?sid=06/04/17/2058219
>to convert my video to DVD format. I.e., 
>
> mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup \
> -srate 48000 -af lavcresample=48000 \
> -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:\
> acodec=ac3:abitrate=192 -ofps 25 -o your_video.mpg your_video
>  
>

-mpegopts format=dvd:tsaf and possibly -demuxer lavf; it makes a remarkable difference,
hopefully enough to make sync problems go away





More information about the MPlayer-users mailing list