FFmpeg
Data Fields
AVCodecDescriptor Struct Reference

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

#include <avcodec.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 716 of file avcodec.h.

Field Documentation

◆ id

enum AVCodecID AVCodecDescriptor::id

Definition at line 717 of file avcodec.h.

Referenced by main().

◆ type

enum AVMediaType AVCodecDescriptor::type

Definition at line 718 of file avcodec.h.

Referenced by avcodec_open2(), and is_intra_only().

◆ 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 724 of file avcodec.h.

Referenced by asf_write_header1(), avcodec_get_name(), avcodec_open2(), ico_check_attributes(), 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 728 of file avcodec.h.

Referenced by show_stream().

◆ props

int AVCodecDescriptor::props

Codec properties, a combination of AV_CODEC_PROP_* flags.

Definition at line 732 of file avcodec.h.

Referenced by avcodec_decode_subtitle2(), avcodec_open2(), init_output_stream(), is_intra_only(), 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 738 of file avcodec.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 743 of file avcodec.h.


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