For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture.
Average framerate
@deprecated use the codecpar struct instead
Number of frames that have been demuxed during avformat_find_stream_info()
Codec parameters associated with this stream. Allocated and freed by libavformat in avformat_new_stream() and avformat_free_context() respectively.
< Selects which packets can be discarded at will and do not need to be demuxed.
< AV_DISPOSITION_* bit field
Decoding: duration of the stream, in stream time base. If a source file does not specify a duration, but does specify a bitrate, this value will be estimated from bitrate and file size.
Flags indicating events happening on the stream, a combination of AVSTREAM_EVENT_FLAG_*.
Timestamp corresponding to the last dts sync point.
Format-specific stream ID. decoding: set by libavformat encoding: set by the user, replaced by libavformat if left unset
< stream index in AVFormatContext
< Only used if the format does not support seeking natively.
An opaque field for libavformat internal usage. Must not be accessed in any way by callers.
< number of frames in this stream if known or 0
The number of elements in the AVStream.side_data array.
Number of packets to buffer for codec probing
< number of bits in pts (used for wrapping control)
Real base framerate of the stream. This is the lowest framerate with which all timestamps can be represented accurately (it is the least common multiple of all framerates in the stream). Note, this value is just a guess! For example, if the time base is 1/90000 and all frames have either approximately 3600 or 1800 timer ticks, then r_frame_rate will be 50/1.
String containing pairs of key and values describing recommended encoder configuration. Pairs are separated by ','. Keys are separated from values by '='.
sample aspect ratio (0 if unknown) - encoding: Set by user. - decoding: Set by libavformat.
An array of side data that applies to the whole stream (i.e. the container does not allow it to change between packets).
Decoding: pts of the first frame of the stream in presentation order, in stream time base. Only set this if you are absolutely 100% sure that the value you set it to really is the pts of the first frame. This may be undefined (AV_NOPTS_VALUE). @note The ASF header does NOT contain a correct start_time the ASF demuxer must NOT set this.
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented.
All fields below this line are not part of the public API. They may not be used outside of libavformat and can be changed and removed at will. Internal note: be aware that physically removing these fields will break ABI. Replace removed fields with dummy fields, and add new fields to AVStreamInternal. ****************************************************************
Stream structure. New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVStream) must not be used outside libav*.