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

Stefano Sabatini stefasab at gmail.com
Thu Dec 4 12:36:43 CET 2014


On date Sunday 2014-11-23 14:57:41 +0100, Clément Bœsch encoded:
> 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.

Uh, what about this?
-- 
FFmpeg = Frightening Faithless Martial Powerful Evil Goblin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lavfi-add-tblend-filter.patch
Type: text/x-diff
Size: 4995 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141204/30851df9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-lavfi-blend-add-difference128-mode.patch
Type: text/x-diff
Size: 2377 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141204/30851df9/attachment-0001.bin>


More information about the ffmpeg-devel mailing list