Go to the documentation of this file.
31 for (
i = 0;
i <
s->nb_streams;
i++) {
34 char buf[256] = { 0 };
enum AVMediaType codec_type
General type of the encoded data.
This struct describes the properties of an encoded stream.
int av_channel_layout_describe(const AVChannelLayout *channel_layout, char *buf, size_t buf_size)
Get a human-readable string describing the channel layout properties.
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.
AVChannelLayout ch_layout
Audio only.
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.
#define i(width, name, range_min, range_max)
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.