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

Rich Felker dalias at aerifal.cx
Mon Jul 11 04:28:59 CEST 2005


On Sat, Jul 09, 2005 at 01:23:52PM -0500, Christopher J. Bottaro wrote:
> 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
                      ^^^^^
was that supposed to be 24000?

> Any hints or ideas?  Thanks.

i don't see anything wrong with your commands..
do you have a frameno.avi lying around?

rich




More information about the MPlayer-users mailing list