Difference between revisions of "Documentation:Modules/colorthres"

From VideoLAN Wiki
Jump to navigation Jump to search
(New page: {{Module|name=colorthres|type=Video filter|first_version=0.9.0|description=Turn the picture black and white except for some colors}} This filters turns most of the picture black and white...)
 
 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
This filters turns most of the picture black and white except for some colors. This could be called a "Schindler's List" effect.
 
This filters turns most of the picture black and white except for some colors. This could be called a "Schindler's List" effect.
  
 +
== Options ==
 
{{Option
 
{{Option
 
|name=colorthres-color
 
|name=colorthres-color
 
|value=integer
 
|value=integer
|default=0x00FF0000 (red)
+
|default=0xFF0000 (red)
|description=The color to keep in RGB.
+
|description=Colors similar to this will be kept, others will be grayscaled.
 
}}
 
}}
  
Line 24: Line 25:
 
}}
 
}}
  
Example use:
+
== Example ==
 
  % '''vlc --video-filter colorthres somevideo.avi'''
 
  % '''vlc --video-filter colorthres somevideo.avi'''
  
See also:
+
== See also ==
 
* [http://en.wikipedia.org/wiki/Image:Schindlers_list_red_dress.JPG Schindler's List, Red dress] on wikipedia
 
* [http://en.wikipedia.org/wiki/Image:Schindlers_list_red_dress.JPG Schindler's List, Red dress] on wikipedia
 +
 +
{{Documentation footer}}

Latest revision as of 02:57, 13 March 2019

Module: colorthres
Type Video filter
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description Turn the picture black and white except for some colors
Shortcut(s) -

This filters turns most of the picture black and white except for some colors. This could be called a "Schindler's List" effect.

Options

  • colorthres-color <integer> : Colors similar to this will be kept, others will be grayscaled. default value: 0xFF0000 (red)
  • colorthres-saturationthres <integer> : Saturation threshold default value: 20
  • colorthres-similaritythres <integer> : Similarity threshold default value: 15

Example

% vlc --video-filter colorthres somevideo.avi

See also

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.