[FFmpeg-user] what will be the format of the buffer for AVFormatContext??
Mike Scheutzow
mike.scheutzow at alcatel-lucent.com
Tue May 22 14:51:20 CEST 2012
Antonio Tsai wrote:
> There is a elementary stream which will be stored in a buffer and then
> coded by "flv_write_packet(AVFormatContext *s, AVPacket *pkt)". My question
> is what will be the format of the very buffer to fit to the sturct of
> AVFormatContext, or how should I create a buffer for it. Could anyone
> please give a some advice for it.
FFmpeg is a complex library, so there is not a short simple answer to
your question.
Download the source code and look at the files in the doc/examples/
subdirectory. Those examples are not perfect, but should give you an
idea how the different parts of ffmpeg library work together.
It's a little old, but this tutorial might help your understanding too:
http://dranger.com/ffmpeg/
Mike Scheutzow
More information about the ffmpeg-user
mailing list