From 98ee8dd15976501157c894ec385c4c551c6614ad Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 15 Nov 2009 15:21:40 +0200 Subject: Add yuv_colorspace property, implemented in vo_vdpau and vo_xv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a property to select YUV colorspace. Currently implemented only in vo_vdpau and vo_xv. Allows switching between BT.601, BT.709 and SMPTE-240M (vdpau only). The xv support uses the "XV_ITURBT_709" attribute. At least my NVIDIA card supports that; I don't know whether other xv implementations do. Bind the colorspace switch to the 'c' key by default. 'c' is currently used by vo_sdl for some fullscreen mode change thing, but at the moment that does not conflict and if it will in the future then vo_sdl can change. VDPAU part based on a patch from Lauri Mylläri --- DOCS/man/en/mplayer.1 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 6c832c0217..b48f653892 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -282,8 +282,10 @@ Show filename on the OSD. Seek to the beginning of the previous/next chapter. .IPs "D (\-vo xvmc, \-vo vdpau, \-vf yadif, \-vf kerndeint only)" Activate/deactivate deinterlacer. -.IPs "A" +.IPs "A\ \ \ \ " Cycle through the available DVD angles. +.IPs "c (currently -vo vdpau and -vo xv only)" +Change YUV colorspace. .RE .PD 1 .PP @@ -3442,6 +3444,24 @@ Use nochroma\-deint to solely use luma and speed up advanced deinterlacing. Useful with slow video memory. .IPs pullup Try to apply inverse telecine, needs motion adaptive temporal deinterlacing. +.IPs colorspace +Select the color space for YUV to RGB conversion (default: 1, BT.601). +In general BT.601 should be used for standard definition (SD) content and +BT.709 for high definition (HD) content. +Using incorrect color space results in slightly under or over saturated and +shifted colors. +.RSss +.IPs 0 +Guess the color space based on video resolution. +Video with width >= 1280 or height > 576 is assumed to be HD and BT.709 color +space will be used. +.IPs 1 +Use ITU-R BT.601 color space (default). +.IPs 2 +Use ITU-R BT.709 color space. +.IPs 3 +Use SMPTE-240M color space. +.RE .IPs fps= Override autodetected display refresh rate value (the value is needed for framedrop to allow video playback rates higher than display refresh rate, and for vsync-aware frame timing adjustments). Default 0 means use autodetected value. -- cgit v1.2.3