AVStream.codecpar

Codec parameters associated with this stream. Allocated and freed by libavformat in avformat_new_stream() and avformat_free_context() respectively.

- demuxing: filled by libavformat on stream creation or in avformat_find_stream_info() - muxing: filled by the caller before avformat_write_header()

struct AVStream
AVCodecParameters* codecpar;

Meta