Go to the documentation of this file.
29 for (
i = 0;
i <
s->nb_streams;
i++) {
32 char buf[256] = { 0 };
enum AVMediaType codec_type
General type of the encoded data.
This struct describes the properties of an encoded stream.
void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout)
Return a description of a channel layout.
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.
int sample_rate
Audio only.
AVRational sample_aspect_ratio
sample aspect ratio (0 if unknown)
const char * avcodec_get_name(enum AVCodecID id)
Get the name of a codec.
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
Writes a formatted string to the context.
const char * av_get_media_type_string(enum AVMediaType media_type)
Return a string describing the media_type enum, NULL if media_type is unknown.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
int ff_framehash_write_header(AVFormatContext *s)
Set the timebase for each stream from the corresponding codec timebase and print it.
uint64_t channel_layout
Audio only.