Go to the documentation of this file.
21 #ifndef AVCODEC_CODEC_DESC_H
22 #define AVCODEC_CODEC_DESC_H
72 #define AV_CODEC_PROP_INTRA_ONLY (1 << 0)
78 #define AV_CODEC_PROP_LOSSY (1 << 1)
82 #define AV_CODEC_PROP_LOSSLESS (1 << 2)
92 #define AV_CODEC_PROP_REORDER (1 << 3)
97 #define AV_CODEC_PROP_BITMAP_SUB (1 << 16)
102 #define AV_CODEC_PROP_TEXT_SUB (1 << 17)
128 #endif // AVCODEC_CODEC_DESC_H
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
const char * long_name
A more descriptive name for this codec.
const char * name
Name of the codec described by this descriptor.
const char *const * mime_types
MIME type(s) associated with the codec.
This struct describes the properties of a single codec described by an AVCodecID.
const struct AVProfile * profiles
If non-NULL, an array of profiles recognized for this codec.
int props
Codec properties, a combination of AV_CODEC_PROP_* flags.
AVCodecID
Identify the syntax and semantics of the bitstream.
const AVCodecDescriptor * avcodec_descriptor_next(const AVCodecDescriptor *prev)
Iterate over all codec descriptors known to libavcodec.
const AVCodecDescriptor * avcodec_descriptor_get(enum AVCodecID id)
const AVCodecDescriptor * avcodec_descriptor_get_by_name(const char *name)