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

Charles Henrich henrich at sigbus.com
Tue May 21 19:05:37 CEST 2002


Im trying to scale an input movie with the y dimension auto calculated.  This
sorta works if the -vo is x11 or sdl.

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 correct)
mplayer test.mov -vop scale=700:0 

    it scales the X value and leaves Y unchanged (as does -1).

mplayer test.mov -xy 700
    
    works properly

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

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

-Crh

       Charles Henrich                                   henrich at msu.edu

                       http://www.sigbus.com:81/~henrich



More information about the MPlayer-dev-eng mailing list