[libav-api] examples

Luca Barbato lu_zero at gentoo.org
Thu Oct 24 09:42:39 CEST 2013


On 23/10/13 16:40, Reuben Sant wrote:
> Hi,
> 
> I have a general idea on how to use the FFmpeg tools and recently
> moved on to use the libav api.
> 
> In order to get started, I are trying to use the examples found in
> ffmpeg doc/examples
> 
> Doesn't libav have any examples in its doc? If not, could anyone
> point us to some, please?
> 
> We have managed to adapt the ffmpeg's decoding_encoding.c example, to
> use libavcodec. The adaptation was quite easy.
> 
> However when it comes to libavformat, the functions used by ffmpeg's
> muxing.c, differ a lot from the ones available in libav. Can anyone
> suggest a good example or tutorial on how to use libav's

http://git.libav.org/?p=libav.git;a=blob;f=libavformat/output-example.c;h=496b7f82126489cfdfba6e8a462345b0f180243c;hb=HEAD

This should match what you found in ffmpeg example dir. Currently we are
pondering moving the examples in a single directory as well.

Let me know if it helps.

lu





More information about the libav-api mailing list