FFmpeg
Data Fields
AVInputFormat Struct Reference
libavformat » Demuxing

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

Field Documentation

name

const char* AVInputFormat::name

A comma separated list of short names for the format.

New names may be appended with a minor bump.

Definition at line 549 of file avformat.h.

Referenced by av_dump_format(), av_find_input_format(), av_probe_input_format3(), avformat_find_stream_info(), estimate_timings(), hls_read_header(), hls_read_packet(), ifile_open(), LLVMFuzzerTestOneInput(), print_times(), probe(), read_gab2_sub(), read_thread(), set_codec_from_probe_data(), show_format(), show_formats_devices(), show_help_demuxer(), and test_segment().

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 556 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 563 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 570 of file avformat.h.

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

codec_tag

const struct AVCodecTag* const * AVInputFormat::codec_tag

Definition at line 572 of file avformat.h.

priv_class

const AVClass* AVInputFormat::priv_class

AVClass for the private context.

Definition at line 574 of file avformat.h.

Referenced by ff_alloc_input_device_context(), format_child_class_iterate(), ifile_open(), next_input(), show_format_opts(), show_formats_devices(), show_help_demuxer(), and show_stream().

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

Referenced by av_probe_input_format3().


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

Generated on Fri Oct 17 2025 19:24:20 for FFmpeg by   doxygen 1.8.17

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