AVFormatContext Struct Reference

Format I/O context. More...

#include <avformat.h>


Data Fields

const AVClassav_class
 Set by avformat_alloc_context.
struct AVInputFormatiformat
struct AVOutputFormatoformat
void * priv_data
AVIOContextpb
unsigned int nb_streams
AVStream ** streams
char filename [1024]
 input or output filename
int64_t timestamp
int ctx_flags
 Format-specific flags, see AVFMTCTX_xx.
struct AVPacketListpacket_buffer
 This buffer is only needed when packets were already buffered but not decoded, for example to get the codec parameters in MPEG streams.
int64_t start_time
 Decoding: position of the first frame of the component, in AV_TIME_BASE fractional seconds.
int64_t duration
 Decoding: duration of the stream, in AV_TIME_BASE fractional seconds.
int64_t file_size
 decoding: total file size, 0 if unknown
int bit_rate
 Decoding: total stream bitrate in bit/s, 0 if not available.
AVStreamcur_st
int64_t data_offset
 offset of the first packet
int mux_rate
unsigned int packet_size
int preload
int max_delay
int loop_output
 number of times to loop output in formats that support it
int flags
int loop_input
unsigned int probesize
 decoding: size of data to probe; encoding: unused.
int max_analyze_duration
 Maximum time (in AV_TIME_BASE units) during which the input should be analyzed in av_find_stream_info().
const uint8_t * key
int keylen
unsigned int nb_programs
AVProgram ** programs
enum CodecID video_codec_id
 Forced video codec_id.
enum CodecID audio_codec_id
 Forced audio codec_id.
enum CodecID subtitle_codec_id
 Forced subtitle codec_id.
unsigned int max_index_size
 Maximum amount of memory in bytes to use for the index of each stream.
unsigned int max_picture_buffer
 Maximum amount of memory in bytes to use for buffering frames obtained from realtime capture devices.
unsigned int nb_chapters
AVChapter ** chapters
int debug
 Flags to enable debugging.
struct AVPacketListraw_packet_buffer
 Raw packets from the demuxer, prior to parsing and decoding.
struct AVPacketListraw_packet_buffer_end
struct AVPacketListpacket_buffer_end
AVDictionarymetadata
int raw_packet_buffer_remaining_size
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).
int fps_probe_size
 decoding: number of frames used to probe fps
int ts_id
 Transport stream id.


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*.

Definition at line 684 of file avformat.h.


Field Documentation

Forced audio codec_id.

Demuxing: Set by user.

Definition at line 796 of file avformat.h.

Referenced by audio_read_header(), av_read_packet(), opt_input_file(), read_header(), and voc_get_packet().

Set by avformat_alloc_context.

Definition at line 685 of file avformat.h.

Referenced by avformat_get_context_defaults().

Decoding: 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 731 of file avformat.h.

Referenced by av_dump_format(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_update_stream_timings(), dv_read_header(), event_loop(), mpegts_read_header(), mxf_read_seek(), show_format(), and spdif_read_packet().

Flags to enable debugging.

Definition at line 828 of file avformat.h.

Referenced by av_read_frame_internal(), and opt_default().

Decoding: duration of the stream, in AV_TIME_BASE fractional seconds.

Only set this value if you know none of the individual stream durations and also dont set any of them. This is deduced from the AVStream values if not set.

Definition at line 719 of file avformat.h.

Referenced by amf_parse_object(), applehttp_read_header(), av_dump_format(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_update_stream_timings(), avformat_open_input(), avi_read_header(), compute_chapters_end(), dxa_read_header(), event_loop(), fill_all_stream_timings(), flv_read_packet(), flv_write_header(), matroska_read_header(), ogg_get_length(), read_header(), show_format(), and wv_read_seek().

decoding: number of frames used to probe fps

Definition at line 863 of file avformat.h.

Referenced by avformat_find_stream_info().

const uint8_t* AVFormatContext::key

Definition at line 780 of file avformat.h.

Referenced by ff_asf_parse_packet(), mxf_decrypt_triplet(), and uninit_opts().

Definition at line 781 of file avformat.h.

Referenced by asf_read_header(), ff_asf_parse_packet(), and mxf_decrypt_triplet().

Definition at line 767 of file avformat.h.

Referenced by opt_input_file(), and read_packet().

number of times to loop output in formats that support it

Definition at line 749 of file avformat.h.

Referenced by gif_write_header(), and opt_output_file().

Maximum time (in AV_TIME_BASE units) during which the input should be analyzed in av_find_stream_info().

Definition at line 778 of file avformat.h.

Referenced by avformat_find_stream_info().

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

Referenced by ff_reduce_index().

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

Definition at line 820 of file avformat.h.

Referenced by shall_we_drop().

Definition at line 739 of file avformat.h.

Referenced by mpeg_mux_init(), and mpegts_write_header().

Definition at line 691 of file avformat.h.

Referenced by amf_parse_object(), applehttp_read_header(), asf_read_pts(), asf_read_stream_properties(), asf_reset_header(), asf_write_header1(), asfrtp_parse_packet(), av_dump_format(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_find_best_stream(), av_find_default_stream_index(), av_has_duration(), av_interleave_packet_per_dts(), av_new_stream(), av_read_frame_internal(), av_read_packet(), av_update_cur_dts(), av_update_stream_timings(), av_write_trailer(), avformat_find_stream_info(), avformat_free_context(), avformat_write_header(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_trailer(), build_feed_streams(), build_file_streams(), build_frame_code(), check_inputs(), clean_index(), close_connection(), decode_info_header(), decode_syncpoint(), dv_init_mux(), extract_mpeg4_header(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_find_stream_index(), ff_gen_syncpoint_search(), ff_metadata_conv_ctx(), ff_mov_read_esds(), ff_mov_read_stsd_entries(), ff_nut_reset_ts(), ff_program_add_stream_index(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_rtsp_setup_output_streams(), ff_store_parser_state(), ffm_close(), ffm_read_packet(), ffm_write_header(), fill_all_stream_timings(), film_read_header(), find_and_decode_index(), flv_read_metabody(), flv_read_packet(), flv_write_header(), flv_write_trailer(), 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(), http_prepare_data(), http_receive_data(), ivf_write_header(), main(), microdvd_write_header(), mkv_write_header(), mkv_write_tags(), mkv_write_tracks(), mkv_write_trailer(), mov_find_next_sample(), mov_read_chapters(), mov_read_close(), mov_read_ctts(), mov_read_dac3(), mov_read_dref(), mov_read_elst(), mov_read_enda(), mov_read_extradata(), mov_read_glbl(), mov_read_hdlr(), mov_read_mdhd(), mov_read_pasp(), mov_read_seek(), mov_read_smi(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_tkhd(), mov_read_trak(), mov_read_trun(), mov_read_wave(), mov_read_wfex(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), mov_write_udta_tag(), mpeg_mux_end(), mpeg_mux_init(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_write_end(), mpegts_write_header(), mpegts_write_pmt(), mxf_free(), mxf_get_stream_index(), mxf_interleave_get_packet(), mxf_read_close(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_partition(), new_audio_stream(), new_data_stream(), new_output_stream(), new_subtitle_stream(), new_video_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nsv_read_header(), nut_read_header(), ogg_write_header(), ogg_write_trailer(), open_input_file(), open_input_stream(), opt_input_file(), opt_target(), output_packet(), pmt_cb(), prepare_sdp_description(), probe_file(), put_system_header(), qt_rtp_parse_packet(), r3d_read_packet(), rdt_parse_sdp_line(), read_braindead_odml_indx(), read_data(), read_ffserver_streams(), read_header(), read_seek(), read_thread(), recheck_discard_flags(), remove_decoded_packets(), rl2_read_packet(), rl2_read_seek(), rm_read_close(), rm_read_index(), rm_write_header(), rm_write_trailer(), rpl_read_packet(), rtp_new_av_stream(), rtp_write_header(), rtsp_read_header(), rtsp_read_packet(), rv10_write_header(), sap_fetch_packet(), sap_read_header(), sap_write_close(), sap_write_header(), sdl_write_header(), search_hi_lo_keyframes(), set_disposition_bits(), show_format(), spdif_read_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), swf_read_packet(), swf_write_header(), swf_write_trailer(), sync(), transcode(), voc_write_header(), write_header(), write_headers(), write_mainheader(), write_packet(), and write_trailer().

This buffer is only needed when packets were already buffered but not decoded, for example to get the codec parameters in MPEG streams.

Definition at line 704 of file avformat.h.

Referenced by av_interleave_packet_per_dts(), av_read_frame(), avformat_find_stream_info(), compute_pkt_fields(), ff_interleave_add_packet(), ff_restore_parser_state(), ff_store_parser_state(), flush_packet_queue(), mxf_interleave_get_packet(), update_initial_durations(), and update_initial_timestamps().

Definition at line 690 of file avformat.h.

Referenced by a64_write_header(), a64_write_packet(), add_metadata(), adjust_write_index(), adts_write_packet(), aea_read_header(), aea_read_packet(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_packet(), aiff_write_trailer(), amf_parse_object(), amr_read_header(), amr_read_packet(), apc_read_header(), apc_read_packet(), ape_read_header(), ape_read_packet(), ape_tag_read_field(), applehttp_read_header(), asf_build_simple_index(), asf_read_content_desc(), 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_packet(), asf_read_pts(), asf_read_seek(), asf_read_stream_properties(), asf_write_header(), asf_write_header1(), asf_write_index(), asf_write_trailer(), au_read_header(), au_read_packet(), av_close_input_file(), av_demuxer_open(), av_estimate_timings(), av_estimate_timings_from_pts(), av_gen_search(), av_interleaved_write_frame(), av_open_input_stream(), av_read_pause(), av_read_play(), av_seek_frame_binary(), av_seek_frame_byte(), av_seek_frame_generic(), av_write_frame(), av_write_trailer(), avformat_find_stream_info(), avformat_open_input(), avi_load_index(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_info(), avi_read_nikon(), avi_read_packet(), avi_read_seek(), avi_read_tag(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), avs_read_audio_packet(), avs_read_header(), avs_read_packet(), avs_read_video_packet(), bfi_read_header(), bfi_read_packet(), caf_write_header(), caf_write_packet(), caf_write_trailer(), cdata_read_header(), cdata_read_packet(), cin_read_header(), cin_read_packet(), close_connection(), crc_write_trailer(), daud_packet(), daud_write_packet(), decode_frame(), decode_frame_header(), decode_info_header(), decode_main_header(), decode_stream_header(), decode_syncpoint(), dfa_read_header(), dfa_read_packet(), dv_frame_offset(), dv_read_header(), dv_read_packet(), dv_read_seek(), 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(), event_loop(), ff_ape_parse_tag(), ff_gen_syncpoint_search(), ff_id3v1_read(), ff_id3v2_parse(), ff_id3v2_read(), ff_mov_add_hinted_packet(), ff_mov_close_hinting(), ff_mov_read_chan(), ff_mov_write_packet(), ff_raw_read_partial_packet(), ff_raw_write_packet(), ff_restore_parser_state(), ff_rtp_chain_mux_open(), ff_rtp_send_data(), ff_rtsp_undo_setup(), ff_sauce_read(), ff_store_parser_state(), ffm_is_avail_data(), ffm_read_data(), ffm_read_header(), ffm_read_packet(), ffm_resync(), ffm_seek1(), ffm_write_header(), ffm_write_trailer(), ffmpeg_exit(), film_read_header(), film_read_packet(), find_and_decode_index(), flac_read_header(), flac_write_header(), flac_write_packet(), flac_write_trailer(), flic_read_header(), flic_read_packet(), flush_packet(), flv_get_extradata(), flv_read_header(), flv_read_metabody(), flv_read_packet(), flv_read_seek(), flv_set_video_codec(), flv_write_header(), flv_write_packet(), flv_write_trailer(), fourxm_read_header(), fourxm_read_packet(), framecrc_write_packet(), free_variant_list(), get_dts(), get_meta(), get_metadata(), get_packet_header(), get_tag(), gif_write_header(), gif_write_trailer(), gif_write_video(), 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_packet(), http_prepare_data(), http_receive_data(), id3v2_put_size(), id3v2_put_ttag(), idcin_read_header(), idcin_read_packet(), iff_read_header(), iff_read_packet(), ingenient_read_packet(), init_input(), ipmovie_read_header(), ipmovie_read_packet(), iss_read_header(), iss_read_packet(), ivf_write_header(), ivf_write_packet(), lmlm4_read_packet(), lxf_read_header(), lxf_read_packet(), main(), matroska_execute_seekhead(), matroska_parse_cluster(), matroska_read_seek(), md5_finish(), microdvd_read_header(), microdvd_read_packet(), microdvd_write_header(), mkv_flush_dynbuf(), mkv_write_chapters(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tag(), mkv_write_tags(), mkv_write_tracks(), mkv_write_trailer(), mmf_read_header(), mmf_read_packet(), mov_find_next_sample(), mov_read_close(), mov_read_header(), mov_read_packet(), mov_read_trak(), mov_write_header(), mov_write_trailer(), mp2_write_trailer(), mp3_parse_vbr_tags(), mp3_read_header(), mp3_read_packet(), 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_pcr(), mpegts_insert_null_packet(), mpegts_insert_pcr_only(), mpegts_raw_read_packet(), mpegts_read_header(), mpegts_read_packet(), mpegts_resync(), mpegts_write_end(), mpegts_write_header(), mpegts_write_pes(), mpjpeg_write_header(), mpjpeg_write_packet(), msnwc_tcp_read_header(), msnwc_tcp_read_packet(), mtv_read_header(), mtv_read_packet(), mxf_decrypt_triplet(), mxf_read_header(), mxf_read_local_tags(), mxf_read_packet(), mxf_read_seek(), 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_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_timecode_component(), mxf_write_track(), mxf_write_umid(), mxf_write_wav_common(), mxg_read_packet(), mxg_update_cache(), nc_read_packet(), 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(), nuv_header(), nuv_packet(), ogg_get_length(), ogg_read_page(), ogg_read_timestamp(), ogg_restore(), ogg_save(), ogg_write_page(), oma_read_header(), oma_read_packet(), opt_output_file(), pcm_read_seek(), pmp_header(), pmp_packet(), print_report(), process_audio_header_eacs(), process_audio_header_elements(), process_audio_header_sead(), process_ea_header(), process_video_header_mdec(), process_video_header_vp6(), put_chunk(), put_payload_parsing_info(), put_swf_end_tag(), put_swf_tag(), put_vcd_padding_sector(), pva_read_packet(), pva_read_timestamp(), 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(), read_atom(), read_braindead_odml_indx(), read_chapter(), read_desc_chunk(), read_gab2_sub(), read_header(), read_info_chunk(), read_kuki_chunk(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_thread(), rl2_read_header(), rl2_read_packet(), rm_read_dts(), rm_read_header(), rm_read_header_old(), rm_read_index(), rm_read_metadata(), rm_read_packet(), 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(), rso_read_header(), rso_read_packet(), rso_write_header(), rso_write_packet(), rso_write_trailer(), rtp_new_av_stream(), rtp_write_header(), rv10_write_header(), sap_read_header(), sap_write_close(), section_write_packet(), seq_read_header(), seq_read_packet(), siff_read_header(), siff_read_packet(), smacker_read_header(), smacker_read_packet(), sol_read_header(), sol_read_packet(), sox_read_header(), sox_read_packet(), sox_write_header(), sox_write_packet(), sox_write_trailer(), spdif_read_packet(), spdif_write_packet(), srt_read_packet(), str_read_header(), str_read_packet(), swf_read_header(), swf_read_packet(), swf_write_header(), swf_write_trailer(), swf_write_video(), sync(), tcp_write_packet(), thp_read_header(), thp_read_packet(), tmv_read_header(), tmv_read_packet(), tmv_read_seek(), tta_read_header(), tta_read_packet(), tta_read_seek(), txd_read_packet(), vc1t_read_header(), vc1t_read_packet(), vc1test_write_header(), vc1test_write_packet(), vc1test_write_trailer(), vid_read_header(), vid_read_packet(), vmd_read_header(), vmd_read_packet(), voc_get_packet(), voc_read_header(), voc_write_header(), voc_write_packet(), voc_write_trailer(), vqf_read_header(), vqf_read_packet(), vqf_read_seek(), wc3_read_header(), wc3_read_packet(), write_header(), write_packet(), write_packet_header(), write_trailer(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wtvfile_open_sector(), wv_read_header(), wv_read_packet(), wv_read_seek(), xa_read_header(), xa_read_packet(), xwma_read_header(), xwma_read_packet(), yop_read_header(), yop_read_packet(), yop_read_seek(), yuv4_read_header(), and yuv4_read_packet().

Definition at line 741 of file avformat.h.

Referenced by http_prepare_data(), mpeg_mux_write_packet(), and opt_output_file().

Definition at line 689 of file avformat.h.

Referenced by a64_write_header(), a64_write_packet(), a64_write_trailer(), adjust_write_index(), adts_write_header(), adts_write_packet(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_trailer(), ape_read_close(), ape_read_header(), ape_read_packet(), ape_read_seek(), applehttp_close(), applehttp_read_header(), applehttp_read_packet(), applehttp_read_seek(), asf_build_simple_index(), 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_metadata(), asf_read_packet(), asf_read_seek(), asf_read_stream_properties(), asf_reset_header(), asf_write_header(), asf_write_header1(), asf_write_packet(), asf_write_stream_header(), asf_write_trailer(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), audio_open(), audio_read_close(), audio_read_header(), audio_read_packet(), audio_write_header(), audio_write_packet(), audio_write_trailer(), av_set_parameters(), av_write_trailer(), avformat_alloc_output_context2(), avformat_free_context(), avformat_open_input(), avformat_write_header(), avi_load_index(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), avisynth_read_close(), avisynth_read_header(), avisynth_read_packet(), avisynth_read_seek(), avs_read_audio_packet(), avs_read_header(), avs_read_packet(), avs_read_video_packet(), bfi_read_header(), bfi_read_packet(), build_elision_headers(), build_frame_code(), caf_write_header(), caf_write_trailer(), callback(), cdata_read_header(), cdata_read_packet(), celt_header(), cin_read_header(), cin_read_packet(), crc_write_header(), crc_write_packet(), crc_write_trailer(), dc1394_close(), dc1394_read_header(), dc1394_read_packet(), device_init(), dirac_gptopts(), dirac_header(), dshow_add_device(), dshow_open_device(), dshow_read_close(), dshow_read_header(), dshow_read_packet(), dv1394_close(), dv1394_read_header(), dv1394_read_packet(), dv_init_mux(), dv_read_close(), dv_read_header(), dv_read_packet(), dv_read_seek(), dv_write_packet(), dv_write_trailer(), dxa_read_header(), dxa_read_packet(), ea_read_header(), ea_read_packet(), efi_read(), fbdev_read_close(), fbdev_read_header(), fbdev_read_packet(), ff_alsa_close(), ff_alsa_open(), ff_alsa_xrun_recover(), ff_asf_get_packet(), ff_asf_parse_packet(), ff_mov_add_hinted_packet(), ff_mov_init_hinting(), ff_mov_write_packet(), ff_raw_read_header(), ff_raw_video_read_header(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), ff_rtp_chain_mux_open(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_data(), ff_rtp_send_h263(), ff_rtp_send_h264(), ff_rtp_send_latm(), ff_rtp_send_mpegvideo(), ff_rtp_send_vp8(), ff_rtp_send_xiph(), ff_rtsp_close_streams(), ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), ff_rtsp_tcp_read_packet(), ff_rtsp_undo_setup(), ff_sndio_open(), ff_wms_parse_sdp_a_line(), ffm_is_avail_data(), ffm_read_data(), ffm_read_header(), ffm_read_packet(), ffm_seek(), ffm_seek1(), ffm_write_data(), ffm_write_header(), ffm_write_trailer(), film_read_close(), film_read_header(), film_read_packet(), find_header_idx(), flac_header(), flic_read_header(), flic_read_packet(), flush_packet(), flv_read_packet(), flv_write_header(), flv_write_packet(), flv_write_trailer(), fourxm_read_close(), fourxm_read_header(), fourxm_read_packet(), get_riff(), get_system_header_size(), get_vcd_padding_size(), gif_write_header(), grab_read_close(), grab_read_header(), grab_read_packet(), 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_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(), idcin_read_header(), idcin_read_packet(), iff_read_header(), iff_read_packet(), ipmovie_read_header(), ipmovie_read_packet(), iss_read_header(), iss_read_packet(), lxf_read_header(), lxf_read_packet(), matroska_convert_tags(), matroska_read_close(), matroska_read_header(), matroska_read_packet(), matroska_read_seek(), md5_finish(), microdvd_read_header(), microdvd_read_packet(), mkv_flush_dynbuf(), mkv_write_ass_blocks(), mkv_write_block(), mkv_write_chapters(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tag(), mkv_write_tracks(), mkv_write_trailer(), mmap_init(), mmap_read_frame(), mmap_start(), mmf_read_header(), mmf_read_packet(), mov_create_chapter_track(), mov_read_chapters(), mov_read_close(), mov_read_header(), mov_read_packet(), mov_write_ftyp_tag(), mov_write_header(), mov_write_trailer(), mpc8_parse_seektable(), mpc8_read_header(), mpc8_read_packet(), mpc8_read_seek(), 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_get_pcr(), mpegts_insert_pcr_only(), mpegts_raw_read_packet(), mpegts_read_close(), mpegts_read_header(), mpegts_read_packet(), mpegts_write_end(), mpegts_write_header(), mpegts_write_pat(), mpegts_write_pes(), mpegts_write_sdt(), mtv_read_header(), mtv_read_packet(), mxf_decrypt_triplet(), mxf_gen_umid(), mxf_parse_mpeg2_frame(), mxf_read_close(), mxf_read_header(), 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_header(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_packet(), mxf_write_partition(), mxf_write_preface(), mxf_write_random_index_pack(), mxf_write_sequence(), mxf_write_system_item(), mxf_write_timecode_component(), mxf_write_track(), mxf_write_umid(), mxg_close(), mxg_read_header(), mxg_read_packet(), mxg_update_cache(), nal_send(), 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_seek(), nut_read_timestamp(), nuv_header(), nuv_packet(), ogg_buffer_data(), ogg_buffer_page(), ogg_calc_pts(), ogg_get_headers(), ogg_get_length(), ogg_gptopts(), ogg_new_stream(), ogg_packet(), ogg_read_close(), ogg_read_header(), ogg_read_packet(), ogg_read_page(), ogg_read_seek(), ogg_read_timestamp(), ogg_restore(), ogg_save(), ogg_write_pages(), ogm_dshow_header(), ogm_header(), ogm_packet(), old_dirac_gptopts(), old_dirac_header(), opt_find(), output_packet(), parse_chunks(), parse_device_name(), parse_media_type(), parse_videoinfoheader2(), pmp_close(), pmp_header(), pmp_packet(), pmp_seek(), process_audio_header_eacs(), process_audio_header_elements(), process_audio_header_sead(), process_ea_header(), process_video_header_mdec(), process_video_header_vp6(), 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_rdvo(), r3d_read_reos(), r3d_seek(), read_braindead_odml_indx(), read_close(), read_data(), read_desc_chunk(), read_header(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_seek2(), recheck_discard_flags(), resetup_tcp(), retransmit_si_info(), rl2_read_packet(), rl2_read_seek(), rm_read_dts(), rm_read_header(), rm_read_header_old(), rm_read_packet(), rm_write_audio(), rm_write_header(), rm_write_trailer(), rm_write_video(), roq_read_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rtcp_send_sr(), rtp_send_mpegaudio(), rtp_send_mpegts_raw(), rtp_send_raw(), rtp_send_samples(), rtp_write_header(), rtp_write_packet(), rtp_write_trailer(), rtsp_open_transport_ctx(), rtsp_read_close(), rtsp_read_header(), rtsp_read_packet(), rtsp_read_pause(), rtsp_read_play(), rtsp_read_seek(), rtsp_write_close(), rtsp_write_packet(), rtsp_write_record(), rv10_write_header(), sap_fetch_packet(), sap_read_close(), sap_read_header(), sap_write_close(), sap_write_header(), sap_write_packet(), sdl_write_header(), sdl_write_packet(), sdl_write_trailer(), seq_read_close(), seq_read_header(), seq_read_packet(), set_context_opts(), shall_we_drop(), siff_read_header(), siff_read_packet(), skeleton_header(), smacker_read_close(), smacker_read_header(), smacker_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(), start_jack(), str_read_close(), str_read_header(), str_read_packet(), swf_read_header(), swf_read_packet(), swf_write_audio(), swf_write_header(), swf_write_trailer(), swf_write_video(), sync(), tcp_write_packet(), theora_gptopts(), theora_header(), thp_read_header(), thp_read_packet(), tmv_read_header(), tmv_read_packet(), tmv_read_seek(), tta_read_header(), tta_read_packet(), tta_read_seek(), 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_header(), vid_read_packet(), videostream_cb(), vmd_read_close(), vmd_read_header(), vmd_read_packet(), voc_get_packet(), voc_read_header(), voc_write_packet(), vorbis_header(), vqf_read_header(), vqf_read_packet(), vqf_read_seek(), wc3_read_close(), wc3_read_header(), wc3_read_packet(), write_header(), write_headers(), write_packet(), write_streamheader(), write_trailer(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_block_header(), wv_read_header(), wv_read_packet(), wv_read_seek(), x11grab_read_close(), x11grab_read_header(), x11grab_read_packet(), xa_read_header(), xa_read_packet(), xwma_read_header(), xwma_read_packet(), yop_read_close(), yop_read_header(), yop_read_packet(), yop_read_seek(), yuv4_read_header(), and yuv4_read_packet().

decoding: size of data to probe; encoding: unused.

Definition at line 772 of file avformat.h.

Referenced by avformat_find_stream_info(), and mpegts_read_header().

Raw packets from the demuxer, prior to parsing and decoding.

This buffer is used for buffering packets until the codec can be identified, as parsing cannot be done without knowing the codec.

Definition at line 837 of file avformat.h.

Referenced by av_read_packet(), ff_restore_parser_state(), ff_store_parser_state(), and flush_packet_queue().

Definition at line 838 of file avformat.h.

Referenced by av_read_packet(), and flush_packet_queue().

Decoding: position of the first frame of the component, in AV_TIME_BASE fractional seconds.

NEVER set this value directly: It is deduced from the AVStream values.

Definition at line 711 of file avformat.h.

Referenced by av_dump_format(), av_estimate_timings(), av_update_stream_timings(), avformat_open_input(), compute_chapters_end(), dxa_read_header(), event_loop(), fill_all_stream_timings(), flv_read_header(), movie_init(), opt_input_file(), read_header(), read_thread(), and show_format().

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.

  • encoding: Set by user.
  • decoding: Unused.

Definition at line 858 of file avformat.h.

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

Definition at line 692 of file avformat.h.

Referenced by a64_write_header(), a64_write_packet(), adts_write_header(), aea_read_packet(), aiff_read_packet(), aiff_write_header(), aiff_write_trailer(), amr_parse_sdp_line(), amr_read_packet(), ape_read_seek(), applehttp_read_header(), applehttp_read_seek(), asf_build_simple_index(), asf_read_header(), asf_read_pts(), asf_read_seek(), asf_reset_header(), asf_write_header1(), asf_write_packet(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), au_read_packet(), audio_read_packet(), audio_write_header(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_find_best_stream(), av_find_default_stream_index(), av_has_duration(), av_interleave_packet_per_dts(), av_interleaved_write_frame(), av_new_stream(), av_read_frame(), av_read_frame_internal(), av_read_packet(), av_seek_frame(), av_seek_frame_binary(), av_seek_frame_byte(), av_seek_frame_generic(), av_update_cur_dts(), av_update_stream_timings(), av_write_frame(), av_write_trailer(), avformat_find_stream_info(), avformat_free_context(), avformat_write_header(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), avisynth_read_packet(), build_feed_streams(), build_file_streams(), build_frame_code(), caf_write_header(), celt_header(), check_inputs(), clean_index(), close_connection(), config_output_props(), daud_write_header(), decode_frame(), decode_info_header(), decode_stream_header(), dirac_header(), dump_stream_format(), dv_init_mux(), dv_write_packet(), extract_mpeg4_header(), ff_alsa_open(), ff_asf_parse_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_find_stream_index(), ff_gen_syncpoint_search(), ff_interleave_add_packet(), ff_interleave_compare_dts(), ff_interleave_new_audio_packet(), ff_metadata_conv_ctx(), ff_mov_init_hinting(), ff_mov_read_esds(), ff_mov_read_stsd_entries(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_real_parse_sdp_a_line(), ff_reduce_index(), ff_restore_parser_state(), ff_rtp_chain_mux_open(), ff_rtp_send_aac(), ff_rtp_send_latm(), ff_sauce_read(), ff_store_parser_state(), ff_write_chained(), ffm_close(), ffm_write_header(), fill_all_stream_timings(), film_read_header(), find_and_decode_index(), flac_header(), flac_write_header(), flac_write_trailer(), flush_packet(), flv_read_metabody(), flv_read_packet(), flv_write_header(), flv_write_packet(), flv_write_trailer(), g726_16_parse_sdp_line(), g726_24_parse_sdp_line(), g726_32_parse_sdp_line(), g726_40_parse_sdp_line(), get_packet_header(), get_subtitle_pkt(), get_system_header_size(), 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(), http_prepare_data(), http_receive_data(), iff_read_packet(), iss_read_packet(), ivf_write_header(), latm_parse_sdp_line(), lxf_read_packet(), main(), matroska_read_header(), matroska_read_seek(), microdvd_write_header(), mkv_write_ass_blocks(), mkv_write_block(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tags(), mkv_write_tracks(), mov_find_next_sample(), mov_read_chan(), mov_read_chapters(), mov_read_close(), mov_read_ctts(), mov_read_dac3(), mov_read_dref(), mov_read_elst(), mov_read_enda(), mov_read_extradata(), mov_read_glbl(), mov_read_hdlr(), mov_read_mdhd(), mov_read_pasp(), mov_read_seek(), mov_read_smi(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_tkhd(), mov_read_trun(), mov_read_wave(), mov_read_wfex(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), mov_write_udta_sdp(), mov_write_uuidprof_tag(), movie_get_frame(), movie_init(), 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_get_pcr(), mpegts_write_end(), mpegts_write_header(), mpegts_write_packet(), mpegts_write_pmt(), mxf_compare_timestamps(), mxf_free(), mxf_get_stream_index(), mxf_interleave_get_packet(), mxf_read_close(), mxf_read_packet(), mxf_read_seek(), mxf_write_essence_container_refs(), mxf_write_header(), mxf_write_identification(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_packet(), mxf_write_system_item(), nsv_read_chunk(), nsv_read_close(), nsv_read_seek(), nut_read_header(), ogg_compare_granule(), ogg_get_length(), ogg_read_seek(), ogg_write_header(), ogg_write_packet(), ogg_write_page(), ogg_write_pages(), ogg_write_trailer(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_packet(), open_input_file(), open_parser(), opt_input_file(), opt_target(), output_packet(), parse_chunks(), parse_h264_sdp_line(), parse_sdp_line(), pcm_read_seek(), pmp_packet(), prepare_sdp_description(), put_system_header(), r3d_read_packet(), r3d_read_rdvo(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), raw_read_packet(), rawvideo_read_packet(), rdt_parse_sdp_line(), read_braindead_odml_indx(), read_data(), read_ffserver_streams(), read_gab2_sub(), read_header(), read_kuki_chunk(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_seek2(), read_thread(), recheck_discard_flags(), remove_decoded_packets(), rl2_read_header(), rl2_read_packet(), rl2_read_seek(), rm_read_close(), rm_read_dts(), rm_read_index(), rm_read_packet(), rm_write_header(), rm_write_packet(), roq_read_packet(), rpl_read_packet(), rso_read_packet(), rso_write_header(), rtp_new_av_stream(), rtp_write_header(), rtp_write_packet(), rtsp_open_transport_ctx(), rtsp_read_packet(), rtsp_read_play(), rtsp_read_seek(), sap_fetch_packet(), sap_read_header(), sap_write_close(), sap_write_header(), sap_write_packet(), sdl_write_header(), sdl_write_packet(), search_hi_lo_keyframes(), set_disposition_bits(), show_packet(), show_stream(), skeleton_header(), sox_read_packet(), sox_write_header(), sox_write_trailer(), spdif_read_packet(), spdif_write_header(), speex_header(), speex_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), swf_read_packet(), swf_write_header(), swf_write_packet(), swf_write_trailer(), sync(), theora_header(), transcode(), tta_read_packet(), tta_read_seek(), update_initial_timestamps(), v4l2_read_packet(), v4l2_set_parameters(), vc1t_read_packet(), vc1test_write_header(), vid_read_packet(), voc_read_packet(), voc_write_header(), voc_write_packet(), vorbis_header(), vqf_read_seek(), write_header(), write_headers(), write_packet(), write_streaminfo(), write_trailer(), wv_read_packet(), wv_read_seek(), xa_read_packet(), xiph_parse_sdp_line(), xwma_read_packet(), and yuv4_read_packet().

Forced subtitle codec_id.

Demuxing: Set by user.

Definition at line 802 of file avformat.h.

Referenced by av_read_packet(), and opt_input_file().

Transport stream id.

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

Definition at line 869 of file avformat.h.

Referenced by pat_cb().

Forced video codec_id.

Demuxing: Set by user.

Definition at line 790 of file avformat.h.

Referenced by av_read_packet(), device_try_init(), ff_mov_read_stsd_entries(), opt_input_file(), read_header(), and v4l2_read_header().


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

Generated on Fri Oct 26 02:39:51 2012 for FFmpeg by  doxygen 1.5.8