[FFmpeg-devel] [PATCH] api-example for libavfilter

Tomas Härdin tomas.hardin
Thu Dec 9 11:23:00 CET 2010


On Wed, 2010-12-08 at 20:37 +0100, Nicolas George wrote:
> L'octidi 18 frimaire, an CCXIX, Stefano Sabatini a ?crit :
> > I'd prefer to avoid to rely on other FFmpeg libraries, currently lavfi
> > only depends on libavutil, libavcore and libswscale, and API example
> > should be minimal so should be as strict as possible in terms of
> > requirements.
> 
> I think that illustrating how the filtering system interacts with the rest
> of the libraries is important: which time base should be used, how to insert
> an AVFrame in the system, etc.
> 
> See libavformat/output-example.c: to give a complete working example, before
> outputing with libavformat, it scales with libswscale and encodes with
> libavcodec.

libavformat depends on libavcodec though, so it might as well use it.
However, libavformat could use a pure remuxing example.

I would also like to see a more pure libavfilter example that doesn't
depend on libavformat and libavcodec. However, I don't think it has to
be mutually exclusive to an example that does use them like this one.

In short: this example seems fair. IMO we could use another one that
only does filtering on generated data.

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101209/f392928d/attachment.pgp>



More information about the ffmpeg-devel mailing list