[MPlayer-users] Aspect ratio.

José Gabriel Moya Yangüela josemoya at gmail.com
Wed Dec 27 12:03:25 CET 2006


Hi!
I have a trouble with aspect ratio in mplayer. Diving into list archives,
I've seen this problem was reported with mplayer 1.0pre-8

http://article.gmane.org/gmane.comp.video.mplayer.user/45376/match=aspect
but my copy of mplayer displays the version as CVS date only (MEncoder
dev-CVS-050928-16:38-3.4.2), so I can't check it.

The problem is: I have a (theoretically) 4:3 (really 5:6, 480x576) b/w
picture captured from DVB. When compressing it with mencoder in a two-pass I
get a 3:4 aspect instead of 4:3. Even when adding -aspect 4:3 I get a 3:4
aspect ratio.
The command line I use to get this wrong output is:

mencoder %FILE% -ovc lavc -lavcopts vcodec=mpeg4%EXTRAOPTS%:vpass=1 -oac
mp3lame -lameopts vbr=3 >NUL
mencoder %FILE% -ovc lavc -lavcopts
vbitrate=2000:vcodec=mpeg4:mbd=2:trell:gray:vpass=2 -oac mp3lame -lameopts
vbr=3 -o %OUTPUT%

All media players (excluding mplayer) render the movie as 3:4  though they
report its size as 480 x 576.and aspect ratio as 5:6, even when I try to
restart the encoding with --aspect 4:3 or when I try this:

mencoder %OUTPUT% --force-avi-aspect 4:3 -oac copy -ovc copy -o %OUTPUT2%

I'm going to download newest mplayer, but the question is: why mencoder does
change aspect ratio, even when a *real* aspect ratio is specified?

Yours truly,
José.



More information about the MPlayer-users mailing list