[FFmpeg-devel] [PATCH] lavfi: add tdiff filter

Clément Bœsch u at pkh.me
Sun Nov 23 14:57:41 CET 2014


On Sun, Nov 23, 2014 at 02:50:51PM +0100, Stefano Sabatini wrote:
> On date Sunday 2014-11-23 02:01:16 +0100, Clément Bœsch encoded:
> > On Sat, Nov 22, 2014 at 11:44:29PM +0100, Stefano Sabatini wrote:
> > > TODO: bump minor
> > > ---
> > >  Changelog                |   1 +
> > >  doc/filters.texi         |   4 ++
> > >  libavfilter/Makefile     |   1 +
> > >  libavfilter/allfilters.c |   1 +
> > >  libavfilter/vf_tdiff.c   | 131 +++++++++++++++++++++++++++++++++++++++++++++++
> > >  5 files changed, 138 insertions(+)
> > >  create mode 100644 libavfilter/vf_tdiff.c
> > > 
> > 
> 
> > What about adding a tblend in vf_blend.c instead?
> 
> What do you exactly mean? tdiff works with a single input, blend with
> two inputs.

That's the point: make another filter with temporal dimension in blend.
Blend filter has many features such as doing something more than diff
and having threading. The main function takes 2 frames so just add the
glue code around to take the previous and the current frame instead.

That's just a suggestion, maybe the other functions don't make much sense.
Feel free to ignore.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141123/8e311fdc/attachment.asc>


More information about the ffmpeg-devel mailing list