FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVFormatContext Struct Reference

Format I/O context. More...

#include <avformat.h>

Data Fields

const AVClassav_class
 A class for logging and AVOptions. More...
 
struct AVInputFormatiformat
 The input container format. More...
 
struct AVOutputFormatoformat
 The output container format. More...
 
voidpriv_data
 Format private data. More...
 
AVIOContextpb
 I/O context. More...
 
int ctx_flags
 Flags signalling stream properties. More...
 
unsigned int nb_streams
 Number of elements in AVFormatContext.streams. More...
 
AVStream ** streams
 A list of all streams in the file. More...
 
char * url
 input or output URL. More...
 
int64_t start_time
 Position of the first frame of the component, in AV_TIME_BASE fractional seconds. More...
 
int64_t duration
 Duration of the stream, in AV_TIME_BASE fractional seconds. More...
 
int64_t bit_rate
 Total stream bitrate in bit/s, 0 if not available. More...
 
unsigned int packet_size
 
int max_delay
 
int flags
 Flags modifying the (de)muxer behaviour. More...
 
int64_t probesize
 Maximum size of the data read from input for determining the input container format. More...
 
int64_t max_analyze_duration
 Maximum duration (in AV_TIME_BASE units) of the data read from input in avformat_find_stream_info(). More...
 
const uint8_tkey
 
int keylen
 
unsigned int nb_programs
 
AVProgram ** programs
 
enum AVCodecID video_codec_id
 Forced video codec_id. More...
 
enum AVCodecID audio_codec_id
 Forced audio codec_id. More...
 
enum AVCodecID subtitle_codec_id
 Forced subtitle codec_id. More...
 
unsigned int max_index_size
 Maximum amount of memory in bytes to use for the index of each stream. More...
 
unsigned int max_picture_buffer
 Maximum amount of memory in bytes to use for buffering frames obtained from realtime capture devices. More...
 
unsigned int nb_chapters
 Number of chapters in AVChapter array. More...
 
AVChapter ** chapters
 
AVDictionarymetadata
 Metadata that applies to the whole file. More...
 
int64_t start_time_realtime
 Start time of the stream in real world time, in microseconds since the Unix epoch (00:00 1st January 1970). More...
 
int fps_probe_size
 The number of frames used for determining the framerate in avformat_find_stream_info(). More...
 
int error_recognition
 Error recognition; higher values will detect more errors but may misdetect some more or less valid parts as errors. More...
 
AVIOInterruptCB interrupt_callback
 Custom interrupt callbacks for the I/O layer. More...
 
int debug
 Flags to enable debugging. More...
 
int64_t max_interleave_delta
 Maximum buffering duration for interleaving. More...
 
int strict_std_compliance
 Allow non-standard and experimental extension. More...
 
int event_flags
 Flags for the user to detect events happening on the file. More...
 
int max_ts_probe
 Maximum number of packets to read while waiting for the first timestamp. More...
 
int avoid_negative_ts
 Avoid negative timestamps during muxing. More...
 
int ts_id
 Transport stream id. More...
 
int audio_preload
 Audio preload in microseconds. More...
 
int max_chunk_duration
 Max chunk time in microseconds. More...
 
int max_chunk_size
 Max chunk size in bytes Note, not all formats support this and unpredictable things may happen if it is used when not supported. More...
 
int use_wallclock_as_timestamps
 forces the use of wallclock timestamps as pts/dts of packets This has undefined results in the presence of B frames. More...
 
int avio_flags
 avio flags, used to force AVIO_FLAG_DIRECT. More...
 
enum AVDurationEstimationMethod duration_estimation_method
 The duration field can be estimated through various ways, and this field can be used to know how the duration was estimated. More...
 
int64_t skip_initial_bytes
 Skip initial bytes when opening stream. More...
 
unsigned int correct_ts_overflow
 Correct single timestamp overflows. More...
 
int seek2any
 Force seeking to any (also non key) frames. More...
 
int flush_packets
 Flush the I/O context after each packet. More...
 
int probe_score
 format probing score. More...
 
int format_probesize
 number of bytes to read maximally to identify format. More...
 
char * codec_whitelist
 ',' separated list of allowed decoders. More...
 
char * format_whitelist
 ',' separated list of allowed demuxers. More...
 
AVFormatInternalinternal
 An opaque field for libavformat internal usage. More...
 
int io_repositioned
 IO repositioned flag. More...
 
AVCodecvideo_codec
 Forced video codec. More...
 
AVCodecaudio_codec
 Forced audio codec. More...
 
AVCodecsubtitle_codec
 Forced subtitle codec. More...
 
AVCodecdata_codec
 Forced data codec. More...
 
int metadata_header_padding
 Number of bytes to be written as padding in a metadata header. More...
 
voidopaque
 User data. More...
 
av_format_control_message control_message_cb
 Callback used by devices to communicate with application. More...
 
int64_t output_ts_offset
 Output timestamp offset, in microseconds. More...
 
uint8_tdump_separator
 dump format separator. More...
 
enum AVCodecID data_codec_id
 Forced Data codec_id. More...
 
char * protocol_whitelist
 ',' separated list of allowed protocols. More...
 
int(* io_open )(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options)
 A callback for opening new IO streams. More...
 
void(* io_close )(struct AVFormatContext *s, AVIOContext *pb)
 A callback for closing the streams opened with AVFormatContext.io_open(). More...
 
char * protocol_blacklist
 ',' separated list of disallowed protocols. More...
 
int max_streams
 The maximum number of streams. More...
 

Detailed Description

Format I/O context.

New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVFormatContext) must not be used outside libav*, use avformat_alloc_context() to create an AVFormatContext.

Fields can be accessed through AVOptions (av_opt*), the name string used matches the associated command line parameter name and can be found in libavformat/options_table.h. The AVOption/command line parameter names differ in some cases from the C structure field names for historic reasons or brevity.

Examples:
avio_reading.c, demuxing_decoding.c, filtering_audio.c, filtering_video.c, hw_decode.c, metadata.c, muxing.c, qsvdec.c, remuxing.c, transcode_aac.c, transcoding.c, and vaapi_transcode.c.

Definition at line 1342 of file avformat.h.

Field Documentation

const AVClass* AVFormatContext::av_class

A class for logging and AVOptions.

Set by avformat_alloc_context(). Exports (de)muxer private options if they exist.

Definition at line 1347 of file avformat.h.

Referenced by av_hwframe_ctx_alloc(), avformat_get_context_defaults(), and avformat_open_input().

struct AVInputFormat* AVFormatContext::iformat
struct AVOutputFormat* AVFormatContext::oformat

The output container format.

Muxing only, must be set by the caller before avformat_write_header().

Examples:
muxing.c, and transcoding.c.

Definition at line 1361 of file avformat.h.

Referenced by add_stream(), av_dump_format(), av_get_output_timestamp(), av_interleaved_write_frame(), av_write_frame(), av_write_trailer(), av_write_uncoded_frame_internal(), av_write_uncoded_frame_query(), avdevice_app_to_dev_control_message(), avdevice_capabilities_create(), avdevice_capabilities_free(), avdevice_list_devices(), avformat_alloc_output_context2(), avformat_free_context(), avformat_init_output(), avformat_write_header(), choose_encoder(), chunk_end(), chunk_mux_init(), dash_check_bitstream(), dash_init(), do_packet_auto_bsf(), do_video_out(), dump_stream_format(), ff_format_output_open(), ff_rtp_chain_mux_open(), ff_rtp_get_payload_type(), ff_rtsp_open_transport_ctx(), ff_rtsp_undo_setup(), ffmpeg_cleanup(), filter_codec_opts(), flush_if_needed(), force_one_stream(), format_child_next(), format_to_name(), hds_write_header(), hls_mux_init(), hls_start(), hls_write_packet(), init_fps(), init_muxer(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), interleave_packet(), io_open_default(), ism_write_header(), log_slave(), main(), mkv_write_header(), mov_init(), mpeg_mux_init(), mpegts_init(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_mpeg2_frame(), mxf_write_common_fields(), mxf_write_footer(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_header(), mxf_write_identification(), mxf_write_packet(), mxf_write_partition(), mxf_write_preface(), mxf_write_random_index_pack(), mxf_write_track(), new_output_stream(), open_output_file(), prepare_input_packet(), print_sdp(), rtp_mpegts_write_header(), seg_check_bitstream(), seg_write_header(), segment_mux_init(), segment_start(), sup_write_header(), swf_write_header(), transcode_init(), validate_codec_tag(), webm_chunk_write_header(), webm_chunk_write_trailer(), write_header(), and write_packet().

void* AVFormatContext::priv_data

Format private data.

This is an AVOptions-enabled struct if and only if iformat/oformat.priv_class is not NULL.

Definition at line 1370 of file avformat.h.

Referenced by aa_read_close(), aa_read_header(), aa_read_packet(), adaptation_set_add_stream(), add_adaptation_set(), add_audio_device(), add_display_matrix(), add_file(), add_keyframes_index(), add_stream_to_programs(), add_video_device(), add_video_stream(), adts_init(), adts_write_header(), adts_write_packet(), adts_write_trailer(), adx_read_header(), adx_read_packet(), afc_read_header(), afc_read_packet(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_packet(), aiff_write_trailer(), amf_parse_object(), amr_read_packet(), analyze_chunk(), android_camera_read_close(), android_camera_read_header(), android_camera_read_packet(), ape_read_close(), ape_read_header(), ape_read_packet(), ape_read_seek(), apng_read_header(), apng_read_packet(), apng_write_header(), apng_write_packet(), apng_write_trailer(), aptx_read_header_common(), aqt_read_close(), aqt_read_header(), aqt_read_packet(), aqt_read_seek(), asf_build_simple_index(), asf_deinterleave(), asf_get_packet(), asf_parse_packet(), asf_read_close(), asf_read_content_desc(), asf_read_data(), asf_read_ext_content(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_file_properties(), asf_read_frame_header(), asf_read_header(), asf_read_language_list(), asf_read_marker(), asf_read_metadata(), asf_read_metadata_obj(), asf_read_multiple_payload(), asf_read_packet(), asf_read_packet_header(), asf_read_payload(), asf_read_picture(), asf_read_properties(), asf_read_pts(), asf_read_replicated_data(), asf_read_seek(), asf_read_simple_index(), asf_read_single_payload(), asf_read_stream_properties(), asf_read_subpayload(), asf_read_timestamp(), asf_read_unknown(), asf_reset_header(), asf_store_aspect_ratio(), asf_write_header(), asf_write_header1(), asf_write_markers(), asf_write_packet(), asf_write_stream_header(), asf_write_trailer(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), ass_read_close(), ass_read_header(), ass_read_packet(), ass_read_seek(), ast_write_header(), ast_write_packet(), ast_write_trailer(), audio_get_output_timestamp(), audio_read_close(), audio_read_header(), audio_read_packet(), audio_write_frame(), audio_write_header(), audio_write_packet(), audio_write_trailer(), av_write_trailer(), avdevice_capabilities_create(), avf_close(), avf_read_header(), avf_read_packet(), avformat_alloc_output_context2(), avformat_find_stream_info(), avformat_free_context(), avformat_open_input(), avi_add_ientry(), avi_init(), avi_load_index(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet_internal(), avi_write_trailer(), avisynth_context_create(), avisynth_create_stream(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avisynth_next_stream(), avisynth_open_file(), avisynth_read_close(), avisynth_read_packet(), avisynth_read_packet_audio(), avisynth_read_packet_video(), avisynth_read_seek(), avpacket_queue_init(), avs_read_audio_packet(), avs_read_header(), avs_read_packet(), avs_read_video_packet(), bfi_read_header(), bfi_read_packet(), bmv_read_close(), bmv_read_header(), bmv_read_packet(), build_elision_headers(), build_frame_code(), caca_write_header(), caca_write_packet(), caca_write_trailer(), caf_write_header(), caf_write_packet(), caf_write_trailer(), calc_cur_seg_no(), calc_min_seg_no(), calculate_bitrate(), callback(), camera_dev_disconnected(), camera_dev_error(), cdata_read_header(), cdata_read_packet(), cdxl_read_header(), cdxl_read_packet(), celt_header(), check_pkt(), check_sessionid(), check_sync_pes(), chunk_end(), chunk_mux_init(), chunk_start(), cin_read_header(), cin_read_packet(), cine_read_packet(), cine_read_seek(), close_slaves(), codec2_read_packet(), codec2raw_read_header(), compute_display_area(), compute_moov_size(), compute_sidx_size(), compute_texture_rect(), concat_read_close(), concat_read_header(), concat_read_packet(), concat_seek(), configure_video_device(), convert_timestamp(), crc_write_header(), crc_write_packet(), crc_write_trailer(), create_capture_session(), create_image_reader(), create_master_playlist(), create_stream(), create_subcc_packet(), create_subcc_streams(), daala_gptopts(), daala_header(), daala_packet(), dash_check_bitstream(), dash_close(), dash_flush(), dash_free(), dash_init(), dash_read_header(), dash_read_packet(), dash_read_seek(), dash_write_header(), dash_write_packet(), dash_write_trailer(), dashenc_delete_file(), dashenc_io_close(), dashenc_io_open(), dc1394_close(), dc1394_read_common(), dc1394_read_header(), dc1394_read_packet(), dec_ref_pic_marking(), decklink_input_callback::decklink_input_callback(), decklink_select_input(), decklink_setup_audio(), decklink_setup_video(), decklink_write_audio_packet(), decklink_write_video_packet(), decrypt_init(), demux_audio(), demux_video(), detect_stream_specific(), detect_unknown_subobject(), device_init(), device_open(), dirac_gptopts(), dirac_header(), do_encrypt(), draw_rectangle(), dsf_read_header(), dsf_read_packet(), dshow_add_device(), dshow_cycle_devices(), dshow_cycle_formats(), dshow_cycle_pins(), dshow_list_device_options(), dshow_open_device(), dshow_read_close(), dshow_read_header(), dshow_read_packet(), dshow_set_audio_buffer_size(), dshow_try_setup_crossbar_options(), dss_723_1_read_packet(), dss_read_close(), dss_read_header(), dss_read_packet(), dss_read_seek(), dss_skip_audio_header(), dss_sp_read_packet(), dtshd_read_header(), dv_init_mux(), dv_read_close(), dv_read_header(), dv_read_packet(), dv_read_seek(), dv_read_timecode(), dv_write_header(), dv_write_packet(), dv_write_trailer(), dxa_read_header(), dxa_read_packet(), ea_read_header(), ea_read_packet(), efi_read(), enable_tracks(), failing_deinit(), failing_write_header(), failing_write_packet(), failing_write_trailer(), fbdev_read_close(), fbdev_read_header(), fbdev_read_packet(), fbdev_write_header(), fbdev_write_packet(), fbdev_write_trailer(), ff_alloc_input_device_context(), ff_alsa_close(), ff_alsa_xrun_recover(), ff_decklink_cleanup(), ff_decklink_init_device(), ff_decklink_list_formats(), ff_decklink_read_close(), ff_decklink_read_header(), ff_decklink_read_packet(), ff_decklink_set_configs(), ff_decklink_set_format(), ff_decklink_write_header(), ff_decklink_write_packet(), ff_decklink_write_trailer(), ff_img_read_header(), ff_img_read_packet(), ff_mov_add_hinted_packet(), ff_mov_init_hinting(), ff_mov_write_packet(), ff_oss_audio_open(), ff_raw_video_read_header(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), ff_rtp_get_payload_type(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_data(), ff_rtp_send_h261(), ff_rtp_send_h263(), ff_rtp_send_h263_rfc2190(), ff_rtp_send_h264_hevc(), ff_rtp_send_jpeg(), ff_rtp_send_latm(), ff_rtp_send_mpegvideo(), ff_rtp_send_vp8(), ff_rtp_send_vp9(), ff_rtp_send_xiph(), ff_rtsp_close_streams(), ff_rtsp_open_transport_ctx(), ff_rtsp_parse_streaming_commands(), ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), ff_rtsp_tcp_read_packet(), ff_rtsp_tcp_write_packet(), ff_rtsp_undo_setup(), ff_sndio_open(), ff_voc_get_packet(), ff_wms_parse_sdp_a_line(), fifo_consumer_thread(), fifo_deinit(), fifo_init(), fifo_mux_init(), fifo_thread_attempt_recovery(), fifo_thread_flush_output(), fifo_thread_process_recovery_failure(), fifo_thread_recover(), fifo_thread_write_header(), fifo_thread_write_packet(), fifo_thread_write_trailer(), fifo_write_header(), fifo_write_packet(), fifo_write_trailer(), film_init(), film_read_close(), film_read_header(), film_read_packet(), film_read_seek(), film_write_header(), film_write_packet(), find_header_idx(), find_stream(), finish_chunk(), finish_chunk_noindex(), finish_file(), fits_read_header(), fits_read_packet(), fits_write_header(), flac_header(), flac_init(), flac_queue_flush(), flac_read_header(), flac_seek(), flac_write_audio_packet(), flac_write_header(), flac_write_packet(), flac_write_picture(), flac_write_trailer(), flic_read_header(), flic_read_packet(), flush(), flush_buffered(), flush_init_segment(), flush_packet(), flv_read_close(), flv_read_header(), flv_read_metabody(), flv_read_packet(), flv_read_seek(), flv_write_codec_header(), flv_write_header(), flv_write_packet(), flv_write_trailer(), format_child_next(), fourxm_read_close(), fourxm_read_header(), fourxm_read_packet(), free_adaptation_sets(), free_stream(), frm_read_packet(), g726_read_header(), g729_read_header(), gdigrab_read_close(), gdigrab_read_header(), gdigrab_read_packet(), gdv_read_header(), gdv_read_packet(), genh_read_header(), genh_read_packet(), get_aiff_header(), get_audio_config(), get_chunk(), get_chunk_filename(), get_cue_desc(), get_current_fragment(), get_default_pattern_localtime_fmt(), get_image_format(), get_metadata(), get_moov_size(), get_packet_header(), get_riff(), get_sensor_orientation(), get_sidx_size(), get_system_header_size(), get_tag(), get_vcd_padding_size(), get_video_config(), gif_read_ext(), gif_read_header(), gif_read_packet(), gif_write_header(), gif_write_packet(), gif_write_trailer(), grab_read_close(), grab_read_header(), grab_read_packet(), gsm_read_header(), gxf_compare_field_nb(), gxf_header(), gxf_packet(), gxf_write_flt_packet(), gxf_write_header(), gxf_write_map_packet(), gxf_write_material_data_section(), gxf_write_media_preamble(), gxf_write_packet(), gxf_write_track_description(), gxf_write_track_description_section(), gxf_write_trailer(), gxf_write_umf_material_description(), gxf_write_umf_media_description(), gxf_write_umf_packet(), gxf_write_umf_payload(), gxf_write_umf_track_description(), hds_flush(), hds_free(), hds_write_header(), hds_write_packet(), hds_write_trailer(), hls_close(), hls_encryption_start(), hls_init(), hls_mux_init(), hls_read_header(), hls_read_packet(), hls_read_seek(), hls_start(), hls_window(), hls_write_header(), hls_write_packet(), hls_write_trailer(), hlsenc_io_close(), hlsenc_io_open(), hnm_read_close(), hnm_read_header(), hnm_read_packet(), ico_read_close(), ico_write_header(), ico_write_packet(), ico_write_trailer(), idcin_read_header(), idcin_read_packet(), idcin_read_seek(), iec61883_close(), iec61883_read_header(), iec61883_read_packet(), iff_read_header(), iff_read_packet(), image_available(), img_read_close(), img_read_seek(), init_audio(), init_convert_timestamp(), init_muxer(), init_stream(), ipmovie_read_header(), ipmovie_read_packet(), ism_flush(), ism_free(), ism_write_header(), ism_write_packet(), ism_write_trailer(), iss_read_header(), iss_read_packet(), ivf_write_packet(), ivf_write_trailer(), ivr_read_packet(), jacosub_read_close(), jacosub_read_header(), jacosub_read_packet(), jacosub_read_seek(), kmsgrab_read_close(), kmsgrab_read_header(), kmsgrab_read_packet(), kset(), latm_write_frame_header(), latm_write_header(), latm_write_packet(), lavfi_read_close(), lavfi_read_header(), lavfi_read_packet(), libAVMemInputPin_Receive(), list_formats(), list_standards(), load_metadata(), lrc_read_close(), lrc_read_header(), lrc_read_packet(), lrc_read_seek(), lxf_read_header(), lxf_read_packet(), match_framerate(), match_streams(), match_streams_exact_id(), match_streams_one_to_one(), match_video_size(), matroska_convert_tags(), matroska_parse_tracks(), matroska_read_close(), matroska_read_header(), matroska_read_packet(), matroska_read_seek(), microdvd_read_close(), microdvd_read_header(), microdvd_read_packet(), microdvd_read_seek(), mkv_check_new_extra_data(), mkv_start_new_cluster(), mkv_write_attachments(), mkv_write_block(), mkv_write_chapters(), mkv_write_cues(), mkv_write_flush_packet(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tag(), mkv_write_tag_targets(), mkv_write_tags(), mkv_write_tracks(), mkv_write_trailer(), mkv_write_vtt_blocks(), mmap_init(), mmap_read_frame(), mmap_start(), mmf_read_header(), mmf_read_packet(), modplug_load_metadata(), modplug_read_close(), modplug_read_header(), modplug_read_packet(), modplug_read_seek(), mov_auto_flush_fragment(), mov_create_chapter_track(), mov_create_timecode_track(), mov_flush_fragment(), mov_flush_fragment_interleaving(), mov_free(), mov_init(), mov_read_chapters(), mov_read_close(), mov_read_header(), mov_read_packet(), mov_read_seek(), mov_seek_fragment(), mov_switch_root(), mov_write_covr(), mov_write_ctts_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_identification(), mov_write_packet(), mov_write_single_packet(), mov_write_trailer(), mp3_parse_info_tag(), mp3_parse_vbr_tags(), mp3_parse_vbri_tag(), mp3_queue_flush(), mp3_read_header(), mp3_read_packet(), mp3_seek(), mp3_update_xing(), mp3_write_audio_packet(), mp3_write_header(), mp3_write_packet(), mp3_write_trailer(), mp3_write_xing(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpc_read_close(), mpc_read_header(), mpc_read_packet(), mpc_read_seek(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegps_read_header(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_deinit(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_init(), mpegts_insert_pcr_only(), mpegts_prefix_m2ts_header(), mpegts_raw_read_packet(), mpegts_read_close(), mpegts_read_header(), mpegts_read_packet(), mpegts_resync(), mpegts_write_packet_internal(), mpegts_write_pat(), mpegts_write_pes(), mpegts_write_pmt(), mpegts_write_sdt(), mpjpeg_read_close(), mpjpeg_read_packet(), mpjpeg_write_header(), mpjpeg_write_packet(), mpl2_read_close(), mpl2_read_header(), mpl2_read_packet(), mpl2_read_seek(), mpsub_read_close(), mpsub_read_header(), mpsub_read_packet(), mpsub_read_seek(), mtv_read_header(), mtv_read_packet(), mv_read_header(), mv_read_packet(), mv_read_seek(), mxf_decrypt_triplet(), mxf_gen_umid(), mxf_handle_small_eubc(), mxf_init_timecode(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_h264_frame(), mxf_read_close(), mxf_read_header(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_random_index_pack(), mxf_read_seek(), mxf_write_common_fields(), mxf_write_d10_audio_packet(), mxf_write_d10_video_packet(), mxf_write_essence_container_refs(), mxf_write_footer(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_header(), mxf_write_header_metadata_sets(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_opatom_body_partition(), mxf_write_opatom_packet(), mxf_write_package(), mxf_write_packet(), mxf_write_partition(), mxf_write_preface(), mxf_write_primer_pack(), mxf_write_random_index_pack(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_system_item(), mxf_write_tagged_value(), mxf_write_timecode_component(), mxf_write_track(), mxf_write_umid(), mxf_write_user_comments(), mxg_close(), mxg_read_header(), mxg_read_packet(), mxg_update_cache(), nal_send(), ndi_create_audio_stream(), ndi_create_video_stream(), ndi_find_sources(), ndi_read_close(), ndi_read_header(), ndi_read_packet(), ndi_set_audio_packet(), ndi_set_video_packet(), ndi_setup_audio(), ndi_setup_video(), ndi_write_audio_packet(), ndi_write_header(), ndi_write_trailer(), ndi_write_video_packet(), ni_prepare_read(), nprobe(), nsv_parse_NSVf_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nsv_read_header(), nsv_read_packet(), nsv_read_seek(), nsv_resync(), nut_read_close(), nut_read_header(), nut_read_packet(), nut_read_timestamp(), nut_write_deinit(), nut_write_header(), nut_write_packet(), nut_write_trailer(), nuv_header(), nuv_packet(), nuv_read_dts(), ogg_buffer_data(), ogg_buffer_page(), ogg_calc_pts(), ogg_get_length(), ogg_gptopts(), ogg_init(), ogg_new_stream(), ogg_packet(), ogg_read_close(), ogg_read_header(), ogg_read_packet(), ogg_read_page(), ogg_read_seek(), ogg_read_timestamp(), ogg_replace_stream(), ogg_reset(), ogg_restore(), ogg_save(), ogg_validate_keyframe(), ogg_write_pages(), ogm_dshow_header(), ogm_header(), ogm_packet(), old_dirac_gptopts(), old_dirac_header(), old_flac_header(), oma_read_close(), oma_read_header(), oma_read_packet(), oma_read_seek(), open_camera(), open_demux_for_component(), open_file(), open_next_file(), open_url(), opengl_compute_display_area(), opengl_control_message(), opengl_create_window(), opengl_draw(), opengl_prepare_vertex(), opengl_release_window(), opengl_resize(), opengl_write_header(), opengl_write_trailer(), opus_header(), opus_packet(), output_packet(), output_segment_list(), parse_adaptation_sets(), parse_audio_var(), parse_cc_stream_mapstring(), parse_chunks(), parse_command_line(), parse_device_name(), parse_global_var(), parse_keyframes_index(), parse_manifest(), parse_manifest_representation(), parse_manifest_segmenturlnode(), parse_master(), parse_media_type(), parse_playlist(), parse_variant_stream_mapstring(), parse_videoinfoheader2(), pcm_read_header(), picture_coding_extension(), picture_display_extension(), pixfmt_from_pixmap_format(), pjs_read_close(), pjs_read_header(), pjs_read_packet(), pjs_read_seek(), pmp_close(), pmp_header(), pmp_packet(), pmp_seek(), pps(), pps_range_extension(), pred_weight_table(), process_audio_header_eacs(), process_audio_header_elements(), process_audio_header_sead(), process_ea_header(), pulse_audio_sink_input_cb(), pulse_close(), pulse_control_message(), pulse_event(), pulse_get_device_list(), pulse_get_output_timestamp(), pulse_read_header(), pulse_read_packet(), pulse_stream_writable(), pulse_update_sink_info(), pulse_update_sink_input_info(), pulse_write_header(), pulse_write_packet(), pulse_write_trailer(), purge_dialogues(), put_chunk(), put_frame(), put_pack_header(), put_padding_packet(), put_payload_header(), put_payload_parsing_info(), put_swf_end_tag(), put_swf_tag(), put_system_header(), put_vcd_padding_sector(), pva_read_timestamp(), qcp_read_header(), qcp_read_packet(), r3d_close(), r3d_read_header(), r3d_read_packet(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_reos(), r3d_seek(), raw_read_packet(), rawvideo_read_header(), read16(), read32(), read_close(), read_close_gme(), read_close_openmpt(), read_data(), read_desc_chunk(), read_dst_frame(), read_header(), read_header_gme(), read_header_openmpt(), read_line(), read_odml_index(), read_packet(), read_packet_gme(), read_packet_openmpt(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_seek_gme(), read_seek_openmpt(), read_xing_toc(), real_seek(), realtext_read_close(), realtext_read_header(), realtext_read_packet(), realtext_read_seek(), recheck_discard_flags(), redspark_read_header(), redspark_read_packet(), ref_pic_list_modification(), refresh_manifest(), reopen_demux_for_component(), reset_packet_state(), resetup_tcp(), resync(), retransmit_si_info(), rl2_read_packet(), rl2_read_seek(), rm_read_dts(), rm_read_header(), rm_read_header_old(), rm_read_packet(), rm_read_seek(), rm_sync(), rm_write_audio(), rm_write_header(), rm_write_trailer(), rm_write_video(), roq_read_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rprobe(), rtcp_send_sr(), rtp_mpegts_write_close(), rtp_mpegts_write_header(), rtp_mpegts_write_packet(), rtp_send_ilbc(), rtp_send_mpegaudio(), rtp_send_mpegts_raw(), rtp_send_raw(), rtp_send_samples(), rtp_write_header(), rtp_write_packet(), rtp_write_trailer(), rtsp_listen(), rtsp_read_announce(), rtsp_read_close(), rtsp_read_header(), rtsp_read_options(), rtsp_read_packet(), rtsp_read_pause(), rtsp_read_play(), rtsp_read_record(), rtsp_read_request(), rtsp_read_seek(), rtsp_read_setup(), rtsp_send_reply(), rtsp_write_close(), rtsp_write_packet(), rtsp_write_record(), rv10_write_header(), sami_read_close(), sami_read_header(), sami_read_packet(), sami_read_seek(), sap_fetch_packet(), sap_read_close(), sap_read_header(), sap_write_close(), sap_write_header(), sap_write_packet(), save_avio_options(), sbg_read_header(), scan_file(), scc_read_close(), scc_read_header(), scc_read_packet(), scc_read_seek(), scc_write_header(), scc_write_packet(), sdl2_write_header(), sdl2_write_packet(), sdl2_write_trailer(), sds_read_header(), sds_read_packet(), seg_check_bitstream(), seg_free(), seg_init(), seg_write_header(), seg_write_packet(), seg_write_trailer(), segment_end(), segment_list_open(), segment_mux_init(), segment_start(), sei_buffering_period(), sei_pic_timestamp(), sei_pic_timing(), select_reference_stream(), send_mode_a(), send_mode_b(), send_packet(), send_picture(), seq_read_close(), seq_read_header(), seq_read_packet(), sequence_extension(), sequence_header(), set_segment_filename(), setup_crossbar_options(), setup_window(), shall_we_drop(), shift_data(), siff_read_header(), siff_read_packet(), skeleton_header(), skip_to_key(), slice_header(), slice_segment_header(), smacker_read_close(), smacker_read_header(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), smjpeg_write_packet(), smjpeg_write_trailer(), smush_read_header(), smush_read_packet(), sox_write_header(), sox_write_trailer(), spdif_header_aac(), spdif_header_ac3(), spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_header_mpeg(), spdif_header_truehd(), spdif_write_header(), spdif_write_packet(), spdif_write_trailer(), speex_header(), speex_packet(), sps(), srt_read_close(), srt_read_header(), srt_read_packet(), srt_read_seek(), srt_write_header(), srt_write_packet(), start_jack(), stl_read_close(), stl_read_header(), stl_read_packet(), stl_read_seek(), str_read_close(), str_read_header(), str_read_packet(), subviewer1_read_close(), subviewer1_read_header(), subviewer1_read_packet(), subviewer1_read_seek(), subviewer_read_close(), subviewer_read_header(), subviewer_read_packet(), subviewer_read_seek(), swf_read_header(), swf_read_packet(), swf_write_audio(), swf_write_header(), swf_write_trailer(), swf_write_video(), tak_read_header(), tedcaptions_read_close(), tedcaptions_read_header(), tedcaptions_read_packet(), tedcaptions_read_seek(), tee_process_slave_failure(), tee_write_header(), tee_write_packet(), tee_write_trailer(), theora_gptopts(), theora_header(), theora_packet(), thp_read_header(), thp_read_packet(), tmv_read_header(), tmv_read_packet(), tmv_read_seek(), try_seek(), tta_init(), tta_queue_flush(), tta_read_header(), tta_read_packet(), tta_read_seek(), tta_write_header(), tta_write_packet(), tta_write_trailer(), ty_read_close(), ty_read_header(), ty_read_packet(), update_index(), update_init_section(), update_master_pl_info(), update_noheader_flag(), update_odml_entry(), update_variant_stream_info(), v210_read_header(), v4l2_get_device_list(), v4l2_read_close(), v4l2_read_header(), v4l2_read_packet(), v4l2_set_parameters(), vc1test_write_packet(), vc1test_write_trailer(), vfw_read_close(), vfw_read_header(), vfw_read_packet(), vid_read_close(), vid_read_header(), vid_read_packet(), decklink_input_callback::VideoInputFrameArrived(), videostream_cb(), vivo_get_packet_header(), vivo_read_header(), vivo_read_packet(), vmd_read_close(), vmd_read_header(), vmd_read_packet(), voc_read_header(), voc_read_seek(), voc_write_packet(), vorbis_cleanup(), vorbis_header(), vorbis_packet(), vorbis_update_metadata(), vp8_gptopts(), vp8_header(), vp8_packet(), vpk_read_header(), vpk_read_packet(), vplayer_read_close(), vplayer_read_header(), vplayer_read_packet(), vplayer_read_seek(), vqf_read_header(), vqf_read_packet(), vqf_read_seek(), wait_for_image_format(), wait_frame(), wc3_read_close(), wc3_read_header(), wc3_read_packet(), webm_chunk_write_header(), webm_chunk_write_packet(), webm_chunk_write_trailer(), webm_clusters_start_with_keyframe(), webm_dash_manifest_compute_bandwidth(), webm_dash_manifest_cues(), webm_dash_manifest_read_header(), webm_dash_manifest_write_header(), webp_write_packet(), webp_write_trailer(), webvtt_read_close(), webvtt_read_header(), webvtt_read_packet(), webvtt_read_seek(), write_abst(), write_adaptation_set(), write_chunk_header(), write_chunk_header2(), write_header(), write_headers(), write_image_header(), write_index(), write_manifest(), write_metadata(), write_odml_master(), write_packet(), write_picture(), write_representation(), write_root_table(), write_streamheader(), write_sync(), write_table_entries_attrib(), write_table_entries_events(), write_table_entries_time(), write_table_redirector_legacy_attrib(), write_timestamp(), write_trailer(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_block_header(), wv_read_header(), wv_read_packet(), wv_write_packet(), wv_write_trailer(), xa_read_header(), xa_read_packet(), xcbgrab_frame(), xcbgrab_read_close(), xcbgrab_read_header(), xcbgrab_read_packet(), xcbgrab_reposition(), xcbgrab_update_region(), xmv_fetch_audio_packet(), xmv_fetch_new_packet(), xmv_fetch_video_packet(), xmv_process_packet_header(), xmv_read_close(), xmv_read_header(), xmv_read_packet(), xv_repaint(), xv_write_header(), xv_write_trailer(), xwma_read_header(), xwma_read_packet(), yop_read_close(), yop_read_header(), yop_read_packet(), yop_read_seek(), yuv4_write_header(), and yuv4_write_packet().

AVIOContext* AVFormatContext::pb

I/O context.

Do NOT set this field if AVFMT_NOFILE flag is set in iformat/oformat.flags. In such a case, the (de)muxer will handle I/O in some other way and this field will be NULL.

Examples:
avio_reading.c, muxing.c, transcoding.c, and vaapi_transcode.c.

Definition at line 1384 of file avformat.h.

Referenced by a64_write_header(), aa_read_header(), aa_read_packet(), aal_read_packet(), acm_read_header(), add_metadata(), adp_read_header(), adp_read_packet(), ads_read_header(), ads_read_packet(), adts_aac_read_header(), adts_aac_read_packet(), adts_write_packet(), adx_read_header(), adx_read_packet(), aea_read_header(), aea_read_packet(), afc_read_header(), afc_read_packet(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_packet(), aiff_write_trailer(), aix_read_header(), aix_read_packet(), amf_parse_object(), amr_read_header(), amr_read_packet(), apc_read_header(), apc_read_packet(), ape_read_header(), ape_read_packet(), ape_read_seek(), ape_tag_read_field(), apng_read_header(), apng_read_packet(), apng_write_header(), apng_write_trailer(), aptx_hd_read_packet(), aptx_read_packet(), aqt_read_header(), asf_build_simple_index(), asf_read_content_desc(), asf_read_data(), asf_read_ext_content(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_file_properties(), asf_read_header(), asf_read_language_list(), asf_read_marker(), asf_read_metadata(), asf_read_metadata_obj(), asf_read_multiple_payload(), asf_read_packet(), asf_read_packet_header(), asf_read_payload(), asf_read_picture(), asf_read_properties(), asf_read_pts(), asf_read_replicated_data(), asf_read_seek(), asf_read_simple_index(), asf_read_single_payload(), asf_read_stream_properties(), asf_read_subpayload(), asf_read_timestamp(), asf_read_unknown(), asf_read_value(), asf_set_metadata(), asf_store_aspect_ratio(), asf_write_header(), asf_write_header1(), asf_write_index(), asf_write_markers(), asf_write_packet(), asf_write_trailer(), asfrtp_parse_packet(), ass_read_header(), ast_read_header(), ast_read_packet(), ast_write_header(), ast_write_packet(), ast_write_trailer(), av_demuxer_open(), av_interleaved_write_frame(), av_read_pause(), av_read_play(), av_write_frame(), av_write_trailer(), avformat_close_input(), avformat_find_stream_info(), avformat_open_input(), avformat_write_header(), avi_add_ientry(), avi_load_index(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_nikon(), avi_read_packet(), avi_read_seek(), avi_read_tag(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_packet_internal(), avi_write_trailer(), avr_read_header(), avs_read_audio_packet(), avs_read_header(), avs_read_packet(), avs_read_video_packet(), bfi_read_header(), bfi_read_packet(), bmv_read_packet(), caf_write_header(), caf_write_packet(), caf_write_trailer(), cdata_read_header(), cdata_read_packet(), cdxl_read_header(), cdxl_read_packet(), chunk_end(), chunk_start(), cin_read_header(), cin_read_packet(), cine_read_header(), cine_read_packet(), cine_read_seek(), close_demux_for_component(), close_slave(), codec2_read_header(), codec2_read_packet(), codec2_write_header(), concat_read_header(), crc_write_trailer(), dash_flush(), dash_free(), dash_init(), dash_read_header(), dash_write_packet(), daud_packet(), daud_write_packet(), dcstr_read_header(), dcstr_read_packet(), decode_fctl_chunk(), decode_frame(), decode_frame_header(), decode_info_header(), decode_main_header(), decode_stream_header(), decode_syncpoint(), detect_unknown_subobject(), dfa_read_header(), dfa_read_packet(), dsf_read_header(), dsf_read_packet(), dss_723_1_read_packet(), dss_read_header(), dss_read_metadata_date(), dss_read_metadata_string(), dss_read_seek(), dss_skip_audio_header(), dss_sp_read_packet(), dtshd_read_header(), dv_frame_offset(), dv_read_header(), dv_read_packet(), dv_read_seek(), dv_read_timecode(), dv_write_packet(), dxa_read_header(), dxa_read_packet(), ea_read_packet(), ebml_level_end(), ebml_parse(), ebml_parse_elem(), ebml_read_master(), efi_read(), epaf_read_header(), estimate_timings(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), event_loop(), ff_ape_parse_tag(), ff_ape_write_tag(), ff_configure_buffers_for_index(), ff_find_last_ts(), ff_format_output_open(), ff_framehash_write_header(), ff_id3v1_read(), ff_id3v2_read(), ff_id3v2_write_apic(), ff_id3v2_write_metadata(), ff_id3v2_write_simple(), ff_img_read_header(), ff_img_read_packet(), ff_mov_add_hinted_packet(), ff_mov_close_hinting(), ff_mov_write_packet(), ff_pcm_read_packet(), ff_pcm_read_seek(), ff_raw_read_partial_packet(), ff_raw_write_packet(), ff_read_riff_info(), ff_riff_write_info(), ff_rtp_chain_mux_open(), ff_rtp_send_data(), ff_rtsp_tcp_write_packet(), ff_rtsp_undo_setup(), ff_sauce_read(), ff_seek_frame_binary(), ff_spdif_read_packet(), ff_voc_get_packet(), ff_wms_parse_sdp_a_line(), ffmpeg_cleanup(), fifo_thread_write_trailer(), film_read_header(), film_read_packet(), film_read_seek(), film_write_header(), film_write_packet(), film_write_packet_to_header(), find_and_decode_index(), finish(), finish_chunk_noindex(), finish_file(), finished_reading_packet(), fits_read_packet(), fits_write_packet(), flac_finish_header(), flac_read_header(), flac_read_timestamp(), flac_seek(), flac_write_audio_packet(), flac_write_header(), flac_write_picture(), flac_write_trailer(), flic_read_header(), flic_read_packet(), flush(), flush_dynbuf(), flush_if_needed(), flush_packet(), flv_data_packet(), flv_get_extradata(), flv_read_header(), flv_read_metabody(), flv_read_packet(), flv_read_seek(), flv_set_video_codec(), flv_write_codec_header(), flv_write_header(), flv_write_packet(), flv_write_trailer(), format_child_next(), fourxm_read_header(), fourxm_read_packet(), framecrc_write_header(), framecrc_write_packet(), free_playlist_list(), free_representation(), frm_read_header(), frm_read_packet(), fsb_read_header(), fsb_read_packet(), g723_1_read_packet(), g726_read_packet(), g729_read_packet(), gdv_read_header(), gdv_read_packet(), genh_read_header(), genh_read_packet(), get_aac_sample_rates(), get_aiff_header(), get_chunk(), get_meta(), get_metadata(), get_packet_header(), get_tag(), gif_read_ext(), gif_read_header(), gif_read_packet(), gif_write_header(), gif_write_packet(), gif_write_trailer(), gsm_read_packet(), guess_ni_flag(), gxf_header(), gxf_packet(), gxf_read_index(), gxf_read_timestamp(), gxf_resync_media(), gxf_seek(), gxf_write_flt_packet(), gxf_write_header(), gxf_write_map_packet(), gxf_write_material_data_section(), gxf_write_media_preamble(), gxf_write_packet(), gxf_write_track_description(), gxf_write_track_description_section(), gxf_write_trailer(), gxf_write_umf_material_description(), gxf_write_umf_media_description(), gxf_write_umf_packet(), gxf_write_umf_payload(), gxf_write_umf_track_description(), handle_id3(), handle_packet(), handle_packets(), hds_flush(), hds_free(), hds_write_header(), hls_mux_init(), hls_read_header(), hls_start(), hls_write_packet(), hls_write_trailer(), hnm_read_header(), hnm_read_packet(), ico_write_header(), ico_write_packet(), ico_write_trailer(), idcin_read_header(), idcin_read_packet(), idcin_read_seek(), iff_read_header(), iff_read_packet(), ilbc_read_header(), ilbc_read_packet(), ilbc_write_header(), ilbc_write_packet(), ingenient_read_packet(), init_fps(), init_input(), ipmovie_read_header(), ipmovie_read_packet(), ircam_read_header(), ircam_write_header(), is_image(), is_realtime(), ism_flush(), ism_free(), ism_write_header(), iss_read_header(), iss_read_packet(), ivf_write_header(), ivf_write_packet(), ivf_write_trailer(), ivr_read_header(), ivr_read_packet(), jacosub_read_header(), jacosub_write_header(), latm_write_packet(), lmlm4_read_packet(), lrc_read_header(), lrc_write_header(), lrc_write_packet(), lvf_read_header(), lvf_read_packet(), lxf_read_header(), lxf_read_packet(), lxf_sync(), main(), matroska_execute_seekhead(), matroska_parse_cluster(), matroska_parse_cluster_incremental(), matroska_parse_seekhead_entry(), matroska_read_header(), matroska_read_packet(), matroska_read_seek(), matroska_resync(), microdvd_read_header(), microdvd_write_header(), microdvd_write_packet(), mkv_check_new_extra_data(), mkv_start_new_cluster(), mkv_write_attachments(), mkv_write_chapters(), mkv_write_cues(), mkv_write_flush_packet(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tag_targets(), mkv_write_tags(), mkv_write_tracks(), mkv_write_trailer(), mmf_read_header(), mmf_read_packet(), modplug_read_header(), mov_find_next_sample(), mov_flush_fragment(), mov_init(), mov_read_header(), mov_read_rtmd_track(), mov_read_timecode_track(), mov_read_trak(), mov_switch_root(), mov_write_header(), mov_write_trailer(), mp3_parse_info_tag(), mp3_parse_vbr_tags(), mp3_parse_vbri_tag(), mp3_queue_flush(), mp3_read_header(), mp3_read_packet(), mp3_seek(), mp3_sync(), mp3_update_xing(), mp3_write_header(), mp3_write_trailer(), mp3_write_xing(), mpc8_handle_chunk(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpc8_read_seek(), mpc_read_header(), mpc_read_packet(), mpegps_read_dts(), mpegps_read_header(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_insert_null_packet(), mpegts_insert_pcr_only(), mpegts_prefix_m2ts_header(), mpegts_raw_read_packet(), mpegts_read_header(), mpegts_resync(), mpegts_write_end(), mpegts_write_packet_internal(), mpegts_write_pes(), mpjpeg_read_header(), mpjpeg_read_packet(), mpjpeg_write_header(), mpjpeg_write_packet(), mpl2_read_header(), mpsub_read_header(), msf_read_header(), msf_read_packet(), msnwc_tcp_read_header(), msnwc_tcp_read_packet(), mtaf_read_header(), mtaf_read_packet(), mtv_read_header(), mtv_read_packet(), musx_read_header(), musx_read_packet(), mv_read_header(), mv_read_packet(), mv_read_seek(), mxf_decrypt_triplet(), mxf_parse_handle_essence(), mxf_parse_klv(), mxf_read_header(), mxf_read_local_tags(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_random_index_pack(), mxf_read_seek(), mxf_seek_to_previous_partition(), mxf_write_cdci_common(), mxf_write_common_fields(), mxf_write_content_storage(), mxf_write_d10_audio_packet(), mxf_write_d10_video_packet(), mxf_write_essence_container_data(), mxf_write_essence_container_refs(), mxf_write_footer(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_klv_fill(), mxf_write_mpegvideo_desc(), mxf_write_multi_descriptor(), mxf_write_opatom_body_partition(), mxf_write_opatom_packet(), mxf_write_package(), mxf_write_packet(), mxf_write_partition(), mxf_write_preface(), mxf_write_primer_pack(), mxf_write_random_index_pack(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_system_item(), mxf_write_tagged_value(), mxf_write_tape_descriptor(), mxf_write_timecode_component(), mxf_write_track(), mxf_write_umid(), mxf_write_wav_common(), mxg_read_packet(), mxg_update_cache(), nc_read_packet(), need_output(), nist_read_header(), nsp_read_header(), nsv_parse_NSVf_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_seek(), nsv_resync(), nut_read_header(), nut_read_packet(), nut_read_timestamp(), nut_write_header(), nut_write_packet(), nut_write_trailer(), nuv_header(), nuv_packet(), nuv_read_dts(), nuv_resync(), ogg_get_length(), ogg_read_page(), ogg_read_timestamp(), ogg_replace_stream(), ogg_reset(), ogg_restore(), ogg_save(), ogg_write_page(), oma_read_header(), oma_read_seek(), oma_write_header(), open_output_file(), parse_audio_var(), parse_dsd_diin(), parse_dsd_prop(), parse_global_var(), parse_playlist(), parse_video_var(), pcm_read_header(), pjs_read_header(), pmp_header(), pmp_packet(), print_report(), process_audio_header_eacs(), process_audio_header_elements(), process_audio_header_sead(), process_ea_header(), process_metadata(), process_video_header_cmv(), process_video_header_mdec(), process_video_header_vp6(), purge_dialogues(), put_chunk(), put_id3v2_tags(), put_meta(), put_payload_parsing_info(), put_swf_end_tag(), put_swf_tag(), put_vcd_padding_sector(), pva_read_packet(), pva_read_timestamp(), pvf_read_header(), qcp_read_header(), qcp_read_packet(), r3d_read_header(), r3d_read_packet(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_read_reos(), r3d_seek(), raw_read_packet(), rawvideo_read_packet(), rdt_parse_packet(), read16(), read32(), read_atom(), read_chapter(), read_desc_chunk(), read_dst_frame(), read_gab2_sub(), read_header(), read_header_gme(), read_header_openmpt(), read_id3(), read_info_chunk(), read_kuki_chunk(), read_odml_index(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_table(), read_thread(), read_xing_toc(), realtext_read_header(), reanalyze(), redspark_read_header(), redspark_read_packet(), reopen_demux_for_component(), resync(), rl2_read_header(), rl2_read_packet(), rm_read_dts(), rm_read_header(), rm_read_header_old(), rm_read_index(), rm_read_multi(), rm_read_packet(), rm_sync(), rm_write_audio(), rm_write_header(), rm_write_trailer(), rm_write_video(), roq_read_header(), roq_read_packet(), roq_write_header(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rso_write_header(), rso_write_packet(), rso_write_trailer(), rtp_mpegts_write_close(), rtp_mpegts_write_header(), rtp_mpegts_write_packet(), rtp_write_header(), rtp_write_trailer(), rv10_write_header(), s337m_read_packet(), sami_read_header(), sap_read_header(), sap_write_close(), save_avio_options(), sbg_read_header(), scc_read_header(), scc_write_header(), scc_write_packet(), sdr2_read_header(), sdr2_read_packet(), sds_read_header(), sds_read_packet(), sdx_read_header(), section_write_packet(), seek_frame_byte(), seek_frame_generic(), seg_init(), seg_write_header(), seg_write_packet(), seg_write_trailer(), segment_end(), segment_start(), seq_read_header(), seq_read_packet(), set_spdif(), shift_data(), show_format(), siff_read_header(), siff_read_packet(), smacker_read_header(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), smjpeg_write_header(), smjpeg_write_packet(), smjpeg_write_trailer(), smush_read_header(), smush_read_packet(), sol_read_header(), sol_read_packet(), sox_read_header(), sox_write_header(), sox_write_trailer(), spdif_write_packet(), srt_read_header(), srt_write_packet(), stl_read_header(), str_read_header(), str_read_packet(), subviewer1_read_header(), subviewer_read_header(), sup_read_packet(), sup_write_packet(), svag_read_header(), svag_read_packet(), swf_read_header(), swf_read_packet(), swf_write_header(), swf_write_trailer(), swf_write_video(), tak_read_header(), tedcaptions_read_header(), thp_read_header(), thp_read_packet(), threedostr_read_header(), threedostr_read_packet(), tmv_read_header(), tmv_read_packet(), tmv_read_seek(), tta_queue_flush(), tta_read_header(), tta_read_packet(), tta_read_seek(), tta_write_header(), tta_write_trailer(), txd_read_packet(), ty_read_header(), ty_read_packet(), update_odml_entry(), update_stream_timings(), v210_read_packet(), vag_read_header(), vag_read_packet(), var_read_metadata(), vc1t_read_header(), vc1t_read_packet(), vc1test_write_header(), vc1test_write_packet(), vc1test_write_trailer(), vid_read_header(), vid_read_packet(), vivo_get_packet_header(), vivo_read_header(), vivo_read_packet(), vmd_read_header(), vmd_read_packet(), voc_read_header(), voc_read_seek(), voc_write_header(), voc_write_packet(), voc_write_trailer(), vpk_read_header(), vpk_read_packet(), vplayer_read_header(), vqf_read_header(), vqf_read_packet(), vqf_read_seek(), wc3_read_header(), wc3_read_packet(), webm_chunk_write_header(), webm_clusters_start_with_keyframe(), webm_dash_manifest_cues(), webm_dash_manifest_read_header(), webm_dash_manifest_write_header(), webp_write_packet(), webp_write_trailer(), webvtt_read_header(), webvtt_write_header(), webvtt_write_packet(), write_adaptation_set(), write_chapter(), write_chunk_header(), write_chunk_header2(), write_fat_sector(), write_footer(), write_frame(), write_header(), write_image_header(), write_index(), write_keyword_value(), write_metadata(), write_odml_master(), write_packet(), write_packet_header(), write_representation(), write_root_table(), write_stream_codec(), write_stream_codec_info(), write_stream_data(), write_sync(), write_table_entries_attrib(), write_table_entries_events(), write_table_entries_time(), write_table_redirector_legacy_attrib(), write_timestamp(), write_trailer(), wsaud_read_header(), wsaud_read_packet(), wsd_read_header(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open_sector(), wv_read_header(), wv_read_packet(), wv_write_packet(), wv_write_trailer(), wve_read_header(), xa_read_header(), xa_read_packet(), xmv_fetch_audio_packet(), xmv_fetch_new_packet(), xmv_fetch_video_packet(), xmv_process_packet_header(), xmv_read_header(), xvag_read_header(), xvag_read_packet(), xwma_read_header(), xwma_read_packet(), yop_read_header(), yop_read_packet(), yop_read_seek(), yuv4_read_header(), yuv4_read_packet(), yuv4_read_seek(), and yuv4_write_packet().

int AVFormatContext::ctx_flags
unsigned int AVFormatContext::nb_streams

Number of elements in AVFormatContext.streams.

Set by avformat_new_stream(), must not be modified by any other code.

Examples:
muxing.c, qsvdec.c, remuxing.c, and transcoding.c.

Definition at line 1398 of file avformat.h.

Referenced by add_input_streams(), add_keyframes_index(), add_stream(), aiff_write_header(), aix_read_packet(), amf_parse_object(), apng_write_header(), asf_read_pts(), asf_read_stream_properties(), asf_write_header(), asf_write_header1(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), ast_write_header(), audio_write_header(), av_dump_format(), av_find_best_stream(), av_find_default_stream_index(), av_format_inject_global_side_data(), av_program_add_stream_index(), av_write_trailer(), avformat_find_stream_info(), avformat_free_context(), avformat_match_stream_specifier(), avformat_new_stream(), avformat_open_input(), avformat_queue_attached_pictures(), avformat_seek_file(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_seek(), avi_start_new_riff(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_trailer(), avisynth_next_stream(), build_frame_code(), caca_write_header(), caf_write_header(), calculate_bitrate(), check_init_output_file(), check_packet(), check_stream_max_drift(), check_video_streams(), chunk_mux_init(), clean_index(), clear_index_entries(), close_slave(), codec2_write_header(), concat_read_header(), configure_output_audio_filter(), copy_metadata(), create_stream(), create_subcc_streams(), dash_flush(), dash_free(), dash_init(), dash_write_header(), dash_write_trailer(), decode_info_header(), do_video_out(), dump_video_streams(), dv_init_mux(), dv_write_header(), enable_tracks(), estimate_timings(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_orphan_timecode(), fbdev_write_header(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_configure_buffers_for_index(), ff_decklink_write_header(), ff_find_stream_index(), ff_framehash_write_header(), ff_free_stream(), ff_interleave_packet_per_dts(), ff_metadata_conv_ctx(), ff_mov_read_esds(), ff_mov_read_stsd_entries(), ff_nut_reset_ts(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_read_packet(), ff_rfps_calculate(), ff_rtsp_setup_output_streams(), ff_spdif_read_packet(), ff_update_cur_dts(), fifo_mux_init(), fifo_thread_write_header(), fill_all_stream_timings(), film_init(), film_read_header(), finalize_packet(), find_and_decode_index(), find_stream(), find_video_stream_info(), finish_output_stream(), flac_finish_header(), flac_init(), flv_data_packet(), flv_read_metabody(), flv_read_packet(), flv_write_header(), flv_write_trailer(), force_one_stream(), framecrc_write_header(), get_duration(), get_metadata_duration(), get_nth_codec_stream_index(), get_packet_header(), get_sindex(), get_subtitle_pkt(), get_system_header_size(), gif_write_header(), guess_ni_flag(), gxf_header(), gxf_write_header(), gxf_write_track_description_section(), gxf_write_umf_media_description(), gxf_write_umf_payload(), gxf_write_umf_track_description(), handle_file(), handle_id3(), handle_packet(), has_duration(), hds_free(), hds_write_header(), hls_read_header(), hls_read_packet(), ico_write_header(), id3_has_changed_values(), ilbc_write_header(), init_filters(), init_input_filter(), init_muxer(), init_output_stream_encode(), init_pts(), ircam_write_header(), ism_flush(), ism_free(), ism_write_header(), ivf_write_header(), ivr_read_packet(), log_slave(), lrc_write_header(), lxf_read_packet(), main(), match_streams(), match_streams_exact_id(), match_streams_one_to_one(), microdvd_write_header(), mkv_init(), mkv_write_attachments(), mkv_write_header(), mkv_write_tags(), mkv_write_tracks(), mkv_write_trailer(), mov_find_next_sample(), mov_flush_fragment(), mov_init(), mov_read_aclr(), mov_read_ares(), mov_read_chan(), mov_read_chapters(), mov_read_clli(), mov_read_close(), mov_read_coll(), mov_read_colr(), mov_read_ctts(), mov_read_custom(), mov_read_dac3(), mov_read_ddts(), mov_read_dec3(), mov_read_dfla(), mov_read_dops(), mov_read_dref(), mov_read_dvc1(), mov_read_elst(), mov_read_enda(), mov_read_extradata(), mov_read_fiel(), mov_read_frma(), mov_read_glbl(), mov_read_hdlr(), mov_read_header(), mov_read_mdcv(), mov_read_mdhd(), mov_read_pasp(), mov_read_saiz(), mov_read_sbgp(), mov_read_seek(), mov_read_senc(), mov_read_sidx(), mov_read_smdm(), mov_read_st3d(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stsd(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_sv3d(), mov_read_targa_y216(), mov_read_tfdt(), mov_read_tkhd(), mov_read_tmcd(), mov_read_trak(), mov_read_trun(), mov_read_uuid(), mov_read_vpcc(), mov_read_wave(), mov_read_wfex(), mov_setup_track_ids(), mov_write_covr(), mov_write_ftyp_tag(), mov_write_header(), mov_write_identification(), mov_write_moov_tag(), mov_write_single_packet(), mov_write_trailer(), movie_common_init(), mp3_write_header(), mpc8_parse_seektable(), mpeg_mux_end(), mpeg_mux_init(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_deinit(), mpegts_init(), mpegts_write_flush(), mpegts_write_packet_internal(), mpegts_write_pmt(), mv_read_packet(), mv_read_seek(), mxf_compute_index_tables(), mxf_free(), mxf_get_opatom_stream(), mxf_get_stream_index(), mxf_interleave_get_packet(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_read_close(), mxf_read_seek(), mxf_write_header(), mxf_write_header_metadata_sets(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_partition(), ndi_write_header(), need_output(), new_output_stream(), ni_prepare_read(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_header(), nut_read_header(), nut_write_deinit(), nut_write_header(), nut_write_packet(), ogg_free(), ogg_init(), ogg_write_header(), ogg_write_packet(), ogg_write_trailer(), open_demux_for_component(), open_input_file(), open_output_file(), open_slave(), opengl_write_header(), output_packet(), parse_adaptation_sets(), pmt_cb(), print_final_stats(), probe_file(), process_input(), process_ipmovie_chunk(), pulse_write_header(), put_system_header(), qt_rtp_parse_packet(), r3d_read_packet(), r3d_read_reda(), rdt_parse_sdp_line(), read_frame_internal(), read_gab2_sub(), read_header(), read_interval_packets(), read_odml_index(), read_packet(), read_seek(), read_thread(), real_seek(), remove_decoded_packets(), reopen_demux_for_component(), rl2_read_packet(), rl2_read_seek(), rm_read_close(), rm_read_index(), rm_sync(), rm_write_header(), rm_write_trailer(), roq_write_header(), rpl_read_packet(), rtp_mpegts_write_header(), rtp_write_header(), rtsp_read_header(), rtsp_read_packet(), rv10_write_header(), s337m_read_packet(), sap_fetch_packet(), sap_read_header(), sap_write_close(), sap_write_header(), scc_write_header(), sdl2_write_header(), seg_init(), seg_write_header(), segment_end(), segment_mux_init(), select_reference_stream(), set_disposition_bits(), setup_find_stream_info_opts(), show_format(), smjpeg_write_header(), srt_write_header(), stream_component_close(), stream_component_open(), stream_cycle_channel(), sub2video_prepare(), sup_write_header(), swf_read_packet(), swf_write_header(), swf_write_trailer(), tee_write_header(), tmcd_is_referenced(), transcode_init(), try_seek(), tta_init(), update_frag_index(), update_stream_avctx(), update_stream_timings(), update_streams_from_subdemuxer(), update_variant_stream_info(), update_wrap_reference(), voc_read_packet(), voc_read_seek(), voc_write_header(), webm_chunk_write_header(), webm_chunk_write_trailer(), webm_dash_manifest_read_header(), webp_write_header(), webvtt_write_header(), write_adaptation_set(), write_header(), write_headers(), write_index(), write_mainheader(), write_manifest(), write_trailer(), wv_write_header(), xmv_process_packet_header(), xv_write_header(), and yuv4_write_header().

AVStream** AVFormatContext::streams

A list of all streams in the file.

New streams are created with avformat_new_stream().

Freed by libavformat in avformat_free_context().

Examples:
demuxing_decoding.c, filtering_audio.c, filtering_video.c, hw_decode.c, muxing.c, qsvdec.c, remuxing.c, transcoding.c, and vaapi_transcode.c.

Definition at line 1410 of file avformat.h.

Referenced by a64_write_header(), aal_read_packet(), adaptation_set_add_stream(), add_input_streams(), add_keyframes_index(), ads_read_packet(), adts_init(), adts_write_packet(), adx_read_header(), adx_read_packet(), aea_read_packet(), aiff_read_packet(), aiff_write_header(), aiff_write_packet(), aiff_write_trailer(), aix_read_header(), amr_parse_sdp_line(), amr_read_packet(), ape_read_seek(), apng_read_packet(), apng_write_header(), asf_build_simple_index(), asf_parse_packet(), asf_read_data(), asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_read_pts(), asf_read_seek(), asf_read_simple_index(), asf_read_timestamp(), asf_write_header1(), asf_write_packet(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), ast_read_packet(), ast_write_header(), ast_write_packet(), ast_write_trailer(), audio_write_frame(), audio_write_header(), av_find_best_stream(), av_find_default_stream_index(), av_format_inject_global_side_data(), av_interleaved_write_frame(), av_read_frame(), av_write_frame(), av_write_trailer(), avformat_find_stream_info(), avformat_free_context(), avformat_match_stream_specifier(), avformat_new_stream(), avformat_open_input(), avformat_queue_attached_pictures(), avformat_seek_file(), avi_add_ientry(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_packet_internal(), avi_write_trailer(), avisynth_next_stream(), avisynth_read_seek(), bitstream_switching(), build_frame_code(), caca_write_header(), caf_write_header(), caf_write_packet(), caf_write_trailer(), calculate_bitrate(), celt_header(), check_matching_height(), check_matching_sample_rate(), check_matching_width(), check_packet(), check_stream_max_drift(), check_video_streams(), chunk_mux_init(), cine_read_packet(), clean_index(), clear_index_entries(), codec2_read_packet(), codec2_write_header(), compute_display_area(), compute_texture_rect(), concat_read_header(), concat_read_packet(), configure_output_audio_filter(), copy_metadata(), create_stream(), daala_header(), daala_packet(), dash_check_bitstream(), dash_flush(), dash_init(), dash_read_header(), dash_read_packet(), dash_read_seek(), dash_write_packet(), dash_write_trailer(), daud_write_header(), dcstr_read_packet(), decklink_write_video_packet(), decode_fctl_chunk(), decode_frame(), decode_info_header(), decode_stream_header(), detect_stream_specific(), dirac_header(), do_packet_auto_bsf(), dsf_read_packet(), dss_723_1_read_packet(), dss_sp_read_packet(), dump_stream_format(), dump_video_streams(), dv_init_mux(), dv_parse_sdp_line(), dv_write_header(), dv_write_packet(), enable_tracks(), encode_write(), encode_write_frame(), estimate_timings(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_orphan_timecode(), fbdev_write_header(), fbdev_write_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_configure_buffers_for_index(), ff_decklink_write_header(), ff_decklink_write_packet(), ff_find_stream_index(), ff_framehash_write_header(), ff_free_stream(), ff_id3v2_write_apic(), ff_img_read_packet(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_interleaved_peek(), ff_load_image(), ff_metadata_conv_ctx(), ff_mov_init_hinting(), ff_mov_read_esds(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_pcm_read_packet(), ff_pcm_read_seek(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_read_packet(), ff_read_timestamp(), ff_real_parse_sdp_a_line(), ff_reduce_index(), ff_rfps_calculate(), ff_rtp_chain_mux_open(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_jpeg(), ff_rtp_send_latm(), ff_rtp_send_xiph(), ff_rtsp_open_transport_ctx(), ff_sauce_read(), ff_seek_frame_binary(), ff_spdif_read_packet(), ff_update_cur_dts(), ff_write_chained(), fifo_mux_init(), fifo_thread_attempt_recovery(), fifo_thread_write_header(), fifo_thread_write_packet(), fill_all_stream_timings(), fill_timing_for_id3_timestamped_stream(), film_init(), film_read_header(), film_read_seek(), film_write_header(), film_write_packet(), find_and_decode_index(), find_stream(), find_video_stream_info(), flac_finish_header(), flac_header(), flac_init(), flac_read_timestamp(), flac_seek(), flac_write_header(), flac_write_packet(), flac_write_picture(), flac_write_trailer(), flush(), flush_buffered(), flush_packet(), flv_data_packet(), flv_read_metabody(), flv_read_packet(), flv_write_header(), flv_write_packet(), flv_write_trailer(), framecrc_write_header(), frm_read_packet(), fsb_read_packet(), g729_read_packet(), genh_read_packet(), get_aiff_header(), get_cue_desc(), get_duration(), get_metadata_duration(), get_nth_codec_stream_index(), get_packet_header(), get_private_data(), get_subtitle_pkt(), get_system_header_size(), get_timebase(), gif_read_packet(), gif_write_header(), gif_write_packet(), guess_ni_flag(), gxf_compare_field_nb(), gxf_header(), gxf_interleave_packet(), gxf_packet(), gxf_read_index(), gxf_seek(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_packet(), gxf_write_track_description(), gxf_write_track_description_section(), gxf_write_umf_media_description(), gxf_write_umf_track_description(), handle_file(), handle_packet(), has_duration(), hds_flush(), hds_write_header(), hds_write_packet(), hevc_parse_sdp_line(), hls_read_packet(), hls_read_seek(), hls_write_header(), hls_write_packet(), ico_write_header(), ico_write_packet(), ico_write_trailer(), id3_has_changed_values(), idcin_read_seek(), iff_read_packet(), ilbc_parse_sdp_line(), ilbc_read_packet(), ilbc_write_header(), img_read_seek(), init_convert_timestamp(), init_filters(), init_input_filter(), init_muxer(), init_output_stream_encode(), init_pts(), interleave_compare_dts(), interleave_new_audio_packet(), ircam_write_header(), ism_write_header(), ism_write_packet(), iss_read_packet(), ivf_check_bitstream(), ivf_write_header(), ivr_read_packet(), jacosub_write_header(), latm_check_bitstream(), latm_parse_sdp_line(), latm_write_frame_header(), latm_write_header(), latm_write_packet(), lavfi_read_header(), log_packet(), log_slave(), lrc_write_header(), main(), match_streams_exact_id(), match_streams_one_to_one(), matroska_read_seek(), microdvd_write_header(), mkv_check_bitstream(), mkv_check_new_extra_data(), mkv_init(), mkv_write_attachments(), mkv_write_block(), mkv_write_cues(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tags(), mkv_write_track(), mkv_write_tracks(), mkv_write_trailer(), mov_check_bitstream(), mov_check_timecode_track(), mov_create_timecode_track(), mov_find_next_sample(), mov_flush_fragment(), mov_init(), mov_read_aclr(), mov_read_ares(), mov_read_chan(), mov_read_chapters(), mov_read_clli(), mov_read_close(), mov_read_coll(), mov_read_colr(), mov_read_ctts(), mov_read_custom(), mov_read_dac3(), mov_read_ddts(), mov_read_dec3(), mov_read_dfla(), mov_read_dops(), mov_read_dref(), mov_read_dvc1(), mov_read_elst(), mov_read_enda(), mov_read_extradata(), mov_read_fiel(), mov_read_frma(), mov_read_glbl(), mov_read_hdlr(), mov_read_header(), mov_read_mdcv(), mov_read_mdhd(), mov_read_pasp(), mov_read_saiz(), mov_read_sbgp(), mov_read_seek(), mov_read_senc(), mov_read_sidx(), mov_read_smdm(), mov_read_st3d(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stsd(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_sv3d(), mov_read_targa_y216(), mov_read_tfdt(), mov_read_tkhd(), mov_read_tmcd(), mov_read_trun(), mov_read_uuid(), mov_read_vpcc(), mov_read_wave(), mov_read_wfex(), mov_setup_track_ids(), mov_write_covr(), mov_write_ftyp_tag(), mov_write_header(), mov_write_identification(), mov_write_moov_tag(), mov_write_packet(), mov_write_single_packet(), mov_write_udta_sdp(), mov_write_uuidprof_tag(), movie_common_init(), mp3_seek(), mp3_update_xing(), mp3_write_header(), mp3_write_packet(), mp3_write_xing(), mpc8_parse_seektable(), mpc8_read_seek(), mpc_read_packet(), mpc_read_seek(), mpeg_mux_end(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegps_read_dts(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_check_bitstream(), mpegts_deinit(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_init(), mpegts_push_data(), mpegts_write_flush(), mpegts_write_packet_internal(), mpegts_write_pmt(), msf_read_packet(), mtaf_read_packet(), musx_read_packet(), mv_read_packet(), mv_read_seek(), mxf_compare_timestamps(), mxf_compute_index_tables(), mxf_compute_sample_count(), mxf_free(), mxf_get_opatom_stream(), mxf_get_stream_index(), mxf_handle_missing_index_segment(), mxf_interleave_get_packet(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_read_close(), mxf_read_packet_old(), mxf_read_seek(), mxf_set_audio_pts(), mxf_write_essence_container_refs(), mxf_write_header(), mxf_write_header_metadata_sets(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_opatom_body_partition(), mxf_write_package(), mxf_write_packet(), mxf_write_system_item(), nal_send(), ndi_write_header(), ndi_write_packet(), ni_prepare_read(), nsv_read_chunk(), nsv_read_seek(), nut_write_header(), nut_write_packet(), nuv_read_dts(), ogg_buffer_data(), ogg_compare_granule(), ogg_free(), ogg_get_length(), ogg_init(), ogg_read_header(), ogg_read_seek(), ogg_validate_keyframe(), ogg_write_header(), ogg_write_packet(), ogg_write_packet_internal(), ogg_write_page(), ogg_write_pages(), ogg_write_trailer(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_seek(), oma_write_header(), open_codec_context(), open_demux_for_component(), open_input_file(), open_output_file(), open_slave(), opengl_compute_display_area(), opengl_draw(), opengl_write_header(), opt_map(), opt_map_channel(), opt_target(), opus_header(), opus_packet(), output_packet(), output_segment_list(), packet_after_outpoint(), parse_adaptation_sets(), parse_chunks(), parse_h264_sdp_line(), parse_packet(), parse_sdp_line(), parse_variant_stream_mapstring(), pmt_cb(), prepare_input_packet(), probe_file(), process_input(), pulse_write_frame(), pulse_write_header(), pulse_write_packet(), put_system_header(), r3d_read_packet(), r3d_read_rdvo(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), rdt_parse_sdp_line(), read_dst_frame(), read_frame(), read_frame_internal(), read_gab2_sub(), read_header(), read_kuki_chunk(), read_odml_index(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_thread(), read_xing_toc(), real_seek(), redspark_read_packet(), remove_decoded_packets(), reopen_demux_for_component(), report_new_stream(), rfc4175_parse_sdp_line(), rl2_read_header(), rl2_read_packet(), rl2_read_seek(), rm_read_close(), rm_read_dts(), rm_read_index(), rm_read_packet(), rm_sync(), rm_write_header(), rm_write_packet(), roq_write_header(), rpl_read_packet(), rsd_read_packet(), rso_write_header(), rtp_mpegts_write_header(), rtp_mpegts_write_packet(), rtp_send_ilbc(), rtp_write_header(), rtp_write_packet(), rtsp_read_packet(), rtsp_read_play(), rtsp_read_seek(), sap_fetch_packet(), sap_read_header(), sap_write_close(), sap_write_header(), sap_write_packet(), sbg_read_packet(), sbg_read_seek2(), scc_write_header(), sdl2_write_header(), sdl2_write_packet(), seek_frame_generic(), seek_frame_internal(), seek_test(), seg_check_bitstream(), seg_init(), seg_write_header(), seg_write_packet(), segment_end(), segment_mux_init(), select_reference_stream(), set_disposition_bits(), set_spdif(), setup_find_stream_info_opts(), skeleton_header(), smjpeg_write_header(), smjpeg_write_packet(), sox_write_header(), sox_write_trailer(), spdif_write_header(), speex_header(), srt_write_header(), stream_component_close(), stream_component_open(), stream_cycle_channel(), sub2video_prepare(), subsegment_alignment(), sup_write_header(), svag_read_packet(), swf_read_packet(), swf_write_header(), swf_write_packet(), swf_write_trailer(), tee_write_packet(), theora_header(), theora_packet(), threedostr_read_packet(), tmcd_is_referenced(), try_seek(), tta_init(), tta_read_packet(), tta_read_seek(), tta_write_header(), update_dts_from_pts(), update_frag_index(), update_initial_timestamps(), update_odml_entry(), update_stream_avctx(), update_stream_extradata(), update_stream_timings(), update_streams_from_subdemuxer(), update_variant_stream_info(), update_wrap_reference(), v4l2_read_packet(), v4l2_set_parameters(), vag_read_packet(), vc1t_read_packet(), vc1test_write_header(), video_decode(), video_decode_example(), voc_read_packet(), voc_read_seek(), voc_write_header(), voc_write_packet(), vorbis_header(), vorbis_packet(), vorbis_update_metadata(), vp8_header(), vp8_packet(), vpk_read_packet(), vqf_read_seek(), webm_chunk_write_header(), webm_chunk_write_packet(), webm_chunk_write_trailer(), webm_clusters_start_with_keyframe(), webm_dash_manifest_compute_bandwidth(), webm_dash_manifest_cues(), webm_dash_manifest_read_header(), webp_write_header(), webvtt_write_header(), write_abst(), write_adaptation_set(), write_frame(), write_header(), write_headers(), write_image_header(), write_manifest(), write_odml_master(), write_packet(), write_skip_frames(), write_streaminfo(), write_table_entries_attrib(), write_table_redirector_legacy_attrib(), write_timestamp(), write_trailer(), wsaud_read_packet(), wv_write_header(), xa_read_packet(), xiph_parse_sdp_line(), xmv_process_packet_header(), xv_write_header(), xv_write_packet(), xvag_read_packet(), xwma_read_packet(), yuv4_generate_header(), yuv4_write_header(), and yuv4_write_packet().

char* AVFormatContext::url

input or output URL.

Unlike the old filename field, this field has no length restriction.

Freed by libavformat in avformat_free_context().

Definition at line 1438 of file avformat.h.

Referenced by add_file(), audio_read_header(), audio_write_header(), avformat_alloc_output_context2(), avformat_free_context(), avformat_open_input(), caca_write_header(), check_decode_result(), check_init_output_file(), choose_encoder(), dash_flush(), dash_init(), dash_write_header(), dash_write_packet(), dash_write_trailer(), do_encrypt(), fbdev_read_header(), fbdev_write_header(), ff_configure_buffers_for_index(), ff_decklink_list_formats(), ff_decklink_read_header(), ff_decklink_write_header(), ff_format_set_url(), ff_img_read_header(), ff_rtsp_setup_output_streams(), fifo_init(), fifo_thread_write_header(), gdigrab_read_header(), get_chunk_filename(), grab_read_header(), gxf_write_material_data_section(), hds_flush(), hds_write_header(), hds_write_trailer(), hls_append_segment(), hls_delete_old_segments(), hls_init(), hls_mux_init(), hls_read_header(), hls_rename_temp_file(), hls_start(), hls_window(), hls_write_packet(), hls_write_trailer(), iec61883_read_header(), init_muxer(), io_open_default(), is_realtime(), ism_write_header(), ism_write_trailer(), lavfi_read_header(), log_slave(), mov_find_codec_tag(), mov_read_trak(), mpegts_init(), ndi_read_header(), ndi_write_header(), nested_io_open(), open_output_file(), opengl_write_header(), parse_device_name(), print_final_stats(), process_input(), pulse_read_header(), pulse_write_header(), read_header(), read_thread(), resetup_tcp(), rtsp_listen(), sap_read_header(), sap_write_header(), sdl2_write_header(), seg_init(), seg_write_header(), seg_write_packet(), segment_end(), segment_start(), set_http_options(), set_segment_filename(), shift_data(), show_format(), sls_flag_file_rename(), sls_flag_use_localtime_filename(), sls_flags_filename_process(), start_jack(), tee_write_header(), transcode(), update_master_pl_info(), v4l2_read_header(), vfw_read_header(), webm_chunk_write_header(), webm_dash_manifest_read_header(), write_abst(), write_header(), write_manifest(), write_packet(), xcbgrab_read_header(), and xv_write_header().

int64_t AVFormatContext::start_time
int64_t AVFormatContext::duration
int64_t AVFormatContext::bit_rate

Total stream bitrate in bit/s, 0 if not available.

Never set it directly if the file_size and the duration are known as FFmpeg can compute it automatically.

Definition at line 1464 of file avformat.h.

Referenced by av_dump_format(), dss_723_1_read_packet(), dss_sp_read_packet(), dv_read_header(), estimate_timings(), estimate_timings_from_bit_rate(), event_loop(), ff_spdif_read_packet(), g729_read_header(), mpegts_read_header(), mxf_read_seek(), show_format(), and update_stream_timings().

unsigned int AVFormatContext::packet_size
int AVFormatContext::max_delay
int AVFormatContext::flags

Flags modifying the (de)muxer behaviour.

A combination of AVFMT_FLAG_*. Set by the user before avformat_open_input() / avformat_write_header().

Definition at line 1473 of file avformat.h.

Referenced by android_camera_read_packet(), av_read_frame(), avformat_close_input(), avformat_find_stream_info(), avformat_open_input(), avi_read_header(), compute_pkt_fields(), dash_init(), dash_read_header(), device_open(), do_packet_auto_bsf(), dshow_read_packet(), fbdev_read_header(), fbdev_read_packet(), ff_framehash_write_header(), ff_img_read_header(), ff_interleave_packet_per_dts(), ff_read_packet(), ff_rtp_chain_mux_open(), fifo_mux_init(), flac_finish_header(), flac_read_header(), flac_seek(), flush_if_needed(), gdigrab_read_packet(), gxf_read_index(), hds_write_header(), hls_read_header(), init_fps(), init_input(), init_muxer(), lrc_write_header(), main(), matroska_add_index_entries(), matroska_parse_cues(), mkv_write_attachments(), mkv_write_header(), mov_init(), mov_read_default(), mov_write_ilst_tag(), mov_write_isml_manifest(), mov_write_sv3d_tag(), mov_write_uuidusmt_tag(), mp3_seek(), mxf_write_header(), mxf_write_identification(), ogg_init(), open_file(), open_input_file(), open_output_file(), open_slave(), open_url(), parse_keyframes_index(), pulse_write_header(), put_flac_codecpriv(), read_frame_internal(), read_packet(), read_thread(), read_xing_toc(), reopen_demux_for_component(), rm_read_header(), rtp_write_header(), segment_mux_init(), vfw_read_packet(), write_header(), and write_sm_data().

int64_t AVFormatContext::probesize

Maximum size of the data read from input for determining the input container format.

Demuxing only, set by the caller before avformat_open_input().

Definition at line 1506 of file avformat.h.

Referenced by adts_aac_read_header(), avformat_find_stream_info(), lavfi_read_header(), mpegts_read_header(), and reopen_demux_for_component().

int64_t AVFormatContext::max_analyze_duration

Maximum duration (in AV_TIME_BASE units) of the data read from input in avformat_find_stream_info().

Demuxing only, set by the caller before avformat_find_stream_info(). Can be set to 0 to let avformat choose using a heuristic.

Definition at line 1514 of file avformat.h.

Referenced by avformat_find_stream_info(), and reopen_demux_for_component().

const uint8_t* AVFormatContext::key
int AVFormatContext::keylen
unsigned int AVFormatContext::nb_programs
AVProgram** AVFormatContext::programs
enum AVCodecID AVFormatContext::video_codec_id
enum AVCodecID AVFormatContext::audio_codec_id

Forced audio codec_id.

Demuxing: Set by user.

Definition at line 1532 of file avformat.h.

Referenced by audio_read_header(), ff_img_read_header(), ff_voc_get_packet(), flv_read_packet(), force_codec_ids(), open_input_file(), pulse_read_header(), and pulse_read_packet().

enum AVCodecID AVFormatContext::subtitle_codec_id

Forced subtitle codec_id.

Demuxing: Set by user.

Definition at line 1538 of file avformat.h.

Referenced by force_codec_ids(), and open_input_file().

unsigned int AVFormatContext::max_index_size

Maximum amount of memory in bytes to use for the index of each stream.

If the index exceeds this size, entries will be discarded as needed to maintain a smaller size. This can lead to slower or less accurate seeking (depends on demuxer). Demuxers for which a full in-memory index is mandatory will ignore this.

  • muxing: unused
  • demuxing: set by user

Definition at line 1550 of file avformat.h.

Referenced by ff_reduce_index().

unsigned int AVFormatContext::max_picture_buffer

Maximum amount of memory in bytes to use for buffering frames obtained from realtime capture devices.

Definition at line 1556 of file avformat.h.

Referenced by shall_we_drop().

unsigned int AVFormatContext::nb_chapters

Number of chapters in AVChapter array.

When muxing, chapters are normally written in the file header, so nb_chapters should normally be initialized before write_header is called. Some muxers (e.g. mov and mkv) can also write chapters in the trailer. To write chapters in the trailer, nb_chapters must be zero when write_header is called and non-zero when write_trailer is called.

  • muxing: set by user
  • demuxing: set by libavformat

Definition at line 1569 of file avformat.h.

Referenced by asf_write_header1(), asf_write_markers(), av_dump_format(), avformat_free_context(), avpriv_new_chapter(), compute_chapters_end(), copy_chapters(), event_loop(), ff_id3v2_write_metadata(), ff_metadata_conv_ctx(), mkv_write_chapters(), mkv_write_header(), mkv_write_tags(), mov_create_chapter_track(), mov_init(), mov_write_chpl_tag(), mov_write_header(), mov_write_trailer(), mov_write_udta_tag(), nut_write_header(), ogm_chapter(), open_output_file(), parse_forced_key_frames(), read_chapter(), read_header(), seek_chapter(), show_chapters(), write_headers(), and write_trailer().

AVChapter** AVFormatContext::chapters
AVDictionary* AVFormatContext::metadata

Metadata that applies to the whole file.

Freed by libavformat in avformat_free_context().

Examples:
metadata.c.

Definition at line 1580 of file avformat.h.

Referenced by aa_read_header(), add_meta(), add_metadata(), adts_aac_read_header(), amf_parse_object(), ape_tag_read_field(), asf_read_ext_content(), asf_read_header(), asf_read_metadata(), asf_read_properties(), asf_write_header1(), av_dump_format(), avformat_free_context(), avformat_open_input(), avi_read_header(), avi_read_nikon(), avi_read_tag(), caf_write_header(), chunk_mux_init(), decode_info_header(), dss_read_metadata_date(), dss_read_metadata_string(), dtshd_read_header(), dv_read_timecode(), dv_write_header(), export_orphan_timecode(), ff_ape_write_tag(), ff_id3v2_parse_priv(), ff_id3v2_read(), ff_id3v2_write_metadata(), ff_metadata_conv_ctx(), ff_parse_creation_time_metadata(), ff_read_riff_info(), ff_riff_write_info(), ff_rm_read_mdpr_codecdata(), ff_sauce_read(), ff_standardize_creation_time(), ff_wms_parse_sdp_a_line(), fifo_mux_init(), flac_finish_header(), flac_init(), flac_read_header(), flv_read_packet(), get_meta(), get_metadata(), get_metadata_duration(), get_metadata_lang(), get_string(), get_tag(), gxf_header(), gxf_write_header(), handle_id3(), hls_mux_init(), hls_read_header(), hls_read_packet(), id3v1_create_tag(), id3v1_set_string(), init_muxer(), lrc_read_header(), lrc_write_header(), main(), matroska_convert_tags(), matroska_read_header(), mkv_write_header(), mkv_write_stereo_mode(), mkv_write_tags(), modplug_load_metadata(), mov_init(), mov_metadata_gnre(), mov_metadata_int8_bypass_padding(), mov_metadata_int8_no_padding(), mov_metadata_loci(), mov_metadata_track_or_disc_number(), mov_parse_stsd_audio(), mov_read_custom(), mov_read_ftyp(), mov_read_header(), mov_read_mvhd(), mov_read_udta_string(), mov_read_uuid(), mov_write_3gp_udta_tag(), mov_write_header(), mov_write_int8_metadata(), mov_write_mdta_ilst_tag(), mov_write_mdta_keys_tag(), mov_write_raw_metadata_tag(), mov_write_tmpo_tag(), mov_write_trkn_tag(), mov_write_uuidusmt_tag(), mp3_read_header(), mpc_read_header(), mpegts_init(), mxf_init_timecode(), mxf_parse_structural_metadata(), mxf_write_header(), mxf_write_header_metadata_sets(), mxf_write_package(), nist_read_header(), nsp_read_header(), nsv_parse_NSVf_header(), ogg_init(), open_output_file(), open_slave(), parse_legacy_attrib(), parse_tag(), put_id3v2_tags(), put_meta(), read_frame_internal(), read_header(), read_header_openmpt(), read_info_chunk(), read_string(), read_thread(), read_uint16(), read_uint32(), read_uint64(), read_uint8(), riff_has_valid_tags(), rm_read_metadata(), rpl_read_header(), sap_write_header(), scan_file(), segment_end(), segment_mux_init(), show_format(), smjpeg_read_header(), smjpeg_write_header(), sox_read_header(), sox_write_header(), subviewer_read_header(), var_read_metadata(), vivo_read_header(), vqf_read_header(), wc3_read_header(), write_globalinfo(), write_manifest(), write_metadata(), write_table_entries_attrib(), write_table_redirector_legacy_attrib(), write_trailer(), wsd_read_header(), and wv_read_header().

int64_t AVFormatContext::start_time_realtime

Start time of the stream in real world time, in microseconds since the Unix epoch (00:00 1st January 1970).

That is, pts=0 in the stream was captured at this real world time.

  • muxing: Set by the caller before avformat_write_header(). If set to either 0 or AV_NOPTS_VALUE, then the current wall-time will be used.
  • demuxing: Set by libavformat. AV_NOPTS_VALUE if unknown. Note that the value may become known after some number of frames have been received.

Definition at line 1593 of file avformat.h.

Referenced by ff_rtp_chain_mux_open(), ff_rtsp_setup_output_streams(), rtp_write_header(), and sap_write_header().

int AVFormatContext::fps_probe_size

The number of frames used for determining the framerate in avformat_find_stream_info().

Demuxing only, set by the caller before avformat_find_stream_info().

Definition at line 1600 of file avformat.h.

Referenced by avformat_find_stream_info().

int AVFormatContext::error_recognition

Error recognition; higher values will detect more errors but may misdetect some more or less valid parts as errors.

Demuxing only, set by the caller before avformat_open_input().

Definition at line 1607 of file avformat.h.

Referenced by avformat_open_input(), avi_read_header(), do_packet_auto_bsf(), ff_flac_parse_picture(), ff_rm_read_mdpr_codecdata(), flac_finish_header(), matroska_parse_tracks(), matroska_read_header(), nuv_header(), ogg_read_header(), read_header(), tak_read_header(), and tta_read_header().

AVIOInterruptCB AVFormatContext::interrupt_callback
int AVFormatContext::debug

Flags to enable debugging.

Definition at line 1623 of file avformat.h.

Referenced by av_interleaved_write_frame(), compute_pkt_fields(), mpegps_read_dts(), mpegps_read_packet(), and read_frame_internal().

int64_t AVFormatContext::max_interleave_delta

Maximum buffering duration for interleaving.

To ensure all the streams are interleaved correctly, av_interleaved_write_frame() will wait until it has at least one packet for each stream before actually writing any packets to the output file. When some streams are "sparse" (i.e. there are large gaps between successive packets), this can result in excessive buffering.

This field specifies the maximum difference between the timestamps of the first and the last packet in the muxing queue, above which libavformat will output a packet regardless of whether it has queued a packet for all the streams.

Muxing only, set by the caller before avformat_write_header().

Definition at line 1642 of file avformat.h.

Referenced by asf_write_header(), ff_interleave_packet_per_dts(), and write_packet().

int AVFormatContext::strict_std_compliance
int AVFormatContext::event_flags

Flags for the user to detect events happening on the file.

Flags must be cleared by the user once the event has been handled. A combination of AVFMT_EVENT_FLAG_*.

Definition at line 1655 of file avformat.h.

Referenced by amf_parse_object(), decode_info_header(), flac_read_header(), flv_write_packet(), handle_id3(), hls_read_packet(), mov_metadata_gnre(), mov_metadata_int8_bypass_padding(), mov_metadata_int8_no_padding(), mov_metadata_loci(), mov_metadata_track_or_disc_number(), mov_read_udta_string(), and read_frame_internal().

int AVFormatContext::max_ts_probe

Maximum number of packets to read while waiting for the first timestamp.

Decoding only.

Definition at line 1662 of file avformat.h.

Referenced by avformat_find_stream_info().

int AVFormatContext::avoid_negative_ts

Avoid negative timestamps during muxing.

Any value of the AVFMT_AVOID_NEG_TS_* constants. Note, this only works when using av_interleaved_write_frame. (interleave_packet_per_dts is in use)

  • muxing: Set by user
  • demuxing: unused

Definition at line 1671 of file avformat.h.

Referenced by asf_write_header(), dash_init(), dash_write_packet(), ff_mov_write_packet(), init_pts(), mkv_init(), mov_init(), nut_write_header(), seg_init(), and write_packet().

int AVFormatContext::ts_id

Transport stream id.

This will be moved into demuxer private options. Thus no API/ABI compatibility

Definition at line 1680 of file avformat.h.

Referenced by pat_cb().

int AVFormatContext::audio_preload

Audio preload in microseconds.

Note, not all formats support this and unpredictable things may happen if it is used when not supported.

  • encoding: Set by user
  • decoding: unused

Definition at line 1688 of file avformat.h.

Referenced by interleave_compare_dts().

int AVFormatContext::max_chunk_duration

Max chunk time in microseconds.

Note, not all formats support this and unpredictable things may happen if it is used when not supported.

  • encoding: Set by user
  • decoding: unused

Definition at line 1696 of file avformat.h.

Referenced by ff_interleave_add_packet().

int AVFormatContext::max_chunk_size

Max chunk size in bytes Note, not all formats support this and unpredictable things may happen if it is used when not supported.

  • encoding: Set by user
  • decoding: unused

Definition at line 1704 of file avformat.h.

Referenced by ff_interleave_add_packet().

int AVFormatContext::use_wallclock_as_timestamps

forces the use of wallclock timestamps as pts/dts of packets This has undefined results in the presence of B frames.

  • encoding: unused
  • decoding: Set by user

Definition at line 1712 of file avformat.h.

Referenced by ff_read_packet().

int AVFormatContext::avio_flags

avio flags, used to force AVIO_FLAG_DIRECT.

  • encoding: unused
  • decoding: Set by user

Definition at line 1719 of file avformat.h.

Referenced by init_input().

enum AVDurationEstimationMethod AVFormatContext::duration_estimation_method

The duration field can be estimated through various ways, and this field can be used to know how the duration was estimated.

  • encoding: unused
  • decoding: Read by user

Definition at line 1727 of file avformat.h.

Referenced by av_fmt_ctx_get_duration_estimation_method(), estimate_timings(), find_and_decode_index(), and find_duration().

int64_t AVFormatContext::skip_initial_bytes

Skip initial bytes when opening stream.

  • encoding: unused
  • decoding: Set by user

Definition at line 1734 of file avformat.h.

Referenced by avformat_open_input().

unsigned int AVFormatContext::correct_ts_overflow

Correct single timestamp overflows.

  • encoding: unused
  • decoding: Set by user

Definition at line 1741 of file avformat.h.

Referenced by update_wrap_reference().

int AVFormatContext::seek2any

Force seeking to any (also non key) frames.

  • encoding: unused
  • decoding: Set by user

Definition at line 1748 of file avformat.h.

Referenced by avformat_seek_file().

int AVFormatContext::flush_packets

Flush the I/O context after each packet.

  • encoding: Set by user
  • decoding: unused

Definition at line 1755 of file avformat.h.

Referenced by flush_if_needed().

int AVFormatContext::probe_score

format probing score.

The maximal score is AVPROBE_SCORE_MAX, its set when the demuxer probes the format.

  • encoding: unused
  • decoding: set by avformat, read by user

Definition at line 1764 of file avformat.h.

Referenced by avformat_open_input(), and show_format().

int AVFormatContext::format_probesize

number of bytes to read maximally to identify format.

  • encoding: unused
  • decoding: set by user

Definition at line 1771 of file avformat.h.

Referenced by init_input().

char* AVFormatContext::codec_whitelist

',' separated list of allowed decoders.

If NULL then all are allowed

  • encoding: unused
  • decoding: set by user

Definition at line 1779 of file avformat.h.

Referenced by avformat_find_stream_info(), ff_copy_whiteblacklists(), and try_decode_frame().

char* AVFormatContext::format_whitelist

',' separated list of allowed demuxers.

If NULL then all are allowed

  • encoding: unused
  • decoding: set by user

Definition at line 1787 of file avformat.h.

Referenced by av_demuxer_open(), avformat_open_input(), and ff_copy_whiteblacklists().

AVFormatInternal* AVFormatContext::internal
int AVFormatContext::io_repositioned

IO repositioned flag.

This is set by avformat when the underlaying IO context read pointer is repositioned, for example when doing byte based seeking. Demuxers can use the flag to detect such changes.

Definition at line 1801 of file avformat.h.

Referenced by ogg_read_packet(), and seek_frame_byte().

AVCodec* AVFormatContext::video_codec

Forced video codec.

This allows forcing a specific decoder, even when there are multiple with the same codec_id. Demuxing: Set by user

Definition at line 1809 of file avformat.h.

Referenced by find_decoder(), and open_input_file().

AVCodec* AVFormatContext::audio_codec

Forced audio codec.

This allows forcing a specific decoder, even when there are multiple with the same codec_id. Demuxing: Set by user

Definition at line 1817 of file avformat.h.

Referenced by find_decoder(), and open_input_file().

AVCodec* AVFormatContext::subtitle_codec

Forced subtitle codec.

This allows forcing a specific decoder, even when there are multiple with the same codec_id. Demuxing: Set by user

Definition at line 1825 of file avformat.h.

Referenced by find_decoder(), and open_input_file().

AVCodec* AVFormatContext::data_codec

Forced data codec.

This allows forcing a specific decoder, even when there are multiple with the same codec_id. Demuxing: Set by user

Definition at line 1833 of file avformat.h.

Referenced by open_input_file().

int AVFormatContext::metadata_header_padding

Number of bytes to be written as padding in a metadata header.

Demuxing: Unused. Muxing: Set by user via av_format_set_metadata_header_padding.

Definition at line 1840 of file avformat.h.

Referenced by ff_id3v2_write_simple(), flac_finish_header(), mp3_queue_flush(), mp3_write_header(), and put_id3v2_tags().

void* AVFormatContext::opaque

User data.

This is a place for some private data of the user.

Definition at line 1846 of file avformat.h.

Referenced by dash_init(), fifo_mux_init(), hls_mux_init(), open_slave(), and segment_mux_init().

av_format_control_message AVFormatContext::control_message_cb

Callback used by devices to communicate with application.

Definition at line 1851 of file avformat.h.

Referenced by avdevice_dev_to_app_control_message().

int64_t AVFormatContext::output_ts_offset

Output timestamp offset, in microseconds.

Muxing: set by user

Definition at line 1857 of file avformat.h.

Referenced by ff_interleaved_peek(), and write_packet().

uint8_t* AVFormatContext::dump_separator

dump format separator.

can be ", " or "\n " or anything else

  • muxing: Set by user.
  • demuxing: Set by user.

Definition at line 1865 of file avformat.h.

Referenced by dump_stream_format().

enum AVCodecID AVFormatContext::data_codec_id

Forced Data codec_id.

Demuxing: Set by user.

Definition at line 1871 of file avformat.h.

Referenced by force_codec_ids(), and open_input_file().

char* AVFormatContext::protocol_whitelist

',' separated list of allowed protocols.

  • encoding: unused
  • decoding: set by user

Definition at line 1900 of file avformat.h.

Referenced by avformat_open_input(), ff_copy_whiteblacklists(), ffio_open2_wrapper(), io_open_default(), ism_flush(), ism_seek(), lavfi_read_header(), parse_playlist(), rtsp_listen(), rtsp_read_setup(), sap_read_header(), and sap_write_header().

int(* AVFormatContext::io_open)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options)

A callback for opening new IO streams.

Whenever a muxer or a demuxer needs to open an IO stream (typically from avformat_open_input() for demuxers, but for certain formats can happen at other times as well), it will call this callback to obtain an IO context.

Parameters
sthe format context
pbon success, the newly opened IO context should be returned here
urlthe url to open
flagsa combination of AVIO_FLAG_*
optionsa dictionary of additional options, with the same semantics as in avio_open2()
Returns
0 on success, a negative AVERROR code on failure
Note
Certain muxers and demuxers do nesting, i.e. they open one or more additional internal format contexts. Thus the AVFormatContext pointer passed to this callback may be different from the one facing the caller. It will, however, have the same 'opaque' field.

Definition at line 1922 of file avformat.h.

Referenced by avformat_get_context_defaults(), chunk_end(), copy_moof(), dash_init(), dashenc_io_open(), do_encrypt(), ff_format_output_open(), ff_img_read_packet(), fifo_mux_init(), find_index_range(), hls_delete_old_segments(), hls_encryption_start(), hls_mux_init(), hls_read_header(), hlsenc_io_open(), init_file(), init_input(), mov_open_dref(), open_slave(), open_url(), parse_fragment(), parse_playlist(), read_header(), reopen_demux_for_component(), seg_init(), seg_write_header(), segment_list_open(), segment_mux_init(), segment_start(), shift_data(), webm_chunk_write_header(), write_abst(), write_manifest(), and write_packet().

void(* AVFormatContext::io_close)(struct AVFormatContext *s, AVIOContext *pb)

A callback for closing the streams opened with AVFormatContext.io_open().

Definition at line 1928 of file avformat.h.

Referenced by avformat_get_context_defaults(), dash_init(), ff_format_io_close(), fifo_mux_init(), hls_mux_init(), open_slave(), and segment_mux_init().

char* AVFormatContext::protocol_blacklist

',' separated list of disallowed protocols.

  • encoding: unused
  • decoding: set by user

Definition at line 1935 of file avformat.h.

Referenced by avformat_open_input(), ff_copy_whiteblacklists(), ffio_open2_wrapper(), io_open_default(), ism_flush(), ism_seek(), parse_playlist(), rtsp_listen(), rtsp_read_setup(), sap_read_header(), and sap_write_header().

int AVFormatContext::max_streams

The maximum number of streams.

  • encoding: unused
  • decoding: set by user

Definition at line 1942 of file avformat.h.

Referenced by avformat_new_stream().


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