Documentation:Modules/adjust: Difference between revisions
Jump to navigation
Jump to search
m →Source code: New section |
Update options (hue is now float from -180 to 180), update format, update description |
||
| Line 1: | Line 1: | ||
{{Module|name=adjust|type=Video filter|first_version=0.9.0|description= | {{Module|name=adjust|type=Video filter|first_version=0.9.0|description=Image properties filter}} | ||
'''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. | ||
| Line 7: | Line 7: | ||
|value=float | |value=float | ||
|default=1.0 | |default=1.0 | ||
| | |min=0.0 | ||
|max=2.0 | |||
|description=Contrast | |||
}} | }} | ||
{{Option | {{Option | ||
| Line 13: | Line 15: | ||
|value=float | |value=float | ||
|default=1.0 | |default=1.0 | ||
| | |min=0.0 | ||
|max=2.0 | |||
|description=Brightness | |||
}} | }} | ||
{{Option | {{Option | ||
|name=hue | |name=hue | ||
|value= | |value=float | ||
|default=0 | |default=0 | ||
|description=Hue | |min=-180 | ||
|max=180 | |||
|description=Hue | |||
}} | }} | ||
{{Option | {{Option | ||
| Line 25: | Line 31: | ||
|value=float | |value=float | ||
|default=1.0 | |default=1.0 | ||
| | |min=0.0 | ||
|max=3.0 | |||
|description=Saturation | |||
}} | }} | ||
{{Option | {{Option | ||
| Line 31: | Line 39: | ||
|value=float | |value=float | ||
|default=1.0 | |default=1.0 | ||
| | |min=0.01 | ||
|max=10.0 | |||
|description=Gamma | |||
}} | }} | ||
{{Option | {{Option | ||
|name=brightness-threshold | |name=brightness-threshold | ||
|value=boolean | |||
|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 | ||
| Line 40: | Line 51: | ||
== Example == | == Example == | ||
% '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi | {{%}} '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi | ||
== Source code == | == Source code == | ||
Revision as of 08:30, 22 March 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.
- 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
Example
% 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
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.