27 #define RAW_SAMPLES 1024
53 int stream_index, int64_t timestamp,
int flags)
56 int block_align, byte_rate;
66 if (block_align <= 0 || byte_rate <= 0)
68 if (timestamp < 0) timestamp = 0;
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
fseek() equivalent for AVIOContext.
AVFormatInternal * internal
An opaque field for libavformat internal usage.
This struct describes the properties of an encoded stream.
AVStream ** streams
A list of all streams in the file.
int64_t bit_rate
The average bitrate of the encoded data (in bits per second).
int av_get_bits_per_sample(enum AVCodecID codec_id)
Return codec bits per sample.
int flags
A combination of AV_PKT_FLAG values.
int block_align
Audio only.
int64_t av_rescale(int64_t a, int64_t b, int64_t c)
Rescale a 64-bit integer with rounding to nearest.
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
Rescale a 64-bit integer with specified rounding.
AVIOContext * pb
I/O context.
int sample_rate
Audio only.
#define AV_PKT_FLAG_CORRUPT
The packet content is corrupted.
AVCodecParameters * codecpar
Codec parameters associated with this stream.
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
This structure stores compressed data.