[MPlayer-dev-eng] Blue background

Ivan Kalvachev ivan at cacad.com
Sun May 8 11:41:54 CEST 2005


Alexander Strasser said:
> Hi,
>
> Rich Felker wrote:
>> On Sun, May 08, 2005 at 05:59:12PM +1200, keithcsl wrote:
>> > We are using the -wid option, which embeds mplayer in an application.
>> >
>> > We noticed that just before the video clip is played, the screen
>> > flickers a blue screen (very short, in milliseconds).
>> >
>> > We would like to change the default color to black.
>> >
>> > Can someone point us to the direction in the codebase? We have searched
>> > for this option in the mplayer manual, but there is seems to be no
>> > options to change that color.
>>
>> Look for -colorkey
>
>   If you are using vo xv which could be the case as blue isn't
> MPlayers internal default for colorkey you must tell vo xv to
> use and set mplayers default colorkey.
>
> This options would set it to black for example:
> -colorkey  -vo xv:ck=set
>
> To the other developers:
>   I am currently thinking about making vo xv by default use
> the mplayer internal colorkey for more consistent behaviour.
> But at least in the past, it always used the key set in Xv.
> IOW comments are welcome.
>
>   Alex (beastd)
>

I don't recomend using pure black, as it is already used in many GUI elements,
and they will become transparent when placed over the overlay. Any dark color
could do the trick.

The this blue is chosen because like in the real "Blue Room" effect it is not
widely used.

Anyway, beastd I think that probably drawing the key after PutImage, would be
less visible (this also involve ugly variables like one in xvmc)

Ivan Kalvachev





More information about the MPlayer-dev-eng mailing list