[MPlayer-users] mencoder videos completely out of sync...

Alexander Roalter alex at roalter.it
Sun Apr 1 22:00:04 CEST 2007


For some of my videos I set up a quasi uniform 2-pass encoding process, 
which is (taken partly from the Mencoder Doc):


mencoder "$1" -o "$2" -oac lavc -lavcopts abitrate=128 -ovc x264 
-x264encopts 
bitrate=512:subq=4:bframes=3:b_pyramid:weight_b:pass=1:turbo=1:threads=4 
-vf scale=384:288,dsize=384:288 -srate 44100 -ofps 24

mencoder "$1" -o "$2" -oac lavc -lavcopts abitrate=128 -ovc x264 
-x264encopts 
bitrate=512:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b:pass=2:threads=4 
-vf scale=384:288,dsize=384:288 -srate 44100 -ofps 24

in the 4:3 case, in the 16:9 case I use a different dsize (512:288).

Now don't ask why I set fps to 24 and srate to 44100, but that's the way 
it should be for this purpose.

Now everything worked fine until recently, when I added all the 
mumbo-jumbo after bitrate=512: (except for pass=x...),
there's no audio sync anymore, and skipping in the video does also not 
work, audio restarts always at the beginning ???

As the added options are video only, they should not be the problem.

Now, one question is: why does the audio counter go that fast on the video?

VO: [xv] 384x288 => 384x288 Planar YV12
A:1692.3 V:   4.5 A-V:1687.805 ct:  0.450 109/109  4%  0%  0.5% 0 0 

Exiting... (Quit)


Mplayer is
MPlayer dev-SVN-r22545-4.0.2 (C) 2000-2007 MPlayer Team, as is mencoder.

any suggestions?



More information about the MPlayer-users mailing list