[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Video playback using xv driver



Le vendredi 28 mars 2008, Simon Vos a écrit :
> Hi,
>
> Today I tried to playback a video on my pc using totem, but the colors
> were wrong. The faces of the people in the video were blue-ish. This
> problem occurs with totem, but also with vlc and mplayer, so I thought
> maybe its the outpu that is wrong, so I tried x11 instead of xv in
> mplayer and vlc and this worked. Does anyone have the same problem with
> their nvidia graphics card using the "nvidia" xorg driver?

Same problem here.
The reason seems to be that recent nvidia drivers supports the XV_HUE 
parameter in the range 0-360 and the players set it to what they think is a 
good default value : 180, although the correct value is 0. One of the driver 
of the player is wrong, but I didn't take the time to investigate which one 
is.

Start a video and run the following command to correct the hue :
$ xvattr -a XV_HUE -v 0

Unfortunately, you'll need to run it each time you start a video.

Another workaround is selecting Opengl as output format, e.g. 
with "mplayer -vo gl ..."
Its big advantage over x11 rendering is that you'll still be able to resize to 
fullscreen using hardware acceleration.

Hope this helps.

-- 
Amand Tihon
Rue du Ruchaux, 1 - 1490 Court-St-Etienne, Belgique
+32 479 207 743

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: