[FFmpeg-devel] [PATCH] avfilter/vf_mpdecimate: Add option to keep the first N similar frames before dropping

Thilo Borgmann thilo.borgmann at mail.de
Mon May 8 22:57:10 EEST 2023


Am 08.05.23 um 20:55 schrieb Paul B Mahol:
> On Mon, May 8, 2023 at 8:06 PM Thilo Borgmann <thilo.borgmann at mail.de>
> wrote:
> 
>> Am 08.05.23 um 15:58 schrieb Paul B Mahol:
>>> On Mon, May 8, 2023 at 3:43 PM Thilo Borgmann <thilo.borgmann at mail.de>
>>> wrote:
>>>
>>>> Am 08.05.23 um 15:32 schrieb Thilo Borgmann:
>>>>> This allows for decimating large similar portions of a video while
>>>> preserving small ones.
>>>>> ---
>>>>>     libavfilter/vf_mpdecimate.c | 19 +++++++++++++++++--
>>>>>     1 file changed, 17 insertions(+), 2 deletions(-)
>>>>
>>>> docs and micro bump in v2.
>>>>
>>>
>>> Why is range for option allowed to go bellow 0 to INT_MIN?
>>
>> Oh it shall allow for >= 0 from the user. Will fix the min/max values,
>> anything else?
>>
> 
> Nope. Rest looks fine.

Pushed including the min value fix.

Thanks,
Thilo



More information about the ffmpeg-devel mailing list