[MPlayer-users] [BUG] when swsscaling to not full screen width the picture is skewed

Balatoni Denes pnis at coder.hu
Wed Oct 9 21:34:01 CEST 2002


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

Hi!
Unfortunatelly it doesn't matter in this case. Same happens with 318, for 
both my movies (divx avi, mpeg). When I looked at the source, it seemed to
me fbdev is doing the right think, but it gets an image from the filter that 
has padding bytes after every line, to make a line a fixed length (640 
bytes).  This is only imho, and pure speculation, I haven't fixed it of 
course ;)

best regards
Denes

2002. október  9. 21:07 dátummal Arpi ezekkel a bölcs gondolatokkal 
ajándékozott meg:
$$$ [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
$$$ Hi,
$$$
$$$ you should not scale YUV image sto odd width/height..
$$$ as U,V are for 2x2 pixel blocks
$$$
$$$ > [Automatic answer: RTFM (read DOCS, FAQ), also read
 DOCS/bugreports.html] $$$ > -----BEGIN PGP SIGNED MESSAGE-----
$$$ > Hash: SHA1
$$$ >
$$$ > 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 !"
$$$ > -----BEGIN PGP SIGNATURE-----
$$$ > Version: GnuPG v1.0.4 (GNU/Linux)
$$$ > Comment: For info see http://www.gnupg.org
$$$ >
$$$ > iD8DBQE9pHauaQToeq3jgogRArlqAJsGoQfvdqkLaByWKfp3GWK1GZtzUQCePAVZ
$$$ > 9fMchT3RNIMX8v94C6JWqQA=
$$$ > =vfvQ
$$$ > -----END PGP SIGNATURE-----
$$$ >
$$$ > _______________________________________________
$$$ > RTFM!!!  http://www.MPlayerHQ.hu/DOCS
$$$ > Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
$$$ > http://mplayerhq.hu/mailman/listinfo/mplayer-users
$$$ >
$$$ >
$$$
$$$
$$$ A'rpi / Astral & ESP-team
$$$
$$$ --
$$$ Developer of MPlayer, the Movie Player for Linux -
 http://www.MPlayerHQ.hu $$$
$$$ _______________________________________________
$$$ RTFM!!!  http://www.MPlayerHQ.hu/DOCS
$$$ Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
$$$ http://mplayerhq.hu/mailman/listinfo/mplayer-users
$$$
$$$
$$$

- -- 
"Use the source Luke !"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9pH2laQToeq3jgogRAghdAJ0akWZW8Vca4aYmjwfnRRQR4I/7dQCdGROY
q0XWi65h3Llth2Yvg4OY3T4=
=yaId
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list