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

Markus markus at wearethem.com
Mon Jun 5 13:38:35 CEST 2006


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. 

 Any help sync'ing the audio would be greatly appreciated.


Thank you again for the advice!

Markus


Michael Holland wrote:

> Jan Knutar wrote:
>
>> On Monday 05 June 2006 05:03, Markus wrote:
>>
>>>  mencoder dvd://1 -aid 128 -ovc lavc -lavcopts 
>>> vcodec=mpeg4:vhq:vbitrate=1200:vpass=1 -vop scale -zoom -xy 800  
>>> -oac mp3lame -lameopts abr:br=128  -o Dogville.avi
>>
>
> 800 pixels is too big for the hardware decoder chips.
> You need to keep it to 720 x 576 pixels max.
> Some cheap players ignore the aspect ratio, and assume square pixels,
> so you need to scale down vertically. e.g. 720 x 405 lines for 16:9.
> See the autoaspect option.  It it doesn't work, "-vf scale=:-2" will 
> help.
>
>>
>> Try add -ffourcc DIVX
>
>
> Yeah, that too.
> Why was the default changed for this? It breaks a lot of (most?) 
> standalone players.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/cgi-bin/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list