From 889d858491acffe984adfe8f77e5c4297999d0bf Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 27 Apr 2018 18:13:38 +0200 Subject: avfilter: add amplify filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index e1b0534c95..249d88265c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -5187,6 +5187,30 @@ input reaches end of stream. This will cause problems if your encoding pipeline drops frames. If you're trying to apply an image as an overlay to a video stream, consider the @var{overlay} filter instead. +@section amplify + +Amplify differences between current pixel and pixels of adjacent frames in +same pixel location. + +This filter accepts the following options: + +@table @option +@item radius +Set frame radius. Default is 2. Allowed range is from 1 to 63. +For example radius of 3 will instruct filter to calculate average of 7 frames. + +@item factor +Set factor to amplify difference. Default is 2. Allowed range is from 0 to 65535. + +@item threshold +Set threshold for difference amplification. Any differrence greater or equal to +this value will not alter source pixel. Default is 10. +Allowed range is from 0 to 65535. + +@item planes +Set which planes to filter. Default is all. Allowed range is from 0 to 15. +@end table + @section ass Same as the @ref{subtitles} filter, except that it doesn't require libavcodec -- cgit v1.2.3