[MPlayer-dev-eng] [PATCH] yuv support for vo_gl

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Sat Sep 10 22:00:21 CEST 2005


Hi Reimar D?ffinger!

 On 2005.09.09 at 18:52:59 +0200, Reimar D?ffinger wrote next:

> Another update, compressed due to the size.
> Against very latest CVS, so better do cvs update before applying.
> Supports gamma with -vo gl:yuv=3, though there are not keyboard
> shortcuts for it. To create some edit ~/.mplayer/input.c and add e.g.
> k gamma 1
> h gamma -1

Colors in gl:yuv=2 are fixed now, however green border remains.
Colors in gl:yuv=3 are OK for the most part of the video, however some
things come out really distorted (some light brown colors become cyan
(80,fc,bf), kind of blue (80.80,c6), or pink (f5,93,ae)). The effect
changes when changing brightness and contrast, and stays the same when
changing gamma and saturation. Also it almost disappears when brightness
is low.

I can send you a screenshot if you like (120k png), showing green border
and this bug.

> I'm also interested in (more) speed comparision, especially against -vo
> gl -dr, which is faster for me than -vo gl:yuv=...

Not from me, sorry, gl -dr never worked for me.

> Also, no need to specify manyfmts, since that is the default for CVS
> versions.

Yes, I just wrote it to show how it compares to fastest -vo gl mode yet.
I read that -dr should be faster, but it only prints message

[gl] could not aquire buffer for dr
Expect a _major_ speed penalty

and works the same as with -nodr.

-- 

Vladimir




More information about the MPlayer-dev-eng mailing list