Documentation:Modules/adjust: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
Update options (hue is now float from -180 to 180), update format, update description
m Prepare for transclusion, sections
 
Line 3: Line 3:
'''Note:''' Before version 0.9.0, this used to be a vout filter.
'''Note:''' Before version 0.9.0, this used to be a vout filter.


{{Option
== Options ==
<onlyinclude>{{Option
|name=contrast
|name=contrast
|value=float
|value=float
Line 48: Line 49:
|default=disabled
|default=disabled
|description=When this mode is enabled, pixels will be shown as black or white. Also may invert the brightness value. The threshold value will be the brightness defined below
|description=When this mode is enabled, pixels will be shown as black or white. Also may invert the brightness value. The threshold value will be the brightness defined below
}}
}}</onlyinclude>


== Example ==
== Examples ==
  {{%}} '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi
  {{%}} '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi



Latest revision as of 06:29, 4 April 2019

Module: adjust
Type Video filter
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description Image properties filter
Shortcut(s) -

Note: Before version 0.9.0, this used to be a vout filter.

Options

  • contrast <float [0.0 .. 2.0]> : Contrast default value: 1.0
  • brightness <float [0.0 .. 2.0]> : Brightness default value: 1.0
  • hue <float [-180 .. 180]> : Hue default value: 0
  • saturation <float [0.0 .. 3.0]> : Saturation default value: 1.0
  • gamma <float [0.01 .. 10.0]> : Gamma default value: 1.0
  • brightness-threshold <boolean> : When this mode is enabled, pixels will be shown as black or white. Also may invert the brightness value. The threshold value will be the brightness defined below default value: disabled

Examples

% vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi

Source code

This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.