FFmpeg 6.1.1
Data Fields
AVOutputFormat Struct Reference

#include <libavformat/avformat.h>

Data Fields

const char * name
 
const char * long_name
 Descriptive name for the format, meant to be more human-readable than name. More...
 
const char * mime_type
 
const char * extensions
 comma-separated filename extensions More...
 
enum AVCodecID audio_codec
 default audio codec More...
 
enum AVCodecID video_codec
 default video codec More...
 
enum AVCodecID subtitle_codec
 default subtitle codec More...
 
int flags
 can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE More...
 
const struct AVCodecTag *const * codec_tag
 List of supported codec_id-codec_tag pairs, ordered by "better choice first". More...
 
const AVClasspriv_class
 AVClass for the private context. More...
 

Detailed Description

Examples
mux.c, and remux.c.

Definition at line 510 of file avformat.h.

Field Documentation

◆ name

const char* AVOutputFormat::name

Definition at line 511 of file avformat.h.

◆ long_name

const char* AVOutputFormat::long_name

Descriptive name for the format, meant to be more human-readable than name.

You should use the NULL_IF_CONFIG_SMALL() macro to define it.

Definition at line 517 of file avformat.h.

◆ mime_type

const char* AVOutputFormat::mime_type

Definition at line 518 of file avformat.h.

◆ extensions

const char* AVOutputFormat::extensions

comma-separated filename extensions

Definition at line 519 of file avformat.h.

◆ audio_codec

enum AVCodecID AVOutputFormat::audio_codec

default audio codec

Examples
mux.c.

Definition at line 521 of file avformat.h.

Referenced by main().

◆ video_codec

enum AVCodecID AVOutputFormat::video_codec

default video codec

Examples
mux.c.

Definition at line 522 of file avformat.h.

Referenced by main().

◆ subtitle_codec

enum AVCodecID AVOutputFormat::subtitle_codec

default subtitle codec

Definition at line 523 of file avformat.h.

◆ flags

int AVOutputFormat::flags

can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE

Examples
mux.c, remux.c, and transcode.c.

Definition at line 530 of file avformat.h.

Referenced by add_stream(), main(), and open_output_file().

◆ codec_tag

const struct AVCodecTag* const* AVOutputFormat::codec_tag

List of supported codec_id-codec_tag pairs, ordered by "better choice first".

The arrays are all terminated by AV_CODEC_ID_NONE.

Definition at line 536 of file avformat.h.

◆ priv_class

const AVClass* AVOutputFormat::priv_class

AVClass for the private context.

Definition at line 539 of file avformat.h.


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