[FFmpeg-devel] libavfilter: invoking another filter from a filter

Georg Martius georg.martius at web.de
Sun Mar 17 22:43:12 CET 2013


sorry for the long silence.

On Tuesday 05 March 2013 00:40:13 Stefano Sabatini wrote:
> On date Monday 2013-03-04 23:56:38 +0100, Georg Martius encoded:
> > Hi,
> > 
> > I would like to call another filter from within a filter?
> > For instance I need a box-blur at the beginning of my processing and an
> > unsharpen after my processing.
> > It should be automatically added to the filter-graph by my filter such
> > that less errors can be made.
> Right now the only auto-insertion happens when negotiating formats
> (and the framework code auto-inserts scale/resample as required).
> I guess the code could be extended in order to support a sort of
> custom per-filter hook during graph building.
> Why do you exactly need to insert the two filters (also: wouldn't be
> that eccessively computationally demanding)?

I need the sharpening because the frames are transformed and pixels are 
The boxblur makes the motion detection easier. I have it implemented myself, 
but maybe the ffmpeg version is faster.


---- Georg Martius,  Tel: +49 177 6413311  -----
--------- http://georg.hronopik.de -------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130317/abe3807b/attachment.asc>

More information about the ffmpeg-devel mailing list