aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-19 13:11:24 +0100
committerPaul B Mahol <onemda@gmail.com>2019-01-12 19:49:15 +0100
commit1ea5529dd260d171e8a5f88e9d09cc5a503da930 (patch)
tree7cf0afaf359e929ce82898d0e8629131dca28e48 /doc
parent2e8b0446c6798947dac77fee4a06f9c4e8131ab5 (diff)
downloadffmpeg-1ea5529dd260d171e8a5f88e9d09cc5a503da930.tar.gz
avfilter: add maskfun filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 6a336a71f4..d06dfe089f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -11914,6 +11914,33 @@ copied from first stream.
By default value 0xf, all planes will be processed.
@end table
+@section maskfun
+Create mask from input video.
+
+For example it is useful to create motion masks after @code{tblend} filter.
+
+This filter accepts the following options:
+
+@table @option
+@item low
+Set low threshold. Any pixel component lower or exact than this value will be set to 0.
+
+@item high
+Set high threshold. Any pixel component higher than this value will be set to max value
+allowed for current pixel format.
+
+@item planes
+Set planes to filter, by default all available planes are filtered.
+
+@item fill
+Fill all frame pixels with this value.
+
+@item sum
+Set max average pixel value for frame. If sum of all pixel components is higher that this
+average, output frame will be completely filled with value set by @var{fill} option.
+Typically useful for scene changes when used in combination with @code{tblend} filter.
+@end table
+
@section mcdeint
Apply motion-compensation deinterlacing.