The average bitrate of the encoded data (in bits per second).
The number of bits per sample in the codedwords.
This is the number of valid bits in each output sample. If the sample format has more bits, the least significant bits are additional padding bits, which are always 0. Use right shifts to reduce the sample to its actual size. For example, audio formats with 24 bit samples will have bits_per_raw_sample set to 24, and format set to AV_SAMPLE_FMT_S32. To get the original sample use "(int32_t)sample >> 8"."
Audio only. The number of bytes per coded audio frame, required by some formats.
Audio only. The channel layout bitmask. May be 0 if the channel layout is unknown or unspecified, otherwise the number of bits set must be equal to the channels field.
Audio only. The number of audio channels.
Specific type of the encoded data (the codec used).
Additional information about the codec (corresponds to the AVI FOURCC).
General type of the encoded data.
Video only. Additional colorspace characteristics.
Extra binary data needed for initializing the decoder, codec-dependent.
Size of the extradata content in bytes.
Video only. The order of the fields in interlaced video.
- video: the pixel format, the value corresponds to enum AVPixelFormat. - audio: the sample format, the value corresponds to enum AVSampleFormat.
Audio only. Audio frame size, if known. Required by some formats to be static.
Audio only. The amount of padding (in samples) inserted by the encoder at the beginning of the audio. I.e. this number of leading decoded samples must be discarded by the caller to get the original audio without leading padding.
Codec-specific bitstream restrictions that the stream conforms to.
Video only. The aspect ratio (width / height) which a single pixel should have when displayed.
Audio only. The number of audio samples per second.
Audio only. Number of samples to skip after a discontinuity.
Audio only. The amount of padding (in samples) appended by the encoder to the end of the audio. I.e. this number of decoded samples must be discarded by the caller from the end of the stream to get the original audio without any trailing padding.
Video only. Number of delayed frames.
Video only. The dimensions of the video frame in pixels.
This struct describes the properties of an encoded stream.
sizeof(AVCodecParameters) is not a part of the public ABI, this struct must be allocated with avcodec_parameters_alloc() and freed with avcodec_parameters_free().