From 21a0b6bca80192a641b09774c603bd1acbda316e Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Mon, 8 May 2023 14:37:26 +0200 Subject: avfilter/vf_mpdecimate: Add option to keep the first N similar frames before dropping This allows for decimating large similar portions of a video while preserving small ones. --- doc/filters.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 89dd59587b..284b6d798a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -17656,6 +17656,13 @@ number of previous sequentially dropped frames. Default value is 0. +@item keep +Set the maximum number of consecutive similar frames to ignore before to start dropping them. +If the value is 0, the frame is dropped disregarding the +number of previous sequentially similar frames. + +Default value is 0. + @item hi @item lo @item frac -- cgit v1.2.1