diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-01-13 21:02:52 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-05-11 21:16:45 +0300 |
commit | 59fb8cae5eec6f1d1530a8747eb2baff4e4a3000 (patch) | |
tree | eb9383591ff52f9a0e210d2f501026d5aad2d279 /doc/filters.texi | |
parent | c81ec19817efa4bfedbcab058fa4422f6a92cfa2 (diff) |
avfilter: add colorhold filter
Fixes #7671.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 7b935903f8..5bd2376e67 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -6723,6 +6723,24 @@ ffmpeg -i background.png -i video.mp4 -filter_complex "[1:v]colorkey=0x3BBD1E:0. @end example @end itemize +@section colorhold +Remove all color information for all RGB colors except for certain one. + +The filter accepts the following options: + +@table @option +@item color +The color which will not be replaced with neutral gray. + +@item similarity +Similarity percentage with the above color. +0.01 matches only the exact key color, while 1.0 matches everything. + +@item blend +Blend percentage. 0.0 makes pixels fully gray. +Higher values result in more preserved color. +@end table + @section colorlevels Adjust video input frames using levels. |