Difference between revisions of "Documentation:Modules/adjust"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Source code: New section)
Line 41: Line 41:
 
== Example ==
 
== Example ==
 
  % '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi
 
  % '''vlc --video-filter "adjust{hue=120,gamma=2.}" somevideo.avi
 +
 +
== Source code ==
 +
* {{VLCSourceFile|modules/video_filter/adjust.c}}
  
 
{{Documentation footer}}
 
{{Documentation footer}}

Revision as of 03:08, 14 March 2019

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

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

  • contrast <float> : Contrast (0.0 - 2.0) default value: 1.0
  • brightness <float> : Brightness (0.0 - 2.0) default value: 1.0
  • hue <integer> : Hue (0 - 360) default value: 0
  • saturation <float> : Saturation (0.0 - 3.0) default value: 1.0
  • gamma <float> : Gamma (0.01 - 10.0) default value: 1.0
  • brightness-threshold : 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 GuideStreaming HowToHacker GuideModules)
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.