[MPlayer-users] 3-passes encoding - A/V loss of synchronisation

Alain Barthélemy cassandre at bartydeux.be
Sun Oct 5 15:12:37 CEST 2003


Hello,

1) TV capture: no problem with sound and image

mencoder -tv
driver=v41:width=640:height=480:forceaudio:amode=0:adevice=/dev/audio
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:vhq -oac mp3lame -lameopts
br=128:mode=3 -vop lavcdeint tv:// -vf eq=10:5 -o file.avi -endpos
hour:min:sec

2) Then three-passes encoding to reduce size of .avi file:

a) mencoder file.avi -ovc frameno -o frameno.avi -oac copy
b) mencoder file.avi -ovc lavc -lavcopts
vcodec=mpeg4:vpass=1:vbitrate=710 -oac copy -o movie.avi
c) mencoder file.avi -ovc lavc -lavcopts
vcodec=mpeg4:vpass=2:vbitrate=710 -oac copy -o movie.avi

A/V are now unsynchronised (sound about -1 sec).

Is there something wrong or missing in the instructions? A way to
avoid it? -oac copy? 

-- 
Alain Barthélemy
cassandre at bartydeux.be
http://bartydeux.be
Linux User #315631



More information about the MPlayer-users mailing list