[FFmpeg-devel] [PATCH] avfilter: add skipblend filter

Matthias Troffaes matthias.troffaes at gmail.com
Wed Oct 24 13:14:01 EEST 2018


Attached a patch which adds a "skipblend" filter, which I've been
using for a while. My hope is that an ffmpeg developer here can merge
it. The filter is similar to the framestep filter, but additionally
blends frames together at each step, for a motion blur effect. The
number of frames that are blended (i.e. the exposure time, in frames)
can be set, allowing control over the strength of the motion blur. The
filter has timeline support, and supports both 8-bit and 16-bit pixel
formats. Tests and documentation included.

The main use so far that I (and others) have for this filter is to
blend down high framerate footage, generated through computer
rendering, to produce a high quality motion blur effect.

Note that a similar effect is already possible by repeatedly chaining
the tblend and framestep=step=2 filters; see for example:

https://video.stackexchange.com/questions/16552/4x-resample-videoframes-using-ffmpeg

But this is limited to steps that are powers of two, and this does not
allow an intermediate exposure time. It's also slower.

In the documentation, I've also added links between framestep, tblend,
and the new skipblend filter, to help users to find the right filter
they are looking for.

Kind regards,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-add-skipblend-filter.patch
Type: application/x-patch
Size: 21655 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181024/fbe91ea3/attachment.bin>


More information about the ffmpeg-devel mailing list