Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-21-09, 05:33 PM   #1
davelaser
Registered User
 
Join Date: Oct 2008
Posts: 86
Default VDPAU/Xvideo overlay colour

Can you change the overlay colour used for vdpau or xv?

It is a horrible luminesent green at the moment, on windows it's a very dark grey/black colour that looks much nicer.

It's very obvious when moving windows around/resizing.

Sam
davelaser is offline   Reply With Quote
Old 03-21-09, 11:28 PM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: VDPAU/Xvideo overlay colour

At least for VDPAU, It's trivial for an application to change this to arbitrary RGB values.
Stephen Warren is offline   Reply With Quote
Old 03-22-09, 06:14 AM   #3
davelaser
Registered User
 
Join Date: Oct 2008
Posts: 86
Default Re: VDPAU/Xvideo overlay colour

Quote:
Originally Posted by Stephen Warren View Post
At least for VDPAU, It's trivial for an application to change this to arbitrary RGB values.
I couldn't find an option in the mplayer manual to change this, does it have this functionality or will I need to go digging around in the source code?

Also, is it possible to force the overlay on even when compositing is enabled?

Sam
davelaser is offline   Reply With Quote
Old 03-23-09, 11:31 AM   #4
davelaser
Registered User
 
Join Date: Oct 2008
Posts: 86
Default Re: VDPAU/Xvideo overlay colour

This is interesting...

Mplayer devs say that geforce 8 hardware and up doesn't even have overlay hardware in it, and xvinfo only returns a texture video adapter, no overlay at all. They don't know of any way of setting the color key other than specifying it as an xv attribute which clearly won't help seeing as the texture adapter doesn't even have a color key attribute.

Why does my vdpau video behave exactly as if it were using an overlay even though there isn't even any overlay hardware available on this card...?

Sam
davelaser is offline   Reply With Quote
Old 03-23-09, 01:04 PM   #5
hl_
Registered User
 
Join Date: Feb 2009
Posts: 138
Default Re: VDPAU/Xvideo overlay colour

Because there is in fact overlay hardware available, but it's only used for VDPAU and when Composite is disabled.

The color key needs to be set by the application utilizing VDPAU, e.g. MPlayer/Xine/MythTV/etc.
hl_ is offline   Reply With Quote
Old 03-23-09, 02:01 PM   #6
davelaser
Registered User
 
Join Date: Oct 2008
Posts: 86
Default Re: VDPAU/Xvideo overlay colour

Quote:
Originally Posted by hl_ View Post
Because there is in fact overlay hardware available, but it's only used for VDPAU and when Composite is disabled.

The color key needs to be set by the application utilizing VDPAU, e.g. MPlayer/Xine/MythTV/etc.
Do you know this for a fact? From what I could gather on the mplayer irc, the devs don't know anything about color keying for VDPAU.

Sam
davelaser is offline   Reply With Quote
Old 03-23-09, 05:14 PM   #7
hl_
Registered User
 
Join Date: Feb 2009
Posts: 138
Default Re: VDPAU/Xvideo overlay colour

See ftp://download.nvidia.com/XFree86/Li....html#id333296
hl_ is offline   Reply With Quote
Old 03-23-09, 06:37 PM   #8
davelaser
Registered User
 
Join Date: Oct 2008
Posts: 86
Default Re: VDPAU/Xvideo overlay colour

So the VDP_VIDEO_MIXER_FEATURE_LUMA_KEY feature sets the overlay colour?

Sam
davelaser is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird colour effects Stefan.W NVIDIA Linux 3 11-24-02 03:56 PM
Overlay Freeze on video mirroring PeQuE NVIDIA Windows Graphics Drivers 1 09-06-02 05:26 AM

All times are GMT -5. The time now is 11:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.