[MPlayer-users] Re: introducing DVD-to-DivX approach that fixes A/V sync problems

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Sat Jul 9 20:23:52 CEST 2005


Rich Felker wrote:

>> Is there any trick that can be used to avoid a/v sync problems
>> with vbr audio using mencoder (mencoder or lame options)?
> 
> Yes, several.
<snip>
> 2. Dump the audio with mplayer -ao pcm and encode it with external
>    lame. Then run mencoder with -audiofile lame_output.mp3 -oac copy.
<snip>

I tried that and the A/V gradually desyncs over time on my portable media
device.  These are the commands I used:

mplayer dvd://1 -chapter 1-2 -vo null -ao pcm

lame -b 96 --resample 44.1 audiodump.wav audiodump.mp3

mencoder dvd://1 -chapter 1-2 -o test.avi -ovc xvid -xvidencopts
bitrate=196:max_bframes=0 -audiofile audiodump.mp3 -oac copy -vf
scale=160:128 -ofps 14000/1001

Any hints or ideas?  Thanks.




More information about the MPlayer-users mailing list