FFmpeg
Data Fields
AVInputFormat Struct Reference

#include <avformat.h>

Data Fields

const char * name
 A comma separated list of short names for the format. More...
 
const char * long_name
 Descriptive name for the format, meant to be more human-readable than name. More...
 
int flags
 Can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_SHOW_IDS, AVFMT_NOTIMESTAMPS, AVFMT_GENERIC_INDEX, AVFMT_TS_DISCONT, AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH, AVFMT_NO_BYTE_SEEK, AVFMT_SEEK_TO_PTS. More...
 
const char * extensions
 If extensions are defined, then no probe is done. More...
 
const struct AVCodecTag *const * codec_tag
 
const AVClasspriv_class
 AVClass for the private context. More...
 
const char * mime_type
 Comma-separated list of mime types. More...
 

Detailed Description

Definition at line 548 of file avformat.h.

Field Documentation

◆ name

const char* AVInputFormat::name

◆ long_name

const char* AVInputFormat::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 560 of file avformat.h.

Referenced by show_format(), show_formats_devices(), and show_help_demuxer().

◆ flags

int AVInputFormat::flags

Can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_SHOW_IDS, AVFMT_NOTIMESTAMPS, AVFMT_GENERIC_INDEX, AVFMT_TS_DISCONT, AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH, AVFMT_NO_BYTE_SEEK, AVFMT_SEEK_TO_PTS.

Definition at line 567 of file avformat.h.

Referenced by assert_file_overwrite(), av_probe_input_format3(), avformat_find_stream_info(), dump_stream_format(), dump_stream_group(), estimate_timings(), ff_img_read_header(), ifile_open(), ist_use(), print_times(), probe(), read_thread(), show_stream(), show_stream_group(), and ts_discontinuity_detect().

◆ extensions

const char* AVInputFormat::extensions

If extensions are defined, then no probe is done.

You should usually not use extension format guessing because it is not reliable enough

Definition at line 574 of file avformat.h.

Referenced by av_probe_input_format3(), LLVMFuzzerTestOneInput(), and show_help_demuxer().

◆ codec_tag

const struct AVCodecTag* const * AVInputFormat::codec_tag

Definition at line 576 of file avformat.h.

◆ priv_class

const AVClass* AVInputFormat::priv_class

◆ mime_type

const char* AVInputFormat::mime_type

Comma-separated list of mime types.

It is used check for matching mime types while probing.

See also
av_probe_input_format2

Definition at line 585 of file avformat.h.

Referenced by av_probe_input_format3().


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