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
ByteIOContextpb
unsigned int nb_streams
AVStreamstreams [MAX_STREAMS]
char filename [1024]
 input or output filename
int64_t timestamp
char title [512]
char author [512]
char copyright [512]
char comment [512]
char album [512]
int year
 ID3 year, 0 if none.
int track
 track number, 0 if none
char genre [32]
 ID3 genre.
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
const uint8_t * cur_ptr_deprecated
int cur_len_deprecated
AVPacket cur_pkt_deprecated
int64_t data_offset
int index_built
 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
AVMetadatametadata
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).


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


Field Documentation

Definition at line 598 of file avformat.h.

Forced audio codec_id.

Demuxing: Set by user.

Definition at line 683 of file avformat.h.

Referenced by audio_read_header(), av_read_packet(), img_read_header(), and opt_input_file().

Definition at line 595 of file avformat.h.

Set by avformat_alloc_context.

Definition at line 582 of file avformat.h.

Referenced by avformat_alloc_context(), and 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 625 of file avformat.h.

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

Definition at line 597 of file avformat.h.

Definition at line 596 of file avformat.h.

Definition at line 631 of file avformat.h.

Definition at line 632 of file avformat.h.

Definition at line 630 of file avformat.h.

Flags to enable debugging.

Definition at line 714 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 619 of file avformat.h.

Referenced by amf_parse_object(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_open_input_stream(), av_update_stream_timings(), avi_read_header(), compute_chapters_end(), dump_format(), dxa_read_header(), event_loop(), fill_all_stream_timings(), flv_read_packet(), flv_write_header(), matroska_read_header(), ogg_get_length(), sdp_parse_line(), show_format(), and wv_read_seek().

ID3 genre.

Definition at line 601 of file avformat.h.

offset of the first packet

Definition at line 637 of file avformat.h.

const uint8_t* AVFormatContext::key

Definition at line 668 of file avformat.h.

Referenced by ff_asf_parse_packet(), and mxf_decrypt_triplet().

Definition at line 669 of file avformat.h.

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

Definition at line 658 of file avformat.h.

Referenced by img_read_packet(), and opt_input_file().

number of times to loop output in formats that support it

Definition at line 647 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 666 of file avformat.h.

Referenced by av_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 700 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 706 of file avformat.h.

Referenced by shall_we_drop().

Definition at line 639 of file avformat.h.

Referenced by mpeg_mux_init(), and mpegts_write_header().

Definition at line 588 of file avformat.h.

Referenced by asf_read_close(), asf_read_header(), asf_read_pts(), asf_reset_header(), asf_write_header1(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), av_close_input_stream(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_exit(), av_find_default_stream_index(), av_find_stream_info(), av_has_duration(), av_interleave_packet_per_dts(), av_metadata_conv(), av_new_stream(), av_open_input_stream(), av_read_frame_internal(), av_read_packet(), av_transcode(), av_update_cur_dts(), av_update_stream_timings(), av_write_header(), av_write_trailer(), 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_audio_video_sub_inputs(), clean_index(), close_connection(), decode_info_header(), decode_syncpoint(), decode_thread(), dump_format(), dv_init_mux(), extract_mpeg4_header(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_gen_syncpoint_search(), ff_metadata_demux_compat(), ff_metadata_mux_compat(), ff_mov_read_esds(), ff_nut_reset_ts(), ff_program_add_stream_index(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_store_parser_state(), ffm_close(), ffm_read_header(), 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(), get_sindex(), 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(), main(), mkv_write_header(), mkv_write_tracks(), mkv_write_trailer(), mov_find_next_sample(), mov_read_chapters(), mov_read_close(), mov_read_ctts(), 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_stsd(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_tkhd(), mov_read_trak(), mov_read_trun(), mov_read_wave(), 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_push_data(), 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_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(), r3d_read_packet(), rdt_parse_sdp_line(), read_braindead_odml_indx(), read_ffserver_streams(), read_seek(), real_parse_asm_rulebook(), 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(), rv10_write_header(), sdp_parse_line(), search_hi_lo_keyframes(), set_disposition_bits(), show_format(), stream_component_close(), stream_component_open(), stream_cycle_channel(), swf_read_packet(), swf_write_header(), swf_write_trailer(), sync(), voc_write_header(), write_header(), write_headers(), write_mainheader(), and write_packet().

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

Referenced by av_find_stream_info(), av_interleave_packet_per_dts(), av_read_frame(), 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 587 of file avformat.h.

Referenced by 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(), asf_build_simple_index(), asf_read_header(), asf_read_packet(), asf_read_pts(), asf_read_seek(), asf_write_header(), asf_write_header1(), asf_write_index(), asf_write_trailer(), asfrtp_parse_packet(), au_read_header(), au_read_packet(), av_close_input_file(), av_estimate_timings(), av_estimate_timings_from_pts(), av_exit(), av_find_stream_info(), 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(), avi_load_index(), avi_read_header(), avi_read_idx1(), avi_read_info(), 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(), 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(), decode_thread(), dv_frame_offset(), dv_read_header(), dv_read_packet(), dv_read_seek(), dxa_read_header(), dxa_read_packet(), ea_read_packet(), ebml_level_end(), ebml_parse(), ebml_parse_elem(), ebml_read_master(), 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_init_hinting(), ff_mov_write_packet(), ff_restore_parser_state(), ff_rtp_send_data(), ff_rtsp_close_streams(), ff_store_parser_state(), ff_wms_parse_sdp_a_line(), ffm_is_avail_data(), ffm_read_data(), ffm_read_header(), ffm_read_packet(), ffm_resync(), ffm_seek1(), ffm_write_header(), ffm_write_trailer(), 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(), get_dts(), get_meta(), 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(), idcin_read_header(), idcin_read_packet(), iff_read_header(), iff_read_packet(), img_read_packet(), ipmovie_read_header(), ipmovie_read_packet(), iss_read_header(), iss_read_packet(), lmlm4_read_packet(), main(), matroska_execute_seekhead(), matroska_parse_cluster(), matroska_read_seek(), mkv_flush_dynbuf(), mkv_write_chapters(), mkv_write_header(), mkv_write_packet(), 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(), 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_primer_pack(), 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(), 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_update_checksum(), ogg_write_page(), oma_read_header(), oma_read_packet(), opt_output_file(), 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(), rdt_parse_packet(), read_atom(), read_braindead_odml_indx(), read_desc_chunk(), read_header(), read_info_chunk(), read_kuki_chunk(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), read_ttag(), 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(), rpl_read_header(), rpl_read_packet(), rtp_new_av_stream(), rtp_write_header(), rtsp_rtp_mux_open(), rv10_write_header(), sdp_read_header(), 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_write_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(), wv_read_header(), wv_read_packet(), wv_read_seek(), xa_read_header(), xa_read_packet(), yop_read_header(), yop_read_packet(), yop_read_seek(), yuv4_read_header(), and yuv4_read_packet().

Definition at line 641 of file avformat.h.

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

Definition at line 586 of file avformat.h.

Referenced by 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(), asf_build_simple_index(), asf_read_frame_header(), asf_read_header(), asf_read_packet(), asf_read_seek(), 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_close_input_stream(), av_open_input_stream(), av_set_parameters(), av_write_header(), av_write_trailer(), 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(), cdata_read_header(), cdata_read_packet(), cin_read_header(), cin_read_packet(), crc_write_header(), crc_write_packet(), crc_write_trailer(), dc1394_read_common(), device_init(), dirac_gptopts(), dirac_header(), dv1394_close(), dv1394_read_header(), dv1394_read_packet(), dv_init_mux(), dv_read_close(), dv_read_header(), dv_read_packet(), dv_read_seek(), dxa_read_header(), dxa_read_packet(), ea_read_header(), ea_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_rm_parse_packet(), ff_rm_retrieve_cache(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_data(), ff_rtp_send_h263(), ff_rtp_send_h264(), ff_rtp_send_mpegvideo(), ff_rtsp_close_streams(), 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(), gif_write_video(), grab_read_close(), grab_read_header(), grab_read_packet(), gxf_compare_field_nb(), 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(), img_read_header(), img_read_packet(), ipmovie_read_header(), ipmovie_read_packet(), iss_read_header(), iss_read_packet(), matroska_convert_tags(), matroska_read_close(), matroska_read_header(), matroska_read_packet(), matroska_read_seek(), mkv_flush_dynbuf(), mkv_write_ass_blocks(), mkv_write_block(), mkv_write_chapters(), mkv_write_header(), mkv_write_packet(), 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_null_packet(), 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(), 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_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(), output_packet(), 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_desc_chunk(), read_header(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), 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_rtp_mux_open(), rtsp_write_close(), rtsp_write_header(), rtsp_write_packet(), rtsp_write_record(), rv10_write_header(), sdp_parse_line(), sdp_read_header(), seq_read_close(), seq_read_header(), seq_read_packet(), 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_mpeg(), 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_packet(), 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(), 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 660 of file avformat.h.

Referenced by av_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 723 of file avformat.h.

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

Definition at line 724 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 614 of file avformat.h.

Referenced by av_estimate_timings(), av_open_input_stream(), av_update_stream_timings(), compute_chapters_end(), decode_thread(), dump_format(), dxa_read_header(), event_loop(), fill_all_stream_timings(), flv_read_header(), opt_input_file(), sdp_parse_line(), 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 744 of file avformat.h.

Referenced by rtp_write_header(), and rtsp_rtp_mux_open().

Definition at line 589 of file avformat.h.

Referenced by adts_write_header(), aea_read_packet(), aiff_read_packet(), aiff_write_header(), aiff_write_trailer(), amr_read_packet(), ape_read_seek(), asf_build_simple_index(), asf_read_close(), 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_close_input_stream(), av_estimate_timings(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_exit(), av_find_default_stream_index(), av_find_stream_info(), av_has_duration(), av_interleave_packet_per_dts(), av_interleaved_write_frame(), av_metadata_conv(), av_new_stream(), av_open_input_stream(), av_read_frame_internal(), av_read_packet(), av_seek_frame(), av_seek_frame_binary(), av_seek_frame_byte(), av_seek_frame_generic(), av_transcode(), av_update_cur_dts(), av_update_stream_timings(), av_write_frame(), av_write_header(), av_write_trailer(), 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(), check_audio_video_sub_inputs(), clean_index(), close_connection(), daud_write_header(), decode_frame(), decode_info_header(), decode_stream_header(), decode_thread(), dirac_header(), dump_stream_format(), dv_init_mux(), extract_mpeg4_header(), ff_asf_parse_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_gen_syncpoint_search(), ff_interleave_add_packet(), ff_interleave_compare_dts(), ff_interleave_new_audio_packet(), ff_metadata_demux_compat(), ff_metadata_mux_compat(), ff_mov_add_hinted_packet(), ff_mov_close_hinting(), ff_mov_init_hinting(), ff_mov_read_esds(), ff_rdt_parse_open(), ff_read_frame_flush(), ff_real_parse_sdp_a_line(), ff_reduce_index(), ff_restore_parser_state(), ff_rtp_send_aac(), ff_rtsp_close_streams(), ff_store_parser_state(), ffm_close(), ffm_read_header(), 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(), get_sindex(), 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(), img_read_packet(), iss_read_packet(), main(), matroska_read_seek(), mkv_write_ass_blocks(), mkv_write_block(), mkv_write_header(), mkv_write_packet(), mkv_write_tracks(), mkv_write_trailer(), mmf_read_packet(), mov_find_next_sample(), mov_read_chapters(), mov_read_close(), mov_read_ctts(), 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_stsd(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_tkhd(), mov_read_trun(), mov_read_wave(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), mov_write_trak_tag(), mov_write_uuidprof_tag(), 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_h264_sdp_line(), prepare_sdp_description(), put_system_header(), r3d_read_packet(), r3d_read_rdvo(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), rdt_parse_sdp_line(), read_braindead_odml_indx(), read_ffserver_streams(), read_header(), read_kuki_chunk(), read_packet(), read_pakt_chunk(), read_part_of_packet(), read_seek(), 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(), rtp_new_av_stream(), rtp_write_header(), rtp_write_packet(), rtsp_open_transport_ctx(), rtsp_rtp_mux_open(), sdp_parse_line(), search_hi_lo_keyframes(), set_disposition_bits(), show_stream(), skeleton_header(), sox_read_packet(), sox_write_header(), sox_write_trailer(), 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(), tta_read_packet(), tta_read_seek(), update_initial_timestamps(), v4l2_read_packet(), 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(), and yuv4_read_packet().

Forced subtitle codec_id.

Demuxing: Set by user.

Definition at line 688 of file avformat.h.

Referenced by av_read_packet(), and opt_input_file().

Definition at line 594 of file avformat.h.

track number, 0 if none

Definition at line 600 of file avformat.h.

Forced video codec_id.

Demuxing: Set by user.

Definition at line 678 of file avformat.h.

Referenced by av_read_packet(), device_try_init(), img_read_header(), mov_read_stsd(), opt_input_file(), and v4l2_read_header().

ID3 year, 0 if none.

Definition at line 599 of file avformat.h.


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

Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8