FFmpeg
Data Fields
AVOutputFormat Struct Reference
libavformat » Muxing

#include <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...
 
  default audio codec More...
 
  default video codec More...
 
  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 505 of file avformat.h.

Field Documentation

name

const char* AVOutputFormat::name

Definition at line 506 of file avformat.h.

Referenced by av_dump_format(), av_guess_codec(), av_guess_format(), init_muxer(), log_slave(), new_stream_video(), of_open(), print_sdp(), print_streams(), seg_init(), show_formats_devices(), show_help_muxer(), and thread_set_name().

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 512 of file avformat.h.

Referenced by show_formats_devices(), and show_help_muxer().

mime_type

const char* AVOutputFormat::mime_type

Definition at line 513 of file avformat.h.

Referenced by av_guess_format(), and show_help_muxer().

extensions

const char* AVOutputFormat::extensions

comma-separated filename extensions

Definition at line 514 of file avformat.h.

Referenced by av_guess_format(), and show_help_muxer().

audio_codec

enum AVCodecID AVOutputFormat::audio_codec

default audio codec

Examples
mux.c.

Definition at line 516 of file avformat.h.

Referenced by av_guess_codec(), avformat_query_codec(), main(), and show_help_muxer().

video_codec

enum AVCodecID AVOutputFormat::video_codec

default video codec

Examples
mux.c.

Definition at line 517 of file avformat.h.

Referenced by av_guess_codec(), avformat_query_codec(), main(), map_auto_video(), and show_help_muxer().

subtitle_codec

enum AVCodecID AVOutputFormat::subtitle_codec

default subtitle codec

Definition at line 518 of file avformat.h.

Referenced by av_guess_codec(), avformat_query_codec(), map_auto_subtitle(), and show_help_muxer().

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 525 of file avformat.h.

Referenced by add_stream(), av_guess_format(), create_streams(), dump_stream_format(), dump_stream_group(), init_muxer(), main(), mux_fixup_ts(), new_stream_video(), of_open(), open_output_file(), ost_add(), and seg_init().

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 531 of file avformat.h.

Referenced by avformat_query_codec(), hls_mux_init(), init_muxer(), segment_mux_init(), and streamcopy_init().

priv_class

const AVClass* AVOutputFormat::priv_class

AVClass for the private context.

Definition at line 534 of file avformat.h.

Referenced by ff_rtp_get_payload_type(), format_child_class_iterate(), hls_start(), hls_write_packet(), init_muxer(), next_output(), segment_start(), show_format_opts(), show_formats_devices(), and show_help_muxer().


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

Generated on Tue Nov 18 2025 19:24:22 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /