FFmpeg
Data Fields
AVCodecDescriptor Struct Reference

This struct describes the properties of a single codec described by an AVCodecID. More...

#include <codec_desc.h>

Data Fields

enum AVCodecID id
 
enum AVMediaType type
 
const char * name
 Name of the codec described by this descriptor. More...
 
const char * long_name
 A more descriptive name for this codec. More...
 
int props
 Codec properties, a combination of AV_CODEC_PROP_* flags. More...
 
const char *const * mime_types
 MIME type(s) associated with the codec. More...
 
const struct AVProfileprofiles
 If non-NULL, an array of profiles recognized for this codec. More...
 

Detailed Description

This struct describes the properties of a single codec described by an AVCodecID.

See also
avcodec_descriptor_get()

Definition at line 38 of file codec_desc.h.

Field Documentation

◆ id

enum AVCodecID AVCodecDescriptor::id

Definition at line 39 of file codec_desc.h.

Referenced by concat_parse_script(), and main().

◆ type

enum AVMediaType AVCodecDescriptor::type

Definition at line 40 of file codec_desc.h.

Referenced by concat_parse_script(), and ff_decode_preinit().

◆ name

const char* AVCodecDescriptor::name

Name of the codec described by this descriptor.

It is non-empty and unique for each codec descriptor. It should contain alphanumeric characters and '_' only.

Definition at line 46 of file codec_desc.h.

Referenced by convert_from_tensorflow.Operand::__str__(), asf_write_header1(), avcodec_get_name(), ff_decode_preinit(), get_codec_name(), main(), show_stream(), and vaapi_decode_make_config().

◆ long_name

const char* AVCodecDescriptor::long_name

A more descriptive name for this codec.

May be NULL.

Definition at line 50 of file codec_desc.h.

Referenced by show_stream().

◆ props

int AVCodecDescriptor::props

Codec properties, a combination of AV_CODEC_PROP_* flags.

Definition at line 54 of file codec_desc.h.

Referenced by avcodec_decode_subtitle2(), ff_decode_preinit(), ff_encode_preinit(), init_output_stream(), and open_output_file().

◆ mime_types

const char* const * AVCodecDescriptor::mime_types

MIME type(s) associated with the codec.

May be NULL; if not, a NULL-terminated array of MIME types. The first item is always non-NULL and is the preferred MIME type.

Definition at line 60 of file codec_desc.h.

◆ profiles

const struct AVProfile* AVCodecDescriptor::profiles

If non-NULL, an array of profiles recognized for this codec.

Terminated with FF_PROFILE_UNKNOWN.

Definition at line 65 of file codec_desc.h.


The documentation for this struct was generated from the following file: