#include <avformat.h>
Data Fields | |
int | index |
stream index in AVFormatContext | |
int | id |
format-specific stream ID | |
AVCodecContext * | codec |
codec context | |
AVRational | r_frame_rate |
Real base framerate of the stream. | |
void * | priv_data |
int64_t | first_dts |
struct AVFrac | pts |
encoding: pts generation when outputting stream | |
AVRational | time_base |
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. | |
int | pts_wrap_bits |
number of bits in pts (used for wrapping control) | |
int | stream_copy |
If set, just copy stream. | |
enum AVDiscard | discard |
Selects which packets can be discarded at will and do not need to be demuxed. | |
float | quality |
Quality, as it has been removed from AVCodecContext and put in AVVideoFrame. | |
int64_t | start_time |
Decoding: pts of the first frame of the stream, in stream time base. | |
int64_t | duration |
Decoding: duration of the stream, in stream time base. | |
attribute_deprecated char | language [4] |
ISO 639-2/B 3-letter language code (empty string if undefined). | |
enum AVStreamParseType | need_parsing |
struct AVCodecParserContext * | parser |
int64_t | cur_dts |
int | last_IP_duration |
int64_t | last_IP_pts |
AVIndexEntry * | index_entries |
Only used if the format does not support seeking natively. | |
int | nb_index_entries |
unsigned int | index_entries_allocated_size |
int64_t | nb_frames |
number of frames in this stream if known or 0 | |
attribute_deprecated int64_t | unused [4+1] |
attribute_deprecated char * | filename |
source filename of the stream | |
int | disposition |
AV_DISPOSITION_* bit field. | |
AVProbeData | probe_data |
int64_t | pts_buffer [MAX_REORDER_DELAY+1] |
AVRational | sample_aspect_ratio |
sample aspect ratio (0 if unknown)
| |
AVDictionary * | metadata |
const uint8_t * | cur_ptr |
int | cur_len |
AVPacket | cur_pkt |
int64_t | reference_dts |
Timestamp corresponding to the last dts sync point. | |
int | probe_packets |
struct AVPacketList * | last_in_packet_buffer |
last packet in packet_buffer for this stream when muxing. | |
AVRational | avg_frame_rate |
Average framerate. | |
int | codec_info_nb_frames |
Number of frames that have been demuxed during av_find_stream_info(). | |
int | stream_identifier |
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown. | |
struct { | |
int64_t last_dts | |
int64_t duration_gcd | |
int duration_count | |
double duration_error [MAX_STD_TIMEBASES] | |
int64_t codec_info_duration | |
} | info |
int | request_probe |
flag to indicate that probing is requested NOT PART OF PUBLIC API |
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(AVStream) must not be used outside libav*.
Definition at line 509 of file avformat.h.
Average framerate.
Definition at line 643 of file avformat.h.
Referenced by avformat_find_stream_info(), dump_stream_format(), matroska_read_header(), mov_read_trak(), show_stream(), and transcode().
codec context
Definition at line 512 of file avformat.h.
Referenced by a64_write_header(), a64_write_packet(), add_audio_stream(), add_av_stream(), add_av_stream1(), add_codec(), add_dstream(), add_video_stream(), adts_aac_read_header(), adts_write_header(), aea_read_header(), aea_read_packet(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_trailer(), alloc_picture(), amf_parse_object(), amr_handle_packet(), amr_read_header(), amr_read_packet(), apc_read_header(), ape_read_header(), applehttp_read_header(), asf_read_close(), asf_read_header(), asf_read_stream_properties(), asf_write_header1(), asf_write_packet(), asfrtp_parse_sdp_line(), au_read_header(), au_read_packet(), audio_decode_frame(), audio_read_header(), audio_read_packet(), audio_write_header(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_find_best_stream(), av_find_default_stream_index(), av_interleaved_write_frame(), av_new_stream(), av_read_frame_internal(), av_read_packet(), av_update_stream_timings(), avformat_find_stream_info(), avformat_free_context(), avformat_write_header(), avi_read_close(), avi_read_header(), avi_read_seek(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), avisynth_read_header(), avs_read_packet(), bfi_read_header(), build_feed_streams(), build_file_streams(), build_frame_code(), caf_write_header(), cdata_read_header(), celt_header(), check_inputs(), choose_pixel_fmt(), choose_sample_fmt(), choose_sample_rate(), cin_read_header(), close_audio(), close_connection(), close_video(), compute_bandwidth(), compute_frame_duration(), compute_pkt_fields(), compute_pkt_fields2(), compute_status(), create_audio_stream(), create_stream(), daud_header(), daud_write_header(), dc1394_read_header(), decode_stream_header(), deplanarize(), dfa_read_header(), dirac_header(), do_audio_out(), do_subtitle_out(), do_video_out(), do_video_stats(), dshow_add_device(), dump_stream_format(), dv_assemble_frame(), dv_extract_audio_info(), dv_extract_video_info(), dv_frame_offset(), dv_init_demux(), dv_init_mux(), dv_offset_reset(), dv_produce_packet(), dxa_read_header(), ea_read_header(), extract_mpeg4_header(), fbdev_read_header(), ff_alsa_open(), ff_asf_parse_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_mov_read_stsd_entries(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_raw_audio_read_header(), ff_raw_read_header(), ff_raw_video_read_header(), ff_rm_parse_packet(), ff_rm_read_mdpr_codecdata(), ff_rm_retrieve_cache(), ff_rtp_chain_mux_open(), ff_rtp_send_aac(), ff_rtp_send_latm(), ff_sauce_read(), ffm_close(), ffm_read_header(), ffm_write_header(), film_read_header(), find_stream_in_feed(), flac_header(), flac_read_header(), flac_write_header(), flac_write_trailer(), flic_read_header(), flv_get_extradata(), flv_read_metabody(), flv_read_packet(), flv_set_audio_codec(), flv_set_video_codec(), flv_write_header(), flv_write_packet(), flv_write_trailer(), fourxm_read_header(), g726_16_parse_sdp_line(), g726_24_parse_sdp_line(), g726_32_parse_sdp_line(), g726_40_parse_sdp_line(), get_attachment(), get_audio_clock(), get_codec_data(), get_packet_header(), get_sindex(), get_video_frame(), gif_write_header(), gif_write_packet(), grab_read_header(), gxf_compare_field_nb(), gxf_find_lines_index(), gxf_interleave_packet(), gxf_packet(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_mpeg_auxiliary(), gxf_write_packet(), gxf_write_umf_media_description(), gxf_write_umf_media_mpeg(), has_decode_delay_been_guessed(), http_prepare_data(), http_receive_data(), idcin_read_header(), iff_read_header(), iff_read_packet(), ipmovie_read_header(), iss_read_header(), iss_read_packet(), ivf_write_header(), lmlm4_read_header(), lxf_read_header(), lxf_read_packet(), main(), matroska_parse_block(), matroska_read_header(), microdvd_read_header(), microdvd_write_header(), mkv_write_block(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tracks(), mmf_read_header(), modify_current_stream(), mov_build_index(), mov_read_chan(), mov_read_close(), mov_read_dac3(), mov_read_enda(), mov_read_extradata(), mov_read_glbl(), mov_read_hdlr(), mov_read_smi(), mov_read_strf(), mov_read_trak(), mov_read_trun(), mov_read_wave(), mov_read_wfex(), mov_write_ftyp_tag(), mov_write_header(), mov_write_tkhd_tag(), mov_write_udta_sdp(), mov_write_uuidprof_tag(), movie_init(), mp3_parse_vbr_tags(), mp3_read_header(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegps_read_packet(), mpegts_find_stream_type(), mpegts_push_data(), mpegts_read_header(), mpegts_set_stream_info(), mpegts_write_header(), mpegts_write_packet(), mpegts_write_pes(), mpegts_write_pmt(), msnwc_tcp_read_header(), mtv_read_header(), mxf_get_d10_aes3_packet(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_write_cdci_common(), mxf_write_common_fields(), mxf_write_d10_audio_packet(), mxf_write_d10_video_packet(), mxf_write_generic_sound_common(), mxf_write_header(), mxf_write_identification(), mxf_write_mpegvideo_desc(), mxf_write_packet(), mxf_write_wav_common(), mxg_read_header(), nc_read_header(), new_audio_stream(), new_data_stream(), new_stream(), new_subtitle_stream(), new_video_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nut_read_header(), nuv_header(), ogg_buffer_data(), ogg_read_seek(), ogg_write_header(), ogg_write_packet(), ogg_write_trailer(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_header(), oma_read_packet(), open_audio(), open_input_file(), open_input_stream(), open_parser(), open_video(), opt_input_file(), opt_target(), output_packet(), parse_fmtp(), parse_fmtp_config(), parse_h264_sdp_line(), parse_media_type(), parse_mpeg1waveformatex(), pcm_read_seek(), pmp_header(), pmt_cb(), pre_process_video_frame(), prepare_sdp_description(), print_report(), pva_read_header(), qcp_read_header(), qdm2_parse_config(), qdm2_parse_packet(), qt_rtp_parse_packet(), queue_picture(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), raw_read_packet(), rawvideo_read_packet(), rdt_parse_packet(), rdt_parse_sdp_line(), read_desc_chunk(), read_ffserver_streams(), read_gab2_sub(), read_header(), read_kuki_chunk(), read_packet(), read_seek(), real_parse_asm_rule(), rl2_read_header(), rm_ac3_swap_bytes(), rm_read_audio_stream_info(), rm_read_dts(), rm_read_header(), rm_write_header(), rm_write_packet(), roq_read_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rso_read_header(), rso_read_packet(), rso_write_header(), rtp_parse_one_packet(), rtp_parse_open(), rtp_parse_packet_internal(), rtp_parse_queued_packet(), rtp_write_header(), rtp_write_packet(), sap_fetch_packet(), sap_read_header(), sdl_write_header(), sdl_write_packet(), sdp_parse_fmtp_config_h264(), seq_read_header(), set_codec_from_probe_data(), show_packet(), show_stream(), siff_parse_vbv1(), skeleton_header(), smacker_read_header(), sol_read_header(), sox_read_header(), sox_read_packet(), sox_write_header(), sox_write_trailer(), spdif_read_packet(), spdif_write_header(), speex_header(), speex_packet(), srt_read_header(), str_read_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), subtitle_thread(), svq3_parse_packet(), swf_read_packet(), swf_write_header(), swf_write_packet(), swf_write_trailer(), synchronize_audio(), theora_header(), thp_read_header(), tmv_read_header(), transcode(), try_decode_frame(), tta_read_header(), txd_read_header(), update_initial_durations(), v4l2_read_header(), v4l2_read_packet(), v4l2_set_parameters(), validate_codec_tag(), vc1t_read_header(), vc1test_write_header(), vfw_read_header(), vid_read_header(), vid_read_packet(), video_audio_display(), video_image_display(), video_open(), video_refresh(), vmd_read_header(), voc_get_packet(), voc_read_header(), voc_write_header(), voc_write_packet(), vorbis_header(), vqf_read_header(), vqf_read_seek(), wc3_read_header(), write_audio_frame(), write_header(), write_streamheader(), write_trailer(), write_video_frame(), wsaud_read_header(), wsvqa_read_header(), wv_read_header(), x11grab_read_header(), xa_read_header(), xa_read_packet(), xiph_parse_fmtp_pair(), xwma_read_header(), xwma_read_packet(), yop_read_header(), yuv4_read_header(), and yuv4_read_packet().
int64_t AVStream::codec_info_duration |
Number of frames that have been demuxed during av_find_stream_info().
Definition at line 648 of file avformat.h.
Referenced by av_find_best_stream(), avformat_find_stream_info(), dump_stream_format(), has_decode_delay_been_guessed(), and transcode().
int64_t AVStream::cur_dts |
Definition at line 577 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_new_stream(), av_update_cur_dts(), avformat_find_stream_info(), compute_pkt_fields(), compute_pkt_fields2(), ff_gen_syncpoint_search(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), pcm_read_seek(), pmp_packet(), update_initial_durations(), update_initial_timestamps(), and vqf_read_seek().
Definition at line 614 of file avformat.h.
Referenced by av_read_frame_internal(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
Definition at line 615 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_read_frame_internal(), avformat_free_context(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
const uint8_t* AVStream::cur_ptr |
Definition at line 613 of file avformat.h.
Referenced by av_read_frame_internal(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
Selects which packets can be discarded at will and do not need to be demuxed.
Definition at line 543 of file avformat.h.
Referenced by av_read_frame_internal(), avisynth_read_packet(), decode_frame(), ff_asf_parse_packet(), ff_gen_syncpoint_search(), flv_read_packet(), get_subtitle_pkt(), matroska_parse_block(), mov_read_chapters(), mov_read_packet(), mpegps_read_packet(), mpegts_push_data(), mxf_read_packet(), opt_input_file(), r3d_read_packet(), read_data(), read_thread(), recheck_discard_flags(), rm_read_packet(), rtsp_read_packet(), search_hi_lo_keyframes(), stream_component_close(), stream_component_open(), and transcode().
AV_DISPOSITION_* bit field.
Definition at line 596 of file avformat.h.
Referenced by av_find_best_stream(), avformat_find_stream_info(), dump_stream_format(), ff_parse_mpeg2_descriptor(), matroska_read_header(), mkv_write_tracks(), mpegts_write_pmt(), parse_chunks(), set_disposition_bits(), transcode(), and write_streaminfo().
int64_t AVStream::duration |
Decoding: duration of the stream, in stream time base.
If a source file does not specify a duration, but does specify a bitrate, this value will be estimated from bitrate and file size.
Definition at line 567 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), asf_read_stream_properties(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_has_duration(), av_new_stream(), av_update_stream_timings(), avi_read_header(), avisynth_read_header(), dfa_read_header(), fill_all_stream_timings(), flac_read_header(), gxf_header(), ivf_write_header(), lxf_read_header(), mov_build_index(), mov_read_chapters(), mov_read_mdhd(), mov_read_packet(), mov_read_stts(), mov_read_trak(), mov_read_trun(), mp3_parse_vbr_tags(), mpc8_read_header(), mpc_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), nut_read_header(), ogg_get_length(), pmp_header(), r3d_read_rdvo(), read_header(), read_packet(), read_pakt_chunk(), read_seek(), rm_read_header(), rso_read_header(), show_stream(), smacker_read_header(), tta_read_header(), vc1t_read_header(), wv_read_header(), and xwma_read_header().
double AVStream::duration_error[MAX_STD_TIMEBASES] |
int64_t AVStream::duration_gcd |
source filename of the stream
Definition at line 593 of file avformat.h.
Referenced by avformat_free_context(), and ff_metadata_demux_compat().
int64_t AVStream::first_dts |
Definition at line 525 of file avformat.h.
Referenced by add_dstream(), av_estimate_timings_from_pts(), av_new_stream(), avformat_find_stream_info(), rdt_parse_sdp_line(), update_initial_durations(), and update_initial_timestamps().
int AVStream::id |
format-specific stream ID
Definition at line 511 of file avformat.h.
Referenced by add_dstream(), asf_read_stream_properties(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), av_new_stream(), build_feed_streams(), dump_stream_format(), dv_produce_packet(), ff_find_stream_index(), ff_rdt_parse_open(), ff_rm_parse_packet(), flv_read_packet(), mov_read_chapters(), mov_read_tkhd(), mov_read_trun(), mpegps_read_dts(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_write_header(), nsv_read_chunk(), rdt_parse_sdp_line(), read_header(), recheck_discard_flags(), rm_read_header(), rm_read_index(), rm_write_header(), rtsp_read_packet(), show_stream(), and sync().
int AVStream::index |
stream index in AVFormatContext
Definition at line 510 of file avformat.h.
Referenced by aac_parse_packet(), add_av_stream1(), amr_handle_packet(), av_new_stream(), av_read_frame_internal(), av_read_packet(), av_set_pts_info(), avs_read_audio_packet(), avs_read_video_packet(), build_feed_streams(), cin_read_header(), compute_pkt_fields2(), dc1394_read_header(), do_audio_out(), do_video_out(), dshow_add_device(), dv_extract_audio_info(), ea_read_header(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), film_read_header(), flic_read_header(), flv_read_packet(), fourxm_read_header(), get_subtitle_pkt(), gxf_write_header(), gxf_write_media_preamble(), h263_handle_packet(), h264_handle_packet(), idcin_read_header(), ipmovie_read_header(), latm_parse_packet(), matroska_parse_block(), mov_build_index(), mov_read_trak(), mov_read_trun(), mov_seek_stream(), mpegps_read_packet(), mpegts_set_stream_info(), mxf_parse_structural_metadata(), mxf_write_generic_desc(), mxf_write_header(), mxf_write_packet(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_timecode_component(), mxf_write_track(), new_pes_packet(), nsv_read_chunk(), open_input_file(), pmt_cb(), qdm2_restore_block(), qt_rtp_parse_packet(), rdt_load_mdpr(), rdt_parse_packet(), rdt_parse_sdp_line(), return_stored_frame(), roq_read_header(), roq_read_packet(), rtp_parse_packet_internal(), rtsp_open_transport_ctx(), seq_read_header(), show_stream(), smacker_read_header(), store_packet(), str_read_packet(), svq3_parse_packet(), thp_read_header(), transcode(), vmd_read_header(), vp8_handle_packet(), wc3_read_header(), write_audio_frame(), write_video_frame(), wsaud_read_header(), wsvqa_read_header(), xa_read_packet(), and xiph_handle_packet().
Only used if the format does not support seeking natively.
Definition at line 581 of file avformat.h.
Referenced by asf_read_seek(), av_add_index_entry(), av_index_search_timestamp(), av_seek_frame_binary(), av_seek_frame_generic(), av_write_trailer(), avformat_free_context(), avi_read_packet(), avi_read_seek(), clean_index(), ff_reduce_index(), guess_ni_flag(), gxf_seek(), matroska_read_seek(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_packet(), mov_read_seek(), mpc8_read_seek(), mpc_read_seek(), nsv_read_seek(), read_header(), read_packet(), read_seek(), rl2_read_packet(), rl2_read_seek(), rpl_read_packet(), tta_read_packet(), tta_read_seek(), write_packet(), and wv_read_seek().
unsigned int AVStream::index_entries_allocated_size |
Definition at line 584 of file avformat.h.
Referenced by av_add_index_entry(), and mov_build_index().
struct { ... } * AVStream::info |
Referenced by av_new_stream(), avformat_find_stream_info(), avformat_free_context(), and read_ffserver_streams().
ISO 639-2/B 3-letter language code (empty string if undefined).
Definition at line 570 of file avformat.h.
Referenced by ff_metadata_demux_compat().
int64_t AVStream::last_dts |
struct AVPacketList* AVStream::last_in_packet_buffer [read] |
last packet in packet_buffer for this stream when muxing.
used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav*
Definition at line 638 of file avformat.h.
Referenced by av_interleave_packet_per_dts(), ff_interleave_add_packet(), and mxf_interleave_get_packet().
int64_t AVStream::last_IP_pts |
Definition at line 579 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_new_stream(), compute_pkt_fields(), decode_frame(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
Definition at line 609 of file avformat.h.
Referenced by applehttp_read_header(), asf_read_header(), avformat_free_context(), avi_read_tag(), avi_write_header(), celt_header(), decode_info_header(), dump_stream_format(), ff_metadata_conv_ctx(), ff_metadata_demux_compat(), ff_parse_mpeg2_descriptor(), flac_header(), get_attachment(), matroska_read_header(), mkv_write_tags(), mkv_write_tracks(), mov_read_mdhd(), mov_read_tkhd(), mov_write_header(), mpegts_write_pmt(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), ogm_header(), parse_chunks(), r3d_read_red1(), read_gab2_sub(), read_header(), show_stream(), speex_header(), theora_header(), transcode(), vorbis_header(), and write_trailer().
int64_t AVStream::nb_frames |
number of frames in this stream if known or 0
Definition at line 586 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), avi_read_header(), avs_read_packet(), mkv_write_ass_blocks(), mov_read_stts(), mov_read_trak(), pmp_header(), read_header(), read_pakt_chunk(), and show_stream().
Definition at line 583 of file avformat.h.
Referenced by av_add_index_entry(), av_index_search_timestamp(), av_seek_frame_generic(), avi_read_header(), avi_read_packet(), avi_read_seek(), clean_index(), ff_reduce_index(), guess_ni_flag(), matroska_read_seek(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_packet(), read_header(), read_packet(), read_seek(), rl2_read_packet(), and rpl_read_packet().
Definition at line 574 of file avformat.h.
Referenced by adts_aac_read_header(), asf_read_stream_properties(), av_read_frame_internal(), avformat_find_stream_info(), avi_read_header(), compute_pkt_fields(), ea_read_header(), ff_mov_read_stsd_entries(), ff_parse_mpeg2_descriptor(), ff_raw_audio_read_header(), ff_raw_video_read_header(), flac_read_header(), flv_set_audio_codec(), get_codec_data(), get_sindex(), lmlm4_read_header(), matroska_read_header(), mp3_read_header(), mpegps_read_packet(), mpegts_set_stream_info(), mtv_read_header(), mxf_parse_structural_metadata(), nc_read_header(), new_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), ogm_header(), oma_read_header(), pva_read_header(), read_header(), rm_read_audio_stream_info(), rtp_parse_open(), theora_header(), and xwma_read_header().
struct AVCodecParserContext* AVStream::parser [read] |
Definition at line 575 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_read_frame_internal(), avformat_find_stream_info(), avformat_free_context(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), and output_packet().
void* AVStream::priv_data |
Definition at line 522 of file avformat.h.
Referenced by add_av_stream1(), asf_read_pts(), asf_read_stream_properties(), asf_reset_header(), av_write_trailer(), avformat_free_context(), 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(), clean_index(), ff_asf_parse_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_interleave_new_audio_packet(), ff_mov_read_stsd_entries(), flush_packet(), get_subtitle_pkt(), get_system_header_size(), gxf_compare_field_nb(), gxf_find_lines_index(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_mpeg_auxiliary(), gxf_write_track_description_section(), gxf_write_umf_media_description(), gxf_write_umf_media_mpeg(), gxf_write_umf_track_description(), http_prepare_data(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_close(), mov_read_ctts(), mov_read_dref(), mov_read_elst(), mov_read_mdhd(), mov_read_packet(), mov_read_stco(), mov_read_stps(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_tkhd(), mov_read_trak(), mov_read_trun(), mov_seek_stream(), mpeg_mux_end(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegts_get_pcr(), mpegts_insert_pcr_only(), mpegts_set_stream_info(), mpegts_write_end(), mpegts_write_header(), mpegts_write_packet(), mpegts_write_pes(), mpegts_write_pmt(), mxf_compare_timestamps(), mxf_free(), mxf_get_stream_index(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_read_close(), mxf_write_cdci_common(), mxf_write_essence_container_refs(), mxf_write_footer(), mxf_write_generic_desc(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_packet(), mxf_write_system_item(), mxf_write_track(), new_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nsv_read_seek(), ogg_buffer_data(), ogg_compare_granule(), ogg_write_header(), ogg_write_packet(), ogg_write_page(), ogg_write_pages(), ogg_write_trailer(), output_packet(), parse_chunks(), put_system_header(), qt_rtp_parse_packet(), read_braindead_odml_indx(), read_gab2_sub(), remove_decoded_packets(), rm_read_close(), rm_read_header(), rm_read_header_old(), rm_read_packet(), rtp_new_av_stream(), sap_write_close(), sap_write_header(), sap_write_packet(), and seek_subtitle().
Definition at line 632 of file avformat.h.
Referenced by av_new_stream(), av_read_packet(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), and set_codec_from_probe_data().
struct AVFrac AVStream::pts [read] |
encoding: pts generation when outputting stream
Definition at line 530 of file avformat.h.
Referenced by avformat_write_header(), compute_pkt_fields2(), main(), print_report(), and transcode().
int64_t AVStream::pts_buffer[MAX_REORDER_DELAY+1] |
Definition at line 600 of file avformat.h.
Referenced by av_new_stream(), compute_pkt_fields(), compute_pkt_fields2(), and ff_read_frame_flush().
number of bits in pts (used for wrapping control)
Definition at line 540 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_read_frame(), av_set_pts_info(), and compute_pkt_fields().
float AVStream::quality |
Quality, as it has been removed from AVCodecContext and put in AVVideoFrame.
MN: dunno if that is the right place for it
Definition at line 550 of file avformat.h.
Referenced by do_video_out(), ffm_read_header(), ffm_write_header(), new_audio_stream(), new_video_stream(), and output_packet().
Real base framerate of the stream.
This is the lowest framerate with which all timestamps can be represented accurately (it is the least common multiple of all framerates in the stream). Note, this value is just a guess! For example, if the time base is 1/90000 and all frames have either approximately 3600 or 1800 timer ticks, then r_frame_rate will be 50/1.
Definition at line 521 of file avformat.h.
Referenced by avformat_find_stream_info(), avisynth_read_header(), dump_stream_format(), flv_write_header(), mov_read_trak(), nuv_header(), opt_input_file(), show_stream(), transcode(), and vc1test_write_header().
int64_t AVStream::reference_dts |
Timestamp corresponding to the last dts sync point.
Initialized when AVCodecParserContext.dts_sync_point >= 0 and a DTS is received from the underlying container. Otherwise set to AV_NOPTS_VALUE by default.
Definition at line 625 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_new_stream(), compute_pkt_fields(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
flag to indicate that probing is requested NOT PART OF PUBLIC API
Definition at line 673 of file avformat.h.
Referenced by asf_read_stream_properties(), av_read_packet(), avi_read_header(), mpegps_read_packet(), mpegts_find_stream_type(), and mpegts_push_data().
sample aspect ratio (0 if unknown)
Definition at line 607 of file avformat.h.
Referenced by add_av_stream1(), asf_read_header(), av_new_stream(), avformat_write_header(), avi_read_header(), avi_write_header(), decode_stream_header(), dump_stream_format(), dv_extract_video_info(), ff_rtp_chain_mux_open(), iff_read_header(), matroska_read_header(), mkv_write_tracks(), mov_read_pasp(), mov_read_tkhd(), mov_read_trak(), mov_write_tkhd_tag(), mov_write_trak_tag(), movie_get_frame(), new_video_stream(), nut_read_header(), nuv_header(), output_packet(), read_header(), sdl_write_header(), theora_header(), transcode(), video_image_display(), write_streamheader(), yop_read_header(), and yuv4_read_header().
int64_t AVStream::start_time |
Decoding: pts of the first frame of the stream, in stream time base.
Only set this if you are absolutely 100% sure that the value you set it to really is the pts of the first frame. This may be undefined (AV_NOPTS_VALUE).
Definition at line 560 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), av_estimate_timings_from_pts(), av_new_stream(), av_update_stream_timings(), avi_read_header(), avisynth_read_header(), dv_extract_audio_info(), dv_init_demux(), ff_raw_audio_read_header(), fill_all_stream_timings(), gxf_header(), gxf_seek(), matroska_read_header(), mp3_read_header(), mpc_read_header(), mpegts_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), nut_read_header(), ogg_get_length(), oma_read_header(), read_header(), read_thread(), rm_read_header(), show_stream(), skeleton_header(), tta_read_header(), update_initial_timestamps(), vqf_read_header(), and wv_read_header().
If set, just copy stream.
Definition at line 542 of file avformat.h.
Referenced by new_audio_stream(), new_data_stream(), new_subtitle_stream(), new_video_stream(), print_report(), read_ffserver_streams(), and transcode().
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown.
Definition at line 655 of file avformat.h.
Referenced by ff_parse_mpeg2_descriptor().
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented.
For fixed-fps content, time base should be 1/framerate and timestamp increments should be 1. decoding: set by libavformat encoding: set by libavformat in av_write_header
Definition at line 539 of file avformat.h.
Referenced by applehttp_read_seek(), audio_decode_frame(), av_estimate_timings_from_bit_rate(), av_pkt_dump2(), av_pkt_dump_log2(), av_seek_frame(), av_set_pts_info(), av_update_cur_dts(), av_update_stream_timings(), avformat_find_stream_info(), avformat_write_header(), avi_read_packet(), avi_read_seek(), compute_frame_duration(), compute_pkt_fields(), compute_pkt_fields2(), config_output_props(), do_audio_out(), do_subtitle_out(), do_video_out(), dump_stream_format(), ff_gen_syncpoint_search(), ff_interleave_compare_dts(), ff_interleave_new_audio_packet(), ff_mov_init_hinting(), ff_write_chained(), fill_all_stream_timings(), finalize_packet(), get_subtitle_pkt(), http_prepare_data(), ivf_write_header(), main(), mov_read_chapters(), mov_read_seek(), movie_get_frame(), mp3_parse_vbr_tags(), mxf_read_seek(), nut_read_header(), ogg_compare_granule(), output_packet(), pcm_read_seek(), print_report(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), read_gab2_sub(), read_header(), read_seek(), read_seek2(), read_thread(), rl2_read_seek(), rtsp_read_play(), rtsp_read_seek(), sap_fetch_packet(), sap_read_header(), search_hi_lo_keyframes(), seek_subtitle(), show_packet(), show_stream(), subtitle_thread(), transcode(), vc1t_read_packet(), video_thread(), vqf_read_seek(), write_audio_frame(), and write_video_frame().
attribute_deprecated int64_t AVStream::unused[4+1] |
Definition at line 589 of file avformat.h.