[MPlayer-users] ANNOUNCE: VIDEO EQUALIZING

Nick Kurshev nickols_k at mail.ru
Mon Jan 28 10:00:01 CET 2002


Hello!

I've done first HW implementation of video equalizing for mplayer.
Please test it!
Any suggestion, bugreports, feedback are gladly accepted.

How it works:
1) HW equalizing currently supported by -vo xvidix and -vo xv drivers
2) SW equalizing is OLD stuff and works only with divxds codec.
Mplayer looks at HW capability and if HW is capable to perform SUBJ then it
pass to driver corresponded info.
Else it tries to use SW equalizing.

You can use it in two ways:
1) You can pass values of controls through command line as:
brightness, saturation, contrast, hue, red_intensity, green_intensity, blue_intensity
These values are changed in range from -1000 to +1000
2) You can use keyboard to change those values on the fly (works since 31 aug 2001):
'1','2' - contrast
'3','4' - brightness
'5','6' - hue
'7','8' - saturation

Unfortunately, currently you can't change RGB intensity through keyboard.
OTOH it supported only by vidix's radeon_vid and GATOS's radeon_video drivers
(I don't know other chips and drivers which support that)

Example:
mplayer -vo xv -brightness 700 -vc ffdivx  -red_intensity -50 filename.avi
                               ^^^^^^^^^^^
or:
mplayer -vo xvidix -contrast -213 -green_intensity 400 -hue -100 -vc ffmpeg12 filename.vob
                                                                 ^^^^^^^^^^^^

Known problems:
Currently there is only problem with NVidia users so-called "HUE problem"
It means that on nvidia chips hue is changed from 0 to XXX and default value for
that is 0 instead of XXX/2 as for any other control. I'll try to fix it soon.
Currently you should know that if HUE problem will appeared again with NVidia chips then
temporary workaround for them is:
mplayer -vo xv -hue -1000 ...


Best regards! Nick




More information about the MPlayer-users mailing list