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.
pgpxxpJGi_HOt.pgp
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel