[Mplayer-advusers] pre-bugreport

Michael Niedermayer michaelni at gmx.at
Mon Mar 15 18:49:48 CET 2004


Hi

On Monday 15 March 2004 14:51, Arpi wrote:
> Hi,
>
> I'm watching (non-4:3) videos on TV connected to g400's 2nd head using:
>
> mplayer -vo fbdev -fb /dev/fb1 -vop expand=720:576:0:32:1,scale=720:-2
> cd1.avi
>
> (fb1 is set to 720:576, 32bpp)
>
> sometimes, the bottom line of the video is somewhat reverted, when it
> shows blue things, i see red, and vice versa. looks like the last line
> is byte-swapped. it doesnt seem to depend on the original (unscaled) video
> size of aspect ratio.
>
> i've tried to reproduce with -vo x11 and -vo png, no success.
> maybe because vo_x11 has swscaler built-in, and vo_png uses 24bpp and
> reverse byteorder.
>
> if you cannot reproduce, i'll investigate further...
its known problem, the last line is converted with the c converter while the 
rest is done in mmx, alex changed the rgb<->bgr behavior of the c code 
sometime ago, and after some complaints by me, alex summarized how rgb and 
bgr should be defined, and IMHO the definition is good its just not what most 
of the code in mplayer currently uses, so IIRC the mmx code matches your 
definition of rgb/bgr while the c code matches alexs :)

[...]
-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-advusers mailing list