[FFmpeg-devel] [PATCH] avfilter: add radial and circular blur video filter

Paul B Mahol onemda at gmail.com
Tue Jul 28 15:10:30 EEST 2020


On 7/24/20, Paul B Mahol <onemda at gmail.com> wrote:
> On 7/23/20, Michael Niedermayer <michael at niedermayer.cc> wrote:
>> On Sun, Jul 19, 2020 at 09:45:44PM +0200, Paul B Mahol wrote:
>>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>>> ---
>>>  doc/filters.texi         |  46 ++++
>>>  libavfilter/Makefile     |   2 +
>>>  libavfilter/allfilters.c |   2 +
>>>  libavfilter/vf_rblur.c   | 558 +++++++++++++++++++++++++++++++++++++++
>>>  4 files changed, 608 insertions(+)
>>>  create mode 100644 libavfilter/vf_rblur.c
>>>
>>> diff --git a/doc/filters.texi b/doc/filters.texi
>>> index a2c31ff610..62705db984 100644
>>> --- a/doc/filters.texi
>>> +++ b/doc/filters.texi
>>> @@ -7231,6 +7231,29 @@ Set planes to filter. Default value is to filter
>>> all
>>>  planes except alpha plane.
>>>  @end table
>>>
>>> + at section cblur
>>> +Apply a circular blur filter.
>>> +
>>> +The filter accepts the following options:
>>> +
>>> + at table @option
>>> + at item centerx, centery
>>> +Set central point position of circular blur. Default is @code{0.5}.
>>> +
>>> + at item amount
>>> +Set amount of circular blur. Default is @code{0.03}.
>>> +
>>> + at item planes
>>> +Set which planes to filter. By default all planes are filtered.
>>> + at end table
>>> +
>>> + at subsection Commands
>>> +This filter supports same @ref{commands} as options.
>>> +The command accepts the same syntax of the corresponding option.
>>> +
>>> +If the specified expression is not valid, it is kept at its current
>>> +value.
>>> +
>>>  @section chromahold
>>>  Remove all color information for all colors except for certain one.
>>>
>>> @@ -15768,6 +15791,29 @@ less than @code{0}, the filter will try to use
>>> a
>>> good random seed on a
>>>  best effort basis.
>>>  @end table
>>>
>>> + at section rblur
>>> +Apply a radial blur filter.
>>> +
>>> +The filter accepts the following options:
>>> +
>>> + at table @option
>>> + at item centerx, centery
>>> +Set central point position of radial blur. Default is @code{0.5}.
>>> +
>>> + at item amount
>>> +Set amount of radial blur. Default is @code{0.03}.
>>> +
>>> + at item planes
>>> +Set which planes to filter. By default all planes are filtered.
>>> + at end table
>>> +
>>> + at subsection Commands
>>> +This filter supports same @ref{commands} as options.
>>> +The command accepts the same syntax of the corresponding option.
>>> +
>>> +If the specified expression is not valid, it is kept at its current
>>> +value.
>>> +
>>>  @section readeia608
>>>
>>>  Read closed captioning (EIA-608) information from the top lines of a
>>> video frame.
>>
>> Please add an example that produces high quality output.
>> Iam asking so the filter can be tested in relation to the concerns that
>> have been raised in previous reviews
>
> any options set should give high quality output.
>
> There are some inconsistency with centerx/centery options when different
> than 0.5 but that can be fixed later.

Ping.

>
>>
>> Thanks
>>
>> [...]
>> --
>> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>>
>> Nations do behave wisely once they have exhausted all other alternatives.
>> -- Abba Eban
>>
>


More information about the ffmpeg-devel mailing list