[MPlayer-dev-eng] aspect scaling w/ -vo jpeg fails

Arpi arpi at thot.banki.hu
Tue May 21 19:42:25 CEST 2002


Hi,

> The documentation on -vop scale appears incorrect:
> 
>                w,h     destination width/height
>                        value   : w/h = value
>                        -1      : w/h = original (default)
>                        0       : w/h = scaled (aspect) w/h
>                        -value  : w/h = original+value
> 
> Command & Result
> 
> mplayer test.mov -vop scale=700,0 (man page unclear on which format is corre
> ct)
this is bad

> mplayer test.mov -vop scale=700:0 
correct

>     it scales the X value and leaves Y unchanged (as does -1).
-1 is unchanged original size, 0 means prescaled (aspect corrected by
option -aspect or aspect ratio set in file headers (mov,mpeg2))

> mplayer test.mov -xy 700
>     
>     works properly
yes

> mplayer test.mov -vo jpeg -zoom -xy 700
> mplayer test.mov -vo jpeg -xy 700
> mplayer test.mov -vo jpeg -x 700
> 
>     No scaling performed on jpegs

you missed -zoom
option -zoom is required to force software scaling
without -zoom the -x -y -xy are just hints to the output filters/drivers
(and it's mentioned in the manpage)

> The only way in which scaling occurs is if -vop scale is used with both widt
> h
> and height being given.  

no
just rtfm :)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list