diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-10-07 11:56:39 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-10-13 19:02:34 +0200 |
commit | 32eaf4069ec4a4f1c609ed95129bf87bc99c4adf (patch) | |
tree | 4471db08e651a3c79a1d440dd6be70d8587c489b /doc/filters.texi | |
parent | 73fe19f09c38cb35f659c7d972bda3837b626ff8 (diff) | |
download | ffmpeg-32eaf4069ec4a4f1c609ed95129bf87bc99c4adf.tar.gz |
avfilter: add limitdiff video filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 98d4547127..653760932e 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -14488,6 +14488,37 @@ ffmpeg -i main.mpg -i ref.mkv -lavfi "[0:v]settb=AVTB,setpts=PTS-STARTPTS[main]; @end example @end itemize +@section limitdiff +Apply limited difference filter using second and optionally third video stream. + +The filter accepts the following options: + +@table @option +@item threshold +Set the threshold to use when allowing certain differences between video streams. +Any absolute difference value lower or exact than this threshold will pick pixel components from +first video stream. + +@item elasticity +Set the elasticity of soft thresholding when processing video streams. +This value multiplied with first one sets second threshold. +Any absolute difference value greater or exact than second threshold will pick pixel components +from second video stream. For values between those two threshold +linear interpolation between first and second video stream will be used. + +@item reference +Enable the reference (third) video stream processing. By default is disabled. +If set, this video stream will be used for calculating absolute difference with first video +stream. + +@item planes +Specify which planes will be processed. Defaults to all available. +@end table + +@subsection Commands + +This filter supports the all above options as @ref{commands} except option @samp{reference}. + @section limiter Limits the pixel components values to the specified range [min, max]. |