[MPlayer-dev-eng] Re: [MPlayer-users] [BUG-FIX] when swsscaling to not full screen width the picture is skewed

Balatoni Denes pnis at coder.hu
Wed Oct 9 22:28:54 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

So scaling actually works perfect to any width where width mod 16 =0.
In vf_scale.c put_image() it asks for vf_get_image but it asks for
aligning too, so width will be changed, aligned to 16 byte boundaries - but
none of the vo_* no about the change.

So if I use scale=272:0 all is good!

Would you like a patch for this perhaps? An awfull disgusting messy hack ?:)

best regards
Denes

$$$ $$$ >
$$$ $$$ > Hi!
$$$ $$$ >
$$$ $$$ > The commandline I use:
$$$ $$$ > mplayer -framedrop -xy 319 -vop scale=319:0 -sws 0
 dancemonkeyboy.mpg $$$ $$$ >
$$$ $$$ > This is on a sharp zaurus (strongarm, 320x240 16bit framebuffer).
$$$ $$$ >
$$$ $$$ > The picture is skewed, that is, the first line of the picture
 starts at $$$  (0,0) $$$ > second at (1,1), third at (2,2) etc.
$$$ $$$ >
$$$ $$$ > If I use -xy 320 -vop scale=320:0 the picture is fine.
$$$ $$$ > If I use less than 319 the picture is proportionally more skewed.
$$$ $$$ >
$$$ $$$ > I am crosscompiling to arm-linux with gcc 2.95.2 19991024
$$$ $$$ >
$$$ $$$ > It happens with 10  minutes old cvs ffmpeg+mplayer.
$$$ $$$ >
$$$ $$$ > Is there perhaps anybody working on this bug ? If yes, I might
$$$ $$$ > just stop looking at the source myself :) (is there perhaps a book
$$$ $$$ > like "MPlayer unleashed" or "Hacking MPlayer in 24 hours" ?? :])
$$$ $$$ >
$$$ $$$ > Otherwise mplayer really kicks ass, it is faster than any other
$$$  movieplayer $$$ > on the zaurus, consumes little ram and can play
 anything $$$  (only tried divx and $$$ > mpeg pes though)! Thanks for this
 fine player! $$$ $$$ >
$$$ $$$ > best regards
$$$ $$$ > Denes
$$$ $$$ >
$$$ $$$ >
$$$ $$$ > - --
$$$ $$$ > "Use the source Luke !"
$
- -- 
"Use the source Luke !"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9pJGGaQToeq3jgogRAhMbAJ0RIzQ6n9+58E7l3Fs8DQVQAD7tNwCfd5iX
u39ATHldyYt4h37PB25U5Bk=
=Sxf0
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list