#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. | |
char | language [4] |
enum AVStreamParseType | need_parsing |
ISO 639-2/B 3-letter language code (empty string if undefined). | |
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 | |
int64_t | unused [4+1] |
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)
| |
AVMetadata * | 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(). |
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 405 of file avformat.h.
Average framerate.
Definition at line 526 of file avformat.h.
Referenced by av_find_stream_info(), av_transcode(), dump_stream_format(), matroska_read_header(), mov_read_trak(), and show_stream().
codec context
Definition at line 408 of file avformat.h.
Referenced by add_audio_stream(), add_av_stream(), add_av_stream1(), add_codec(), add_dstream(), add_video_stream(), 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(), asf_read_close(), asf_read_header(), 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_close_input_stream(), av_estimate_timings_from_bit_rate(), av_estimate_timings_from_pts(), av_exit(), av_find_default_stream_index(), av_find_stream_info(), av_interleaved_write_frame(), av_new_stream(), av_open_input_stream(), av_read_frame_internal(), av_read_packet(), av_transcode(), av_write_header(), avi_read_close(), avi_read_header(), 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(), cdata_read_header(), check_audio_video_sub_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_common(), decode_stream_header(), decode_thread(), dirac_header(), do_audio_out(), do_subtitle_out(), do_video_out(), do_video_stats(), 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(), ff_asf_parse_packet(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_mov_init_hinting(), ff_mov_read_esds(), ff_rm_parse_packet(), ff_rm_read_mdpr_codecdata(), ff_rm_retrieve_cache(), ff_rtp_send_aac(), 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(), fourxm_read_header(), get_audio_clock(), get_codec_data(), 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(), http_prepare_data(), http_receive_data(), idcin_read_header(), iff_read_header(), iff_read_packet(), img_read_header(), img_read_packet(), ipmovie_read_header(), iss_read_header(), iss_read_packet(), lmlm4_read_header(), main(), matroska_parse_block(), matroska_read_header(), mkv_write_block(), mkv_write_header(), mkv_write_packet(), mkv_write_tracks(), mkv_write_trailer(), mmf_read_header(), modify_current_stream(), mov_build_index(), mov_read_close(), mov_read_enda(), mov_read_extradata(), mov_read_glbl(), mov_read_hdlr(), mov_read_smi(), mov_read_strf(), mov_read_stsd(), mov_read_trak(), mov_read_trun(), mov_read_wave(), mov_write_ftyp_tag(), mov_write_header(), mov_write_trak_tag(), mov_write_uuidprof_tag(), 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(), nc_read_header(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nut_read_header(), nuv_header(), 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(), output_picture2(), parse_h264_sdp_line(), pmt_cb(), pre_process_video_frame(), prepare_sdp_description(), print_report(), pva_read_header(), qcp_read_header(), queue_picture(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), rdt_parse_packet(), rdt_parse_sdp_line(), read_desc_chunk(), read_ffserver_streams(), 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(), rtp_parse_open(), rtp_parse_packet(), rtp_write_header(), rtp_write_packet(), rtsp_rtp_mux_open(), sdp_parse_fmtp(), sdp_parse_fmtp_config_h264(), sdp_parse_line(), seq_read_header(), set_codec_from_probe_data(), 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_write_header(), speex_header(), speex_packet(), str_read_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), subtitle_thread(), swf_read_packet(), swf_write_header(), swf_write_packet(), swf_write_trailer(), synchronize_audio(), theora_header(), thp_read_header(), tmv_read_header(), try_decode_frame(), tta_read_header(), txd_read_header(), update_initial_durations(), update_sample_display(), v4l2_read_header(), v4l2_read_packet(), vc1t_read_header(), vc1test_write_header(), vfw_read_header(), vid_read_header(), vid_read_packet(), video_audio_display(), video_image_display(), video_open(), 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_sdp_line(), yop_read_header(), yuv4_read_header(), and yuv4_read_packet().
Number of frames that have been demuxed during av_find_stream_info().
Definition at line 531 of file avformat.h.
Referenced by av_find_stream_info(), av_transcode(), decode_thread(), and dump_stream_format().
int64_t AVStream::cur_dts |
Definition at line 463 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), av_find_stream_info(), av_new_stream(), av_update_cur_dts(), compute_pkt_fields(), compute_pkt_fields2(), ff_gen_syncpoint_search(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), update_initial_durations(), update_initial_timestamps(), and vqf_read_seek().
Definition at line 497 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 498 of file avformat.h.
Referenced by av_close_input_stream(), av_estimate_timings_from_pts(), av_read_frame_internal(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
const uint8_t* AVStream::cur_ptr |
Definition at line 496 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 434 of file avformat.h.
Referenced by av_read_frame_internal(), av_transcode(), avisynth_read_packet(), decode_frame(), decode_thread(), ff_asf_parse_packet(), ff_gen_syncpoint_search(), flv_read_packet(), matroska_parse_block(), mov_read_chapters(), mpegps_read_packet(), mpegts_push_data(), mxf_read_packet(), opt_input_file(), r3d_read_packet(), rm_read_packet(), search_hi_lo_keyframes(), stream_component_close(), and stream_component_open().
AV_DISPOSITION_* bit field.
Definition at line 480 of file avformat.h.
Referenced by av_transcode(), matroska_read_header(), mkv_write_tracks(), set_disposition_bits(), 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 453 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), asf_read_header(), av_estimate_timings(), 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(), fill_all_stream_timings(), flac_read_header(), gxf_header(), img_read_header(), mov_build_index(), mov_read_chapters(), mov_read_mdhd(), mov_read_stts(), mov_read_trak(), mov_read_trun(), mpc8_read_header(), mpc_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), nut_read_header(), ogg_get_length(), r3d_read_rdvo(), read_header(), read_packet(), read_pakt_chunk(), rm_read_header(), show_stream(), smacker_read_header(), tta_read_header(), vc1t_read_header(), and wv_read_header().
char* AVStream::filename |
source filename of the stream
Definition at line 477 of file avformat.h.
Referenced by av_close_input_stream(), and ff_metadata_demux_compat().
int64_t AVStream::first_dts |
Definition at line 421 of file avformat.h.
Referenced by add_dstream(), av_estimate_timings_from_pts(), av_find_stream_info(), av_new_stream(), rdt_parse_sdp_line(), update_initial_durations(), and update_initial_timestamps().
int AVStream::id |
format-specific stream ID
Definition at line 407 of file avformat.h.
Referenced by asf_read_header(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), av_new_stream(), build_feed_streams(), dump_stream_format(), dv_produce_packet(), ff_rm_parse_packet(), flv_read_packet(), get_sindex(), mov_read_chapters(), mov_read_tkhd(), mov_read_trun(), mpegps_read_dts(), mpegps_read_packet(), mpegps_read_pes_header(), nsv_read_chunk(), rm_read_header(), rm_read_index(), rm_write_header(), show_stream(), and sync().
int AVStream::index |
stream index in AVFormatContext
Definition at line 406 of file avformat.h.
Referenced by add_av_stream1(), amr_handle_packet(), av_find_stream_info(), 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_common(), 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(), gxf_write_header(), gxf_write_media_preamble(), h263_handle_packet(), h264_handle_packet(), idcin_read_header(), ipmovie_read_header(), 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(), rdt_load_mdpr(), rdt_parse_packet(), rdt_parse_sdp_line(), roq_read_header(), roq_read_packet(), rtp_parse_packet(), rtsp_open_transport_ctx(), sdp_parse_line(), seq_read_header(), show_stream(), smacker_read_header(), str_read_packet(), thp_read_header(), vmd_read_header(), 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 467 of file avformat.h.
Referenced by asf_read_seek(), av_add_index_entry(), av_close_input_stream(), av_index_search_timestamp(), av_seek_frame_binary(), av_seek_frame_generic(), av_write_trailer(), 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_seek(), mpc8_read_seek(), mpc_read_seek(), nsv_read_seek(), 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 470 of file avformat.h.
Referenced by av_add_index_entry(), and mov_build_index().
char AVStream::language[4] |
Definition at line 456 of file avformat.h.
Referenced by ff_metadata_demux_compat(), and show_stream().
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 521 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 465 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 493 of file avformat.h.
Referenced by asf_read_header(), av_close_input_stream(), av_exit(), av_metadata_conv(), av_transcode(), avi_read_tag(), avi_write_header(), decode_info_header(), dump_stream_format(), ff_metadata_demux_compat(), ff_mov_close_hinting(), ff_mov_init_hinting(), ff_rtsp_close_streams(), flac_header(), matroska_read_header(), mkv_write_tracks(), mov_read_mdhd(), mov_write_header(), mpegts_write_pmt(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), ogm_header(), pmt_cb(), r3d_read_red1(), show_stream(), speex_header(), theora_header(), and vorbis_header().
int64_t AVStream::nb_frames |
number of frames in this stream if known or 0
Definition at line 472 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(), read_header(), read_pakt_chunk(), and show_stream().
Definition at line 469 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(), read_header(), read_packet(), read_seek(), rl2_read_packet(), and rpl_read_packet().
ISO 639-2/B 3-letter language code (empty string if undefined).
Definition at line 460 of file avformat.h.
Referenced by asf_read_header(), av_find_stream_info(), av_read_frame_internal(), avi_read_header(), compute_pkt_fields(), flac_read_header(), flv_set_audio_codec(), get_codec_data(), get_sindex(), img_read_header(), lmlm4_read_header(), matroska_read_header(), mov_read_stsd(), mpegps_read_packet(), mpegts_set_stream_info(), mtv_read_header(), mxf_parse_structural_metadata(), nc_read_header(), 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(), and theora_header().
struct AVCodecParserContext* AVStream::parser [read] |
Definition at line 461 of file avformat.h.
Referenced by av_close_input_stream(), av_estimate_timings_from_pts(), av_find_stream_info(), av_read_frame_internal(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), and output_packet().
void* AVStream::priv_data |
Definition at line 418 of file avformat.h.
Referenced by add_av_stream1(), add_dstream(), asf_read_header(), asf_read_pts(), asf_reset_header(), av_close_input_stream(), av_open_input_stream(), av_write_trailer(), 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_rdt_parse_close(), ff_rdt_parse_open(), flush_packet(), 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_stco(), mov_read_stps(), 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_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(), 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(), put_system_header(), rdt_parse_sdp_line(), read_braindead_odml_indx(), remove_decoded_packets(), rm_read_close(), rm_read_header(), rm_read_header_old(), rm_read_packet(), rtp_new_av_stream(), sdp_parse_fmtp(), and sdp_parse_line().
Definition at line 515 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 423 of file avformat.h.
Referenced by av_transcode(), av_write_header(), compute_pkt_fields2(), main(), and print_report().
int64_t AVStream::pts_buffer[MAX_REORDER_DELAY+1] |
Definition at line 484 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 431 of file avformat.h.
Referenced by av_estimate_timings_from_pts(), 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 438 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 417 of file avformat.h.
Referenced by av_find_stream_info(), avisynth_read_header(), dump_stream_format(), flv_write_header(), nuv_header(), opt_input_file(), show_stream(), 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 508 of file avformat.h.
Referenced by av_new_stream(), compute_pkt_fields(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
sample aspect ratio (0 if unknown)
Definition at line 491 of file avformat.h.
Referenced by asf_read_header(), av_new_stream(), av_write_header(), avi_read_header(), avi_write_header(), decode_stream_header(), dump_stream_format(), dv_extract_video_info(), ff_mov_init_hinting(), iff_read_header(), matroska_read_header(), mkv_write_tracks(), mov_read_pasp(), mov_read_tkhd(), mov_read_trak(), mov_write_tkhd_tag(), new_video_stream(), nut_read_header(), nuv_header(), opt_input_file(), read_header(), rtsp_rtp_mux_open(), theora_header(), 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 447 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), av_estimate_timings(), av_estimate_timings_from_pts(), av_new_stream(), av_update_stream_timings(), avi_read_header(), avisynth_read_header(), decode_thread(), dv_extract_audio_info(), dv_init_demux(), fill_all_stream_timings(), gxf_header(), gxf_seek(), http_prepare_data(), img_read_header(), matroska_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(), 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 433 of file avformat.h.
Referenced by av_transcode(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), print_report(), and read_ffserver_streams().
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.
Definition at line 430 of file avformat.h.
Referenced by audio_decode_frame(), av_estimate_timings_from_bit_rate(), av_find_stream_info(), av_seek_frame(), av_set_pts_info(), av_transcode(), av_update_cur_dts(), av_update_stream_timings(), av_write_header(), avi_read_packet(), avi_read_seek(), compute_frame_duration(), compute_pkt_fields(), compute_pkt_fields2(), decode_thread(), dirac_header(), 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_add_hinted_packet(), ff_mov_init_hinting(), fill_all_stream_timings(), finalize_packet(), flac_header(), http_prepare_data(), main(), mov_read_chapters(), mov_read_seek(), mxf_read_seek(), nut_read_header(), ogg_compare_granule(), ogm_header(), old_dirac_header(), output_packet(), print_report(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), read_header(), read_seek(), rl2_read_seek(), rtsp_rtp_mux_open(), search_hi_lo_keyframes(), show_stream(), skeleton_header(), speex_header(), subtitle_thread(), theora_header(), vc1t_read_packet(), video_thread(), vorbis_header(), vqf_read_seek(), write_audio_frame(), and write_video_frame().
int64_t AVStream::unused[4+1] |
Definition at line 475 of file avformat.h.