On Mon, Dec 12, 2011 at 07:17:23PM +0100, Anton Khirnov wrote:
>
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -68,6 +68,44 @@
> *
> * @defgroup lavf_decoding Demuxing
> * @{
> + * Demuxers read a media file and split it into chunks of data (@em
> packets). A
> + * @ref AVPacket "packet" contains one or more frames which belong a single
An @ref AVPacket, belong to a
> + * elementary stream. In lavf API this process is represented by the
In the libavformat API
> + * @section lavf_decoding_open Opening a media file
> + * The minimum information required to open a file is its URL or filename,
> which
> + * is passed to avformat_open_input(), as in the following code:
nit: long line
> + * The above code attempts to allocate an AVFormatContext, open the
> + * specified file (autodetecting the format) and read the header, exporting
> the
> + * information stored there into s. Some formats do not have a header or do
> not
stored in the header to s
> + * avformat_open_input(). One such case is when you want to use custom
> functions
> + * for reading input data instead of lavf internal I/O layer.
instead of employing the libavformat-internal
> + * AVFormatContext to newly created AVIOContext.
to the newly-created
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel