[MEncoder-users] Mencoded divx won't play on standalone player

Corey Hickey bugfood-ml at fatooh.org
Mon Jun 5 19:16:04 CEST 2006

Markus wrote:
> First off - thank you for the help!
> Yes - setting -ffourcc to DIVX (and then XVID) and changing my -xy 
> setting got me a picture on the screen, but not there is a new problem. 
> The audio is out of sync(lags behind the video by about a second).
> Here's the command line that so far has gotten the best results:
> /usr/local/bin/mencoder dvd://1 -of avi -aid 128 -aspect 16:9  -ovc lavc 
> -lavcopts vcodec=mpeg4:vhq:vbitrate=1200 -vop scale -zoom -xy 640 -oac 
> mp3lame -lameopts br=128:vol=9 -ss 16:20 -endpos 0:45 -ffourcc XVID -o 
> Dog37.avi
> I'm getting a ton of duplicate frames throughout the whole encoding:
> Pos:  44.7s   1077f ( 9%)  29fps Trem:   6min  66mb  A-V:0.016 [989:158]
> 1 duplicate frame(s)!
> Pos:  44.9s   1081f ( 9%)  29fps Trem:   6min  66mb  A-V:0.020 [990:158]
> 1 duplicate frame(s)!
> And my googling would suggest that this may be the cause of the audio 
> problem. No idea what to do about it though - I get the dup. frames no 
> matter what I do.

What have you tried? Is your DVD NTSC? Have you read this section of the 

Offhand, I would suggest you try adding '-ofps 24000/1001', but there 
are other factors that could affect how well that works. Check that 
documentation section for the particulars.

Also, please don't top-post:


More information about the MEncoder-users mailing list