[FFmpeg-cvslog] doc: fix selectivecolor filter position

Clément Bœsch git at videolan.org
Sat Dec 12 14:02:27 CET 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Dec 12 14:00:10 2015 +0100| [09a8b6691c771764f2fe2dc35323ad65c17a215d] | committer: Clément Bœsch

doc: fix selectivecolor filter position

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=09a8b6691c771764f2fe2dc35323ad65c17a215d
---

 doc/filters.texi |  134 +++++++++++++++++++++++++++---------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 274532d..2aebd8e 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10076,6 +10076,73 @@ Scale a subtitle stream to match the main video in size before overlaying
 @end example
 @end itemize
 
+ at section selectivecolor
+
+Adjust cyan, magenta, yellow and black (CMYK) to certain ranges of colors (such
+as "reds", "yellows", "greens", "cyans", ...). The adjustment range is defined
+by the "purity" of the color (that is, how saturated it already is).
+
+This filter is similar to the Adobe Photoshop Selective Color tool.
+
+The filter accepts the following options:
+
+ at table @option
+ at item correction_method
+Select color correction method.
+
+Available values are:
+ at table @samp
+ at item absolute
+Specified adjustments are applied "as-is" (added/subtracted to original pixel
+component value).
+ at item relative
+Specified adjustments are relative to the original component value.
+ at end table
+Default is @code{absolute}.
+ at item reds
+Adjustments for red pixels (pixels where the red component is the maximum)
+ at item yellows
+Adjustments for yellow pixels (pixels where the blue component is the minimum)
+ at item greens
+Adjustments for green pixels (pixels where the green component is the maximum)
+ at item cyans
+Adjustments for cyan pixels (pixels where the red component is the minimum)
+ at item blues
+Adjustments for blue pixels (pixels where the blue component is the maximum)
+ at item magentas
+Adjustments for magenta pixels (pixels where the green component is the minimum)
+ at item whites
+Adjustments for white pixels (pixels where all components are greater than 128)
+ at item neutrals
+Adjustments for all pixels except pure black and pure white
+ at item blacks
+Adjustments for black pixels (pixels where all components are lesser than 128)
+ at item psfile
+Specify a Photoshop selective color file (@code{.asv}) to import the settings from.
+ at end table
+
+All the adjustment settings (@option{reds}, @option{yellows}, ...) accept up to
+4 space separated floating point adjustment values in the [-1,1] range,
+respectively to adjust the amount of cyan, magenta, yellow and black for the
+pixels of its range.
+
+ at subsection Examples
+
+ at itemize
+ at item
+Increase cyan by 50% and reduce yellow by 33% in every green areas, and
+increase magenta by 27% in blue areas:
+ at example
+selectivecolor=greens=.5 0 -.33 0:blues=0 .27
+ at end example
+
+ at item
+Use a Photoshop selective color preset:
+ at example
+selectivecolor=psfile=MySelectiveColorPresets/Misty.asv
+ at end example
+ at end itemize
+
 @section separatefields
 
 The @code{separatefields} takes a frame-based video input and splits
@@ -13627,73 +13694,6 @@ ffmpeg -copyts -vsync 0 -segment_time_metadata 1 -i input.ffconcat -vf select=co
 @end example
 @end itemize
 
- at section selectivecolor
-
-Adjust cyan, magenta, yellow and black (CMYK) to certain ranges of colors (such
-as "reds", "yellows", "greens", "cyans", ...). The adjustment range is defined
-by the "purity" of the color (that is, how saturated it already is).
-
-This filter is similar to the Adobe Photoshop Selective Color tool.
-
-The filter accepts the following options:
-
- at table @option
- at item correction_method
-Select color correction method.
-
-Available values are:
- at table @samp
- at item absolute
-Specified adjustments are applied "as-is" (added/subtracted to original pixel
-component value).
- at item relative
-Specified adjustments are relative to the original component value.
- at end table
-Default is @code{absolute}.
- at item reds
-Adjustments for red pixels (pixels where the red component is the maximum)
- at item yellows
-Adjustments for yellow pixels (pixels where the blue component is the minimum)
- at item greens
-Adjustments for green pixels (pixels where the green component is the maximum)
- at item cyans
-Adjustments for cyan pixels (pixels where the red component is the minimum)
- at item blues
-Adjustments for blue pixels (pixels where the blue component is the maximum)
- at item magentas
-Adjustments for magenta pixels (pixels where the green component is the minimum)
- at item whites
-Adjustments for white pixels (pixels where all components are greater than 128)
- at item neutrals
-Adjustments for all pixels except pure black and pure white
- at item blacks
-Adjustments for black pixels (pixels where all components are lesser than 128)
- at item psfile
-Specify a Photoshop selective color file (@code{.asv}) to import the settings from.
- at end table
-
-All the adjustment settings (@option{reds}, @option{yellows}, ...) accept up to
-4 space separated floating point adjustment values in the [-1,1] range,
-respectively to adjust the amount of cyan, magenta, yellow and black for the
-pixels of its range.
-
- at subsection Examples
-
- at itemize
- at item
-Increase cyan by 50% and reduce yellow by 33% in every green areas, and
-increase magenta by 27% in blue areas:
- at example
-selectivecolor=greens=.5 0 -.33 0:blues=0 .27
- at end example
-
- at item
-Use a Photoshop selective color preset:
- at example
-selectivecolor=psfile=MySelectiveColorPresets/Misty.asv
- at end example
- at end itemize
-
 @section sendcmd, asendcmd
 
 Send commands to filters in the filtergraph.



More information about the ffmpeg-cvslog mailing list