FFmpeg
|
#include <avformat.h>
Data Fields | |
int | index |
stream index in AVFormatContext More... | |
int | id |
Format-specific stream ID. More... | |
void * | priv_data |
AVRational | time_base |
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. More... | |
int64_t | start_time |
Decoding: pts of the first frame of the stream in presentation order, in stream time base. More... | |
int64_t | duration |
Decoding: duration of the stream, in stream time base. More... | |
int64_t | nb_frames |
number of frames in this stream if known or 0 More... | |
int | disposition |
AV_DISPOSITION_* bit field. More... | |
enum AVDiscard | discard |
Selects which packets can be discarded at will and do not need to be demuxed. More... | |
AVRational | sample_aspect_ratio |
sample aspect ratio (0 if unknown) More... | |
AVDictionary * | metadata |
AVRational | avg_frame_rate |
Average framerate. More... | |
AVPacket | attached_pic |
For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture. More... | |
AVPacketSideData * | side_data |
An array of side data that applies to the whole stream (i.e. More... | |
int | nb_side_data |
The number of elements in the AVStream.side_data array. More... | |
int | event_flags |
Flags for the user to detect events happening on the stream. More... | |
AVRational | r_frame_rate |
Real base framerate of the stream. More... | |
AVCodecParameters * | codecpar |
Codec parameters associated with this stream. More... | |
struct { | |
int64_t last_dts | |
int64_t duration_gcd | |
int duration_count | |
int64_t rfps_duration_sum | |
double(* duration_error )[2][MAX_STD_TIMEBASES] | |
int64_t codec_info_duration | |
int64_t codec_info_duration_fields | |
int frame_delay_evidence | |
int found_decoder | |
0 -> decoder has not been searched for yet. More... | |
int64_t last_duration | |
int64_t fps_first_dts | |
Those are used for average framerate estimation. More... | |
int fps_first_dts_idx | |
int64_t fps_last_dts | |
int fps_last_dts_idx | |
} * | info |
Stream information used internally by avformat_find_stream_info() More... | |
int | pts_wrap_bits |
number of bits in pts (used for wrapping control) More... | |
int64_t | first_dts |
Timestamp corresponding to the last dts sync point. More... | |
int64_t | cur_dts |
int64_t | last_IP_pts |
int | last_IP_duration |
int | probe_packets |
Number of packets to buffer for codec probing. More... | |
int | codec_info_nb_frames |
Number of frames that have been demuxed during avformat_find_stream_info() More... | |
enum AVStreamParseType | need_parsing |
struct AVCodecParserContext * | parser |
struct AVPacketList * | last_in_packet_buffer |
last packet in packet_buffer for this stream when muxing. More... | |
AVProbeData | probe_data |
int64_t | pts_buffer [MAX_REORDER_DELAY+1] |
AVIndexEntry * | index_entries |
Only used if the format does not support seeking natively. More... | |
int | nb_index_entries |
unsigned int | index_entries_allocated_size |
int | stream_identifier |
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown. More... | |
int | program_num |
Details of the MPEG-TS program which created this stream. More... | |
int | pmt_version |
int | pmt_stream_idx |
int64_t | interleaver_chunk_size |
int64_t | interleaver_chunk_duration |
int | request_probe |
stream probing state -1 -> probing finished 0 -> no probing requested rest -> perform probing with request_probe being the minimum score to accept. More... | |
int | skip_to_keyframe |
Indicates that everything up to the next keyframe should be discarded. More... | |
int | skip_samples |
Number of samples to skip at the start of the frame decoded from the next packet. More... | |
int64_t | start_skip_samples |
If not 0, the number of samples that should be skipped from the start of the stream (the samples are removed from packets with pts==0, which also assumes negative timestamps do not happen). More... | |
int64_t | first_discard_sample |
If not 0, the first audio sample that should be discarded from the stream. More... | |
int64_t | last_discard_sample |
The sample after last sample that is intended to be discarded after first_discard_sample. More... | |
int | nb_decoded_frames |
Number of internally decoded frames, used internally in libavformat, do not access its lifetime differs from info which is why it is not in that structure. More... | |
int64_t | mux_ts_offset |
Timestamp offset added to timestamps before muxing NOT PART OF PUBLIC API. More... | |
int64_t | pts_wrap_reference |
Internal data to check for wrapping of the time stamp. More... | |
int | pts_wrap_behavior |
Options for behavior, when a wrap is detected. More... | |
int | update_initial_durations_done |
Internal data to prevent doing update_initial_durations() twice. More... | |
int64_t | pts_reorder_error [MAX_REORDER_DELAY+1] |
Internal data to generate dts from pts. More... | |
uint8_t | pts_reorder_error_count [MAX_REORDER_DELAY+1] |
int64_t | last_dts_for_order_check |
Internal data to analyze DTS and detect faulty mpeg streams. More... | |
uint8_t | dts_ordered |
uint8_t | dts_misordered |
int | inject_global_side_data |
Internal data to inject global side data. More... | |
AVRational | display_aspect_ratio |
display aspect ratio (0 if unknown) More... | |
AVStreamInternal * | internal |
An opaque field for libavformat internal usage. More... | |
Stream structure.
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 870 of file avformat.h.
int AVStream::index |
stream index in AVFormatContext
Definition at line 871 of file avformat.h.
Referenced by aac_parse_packet(), ac3_handle_packet(), add_stream_to_programs(), amr_handle_packet(), ape_tag_read_field(), asf_read_picture(), asf_read_stream_properties(), av_read_frame(), avformat_find_stream_info(), avformat_match_stream_specifier(), avformat_new_stream(), cdxl_read_packet(), check_decode_result(), check_output_constraints(), check_streamcopy_filters(), choose_encoder(), choose_output(), cin_read_header(), compute_pkt_fields(), configure_filtergraph(), configure_input_audio_filter(), configure_input_filter(), configure_input_video_filter(), configure_output_audio_filter(), configure_output_video_filter(), dc1394_read_common(), decode_audio(), decode_video(), dhav_read_packet(), do_audio_out(), do_video_out(), do_video_stats(), dshow_add_device(), dump_attachment(), dv_handle_packet(), ea_read_header(), ff_flac_parse_picture(), ff_h263_handle_packet(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), ff_rtsp_open_transport_ctx(), film_read_header(), flac_write_picture(), flush_encoders(), flv_data_packet(), flv_read_packet(), get_attachment(), get_format(), get_ost_filters(), get_subtitle_pkt(), guess_input_channel_layout(), gxf_write_header(), gxf_write_media_preamble(), h261_handle_packet(), h263_handle_packet(), h264_handle_packet(), hevc_handle_packet(), hls_init(), hls_read_packet(), idcin_read_header(), ifilter_send_eof(), ifv_read_header(), init_audio(), init_input_filter(), init_input_stream(), init_output_filter(), init_output_stream(), init_output_stream_encode(), init_video_stream(), ipmovie_read_header(), jpeg_parse_packet(), latm_parse_packet(), main(), match_stream_specifier(), mov_build_index(), mov_estimate_video_delay(), mov_fix_index(), mov_read_chapters(), mov_read_covr(), mov_read_trak(), mov_read_trun(), mov_seek_stream(), mov_write_tkhd_tag(), movie_common_init(), movie_push_frame(), mpa_robust_parse_packet(), mpeg_parse_packet(), mpegps_read_packet(), mpegts_push_data(), mpegts_set_stream_info(), mxf_compute_sample_count(), mxf_handle_missing_index_segment(), mxf_parse_structural_metadata(), mxf_set_current_edit_unit(), mxf_write_generic_desc(), mxf_write_header(), mxf_write_packet(), mxf_write_structural_component(), mxf_write_track(), new_audio_stream(), new_output_stream(), new_pes_packet(), nsv_read_chunk(), nuv_header(), open_input_file(), open_output_file(), output_packet(), parse_packet(), parse_strk(), parse_vtrk(), playlist_needed(), pmt_cb(), prepare_input_packet(), print_report(), probe_codec(), process_input(), process_input_packet(), qdm2_restore_block(), qt_rtp_parse_packet(), rdt_load_mdpr(), rdt_parse_packet(), read_frame(), read_frame_internal(), reap_filters(), return_stored_frame(), rfc4175_handle_packet(), roq_read_packet(), rtp_parse_packet_internal(), seq_read_header(), show_frame(), show_stream(), smacker_read_header(), smjpeg_read_header(), smush_read_header(), store_packet(), str_read_packet(), svq3_parse_packet(), thp_read_header(), transcode_init(), transcode_step(), vc2hq_handle_frame_fragment(), vc2hq_handle_sequence_header(), vc2hq_mark_end_of_sequence(), vid_read_packet(), decklink_input_callback::VideoInputFrameArrived(), vmd_read_header(), vp8_handle_packet(), vp9_handle_packet(), wc3_read_header(), write_frame(), write_packet(), write_stream_data(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), xa_read_packet(), xiph_handle_packet(), and xmv_process_packet_header().
int AVStream::id |
Format-specific stream ID.
decoding: set by libavformat encoding: set by the user, replaced by libavformat if left unset
Definition at line 877 of file avformat.h.
Referenced by add_dstream(), add_stream(), add_video_stream(), asf_read_stream_properties(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), avi_read_header(), avisynth_create_stream(), cenc_filter(), choose_encoder(), choose_output(), compute_pkt_fields(), concat_read_header(), create_new_audio_stream(), dshow_add_device(), dump_stream_format(), ff_parse_mpeg2_descriptor(), ff_rm_parse_packet(), ff_rtp_chain_mux_open(), ff_stream_encode_params_copy(), find_matching_stream(), get_attachment(), get_sindex(), handle_file(), lavfi_read_header(), match_stream_specifier(), match_streams_exact_id(), mov_read_tkhd(), mov_read_trak(), mpegps_read_packet(), mpegts_init(), mpegts_push_data(), mpegts_set_stream_info(), mxf_add_metadata_stream(), mxf_parse_structural_metadata(), new_output_stream(), new_stream(), nsv_parse_NSVs_header(), ogg_new_stream(), open_demux_for_component(), parse_strk(), pmt_cb(), process_input(), rdt_parse_sdp_line(), read_header(), read_packet(), rm_read_header(), rm_read_multi(), rm_sync(), rtp_write_header(), sap_fetch_packet(), sap_read_header(), search_frag_timestamp(), show_stream(), swf_read_packet(), track_header(), update_streams_from_subdemuxer(), and write_packet().
void* AVStream::priv_data |
Definition at line 885 of file avformat.h.
Referenced by avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_sync(), avi_write_header(), check_stream_max_drift(), clean_index(), dhav_read_packet(), dhav_read_seek(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_mov_read_stsd_entries(), find_prev_closest_index(), flac_finish_header(), flac_write_packet(), flush_packet(), free_stream(), get_current_encryption_info(), 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_umf_media_mpeg(), interleave_new_audio_packet(), ivr_read_header(), ivr_read_packet(), mov_build_index(), mov_estimate_video_delay(), mov_find_next_sample(), mov_fix_index(), mov_parse_stsd_data(), mov_read_chapters(), mov_read_close(), mov_read_covr(), mov_read_ctts(), mov_read_custom(), mov_read_dref(), mov_read_frma(), mov_read_header(), mov_read_mdhd(), mov_read_packet(), mov_read_rtmd_track(), mov_read_sbgp(), mov_read_schm(), mov_read_seek(), mov_read_sidx(), mov_read_st3d(), mov_read_stco(), mov_read_stps(), mov_read_stsc(), mov_read_stsd(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_sv3d(), mov_read_tenc(), mov_read_tfdt(), mov_read_timecode_track(), mov_read_tkhd(), mov_read_trak(), mov_read_trun(), mov_read_uuid(), mov_seek_stream(), mpeg_mux_end(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegts_deinit(), mpegts_init(), mpegts_insert_pcr_only(), mpegts_set_stream_info(), mpegts_write_flush(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mxf_compute_edit_unit_byte_count(), mxf_compute_edit_units_per_packet(), mxf_compute_index_tables(), mxf_compute_sample_count(), mxf_free(), mxf_handle_missing_index_segment(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_prores_frame(), mxf_parse_structural_metadata(), mxf_read_packet(), mxf_read_seek(), mxf_set_audio_pts(), mxf_set_current_edit_unit(), mxf_set_pts(), mxf_write_cdci_common(), mxf_write_footer(), mxf_write_generic_desc(), mxf_write_h264_desc(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_mpegvideo_desc(), mxf_write_opatom_body_partition(), mxf_write_package(), mxf_write_packet(), mxf_write_track(), new_output_stream(), new_stream(), ni_prepare_read(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_seek(), ogg_buffer_data(), ogg_compare_granule(), ogg_free(), ogg_init(), ogg_write_header(), ogg_write_packet_internal(), output_packet(), put_system_header(), qt_rtp_parse_packet(), read_gab2_sub(), read_odml_index(), remove_decoded_packets(), rm_read_header(), rm_read_header_old(), rm_read_multi(), rm_read_packet(), search_frag_timestamp(), seek_subtitle(), tmcd_is_referenced(), and write_odml_master().
AVRational AVStream::time_base |
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented.
decoding: set by libavformat encoding: May be set by the caller before avformat_write_header() to provide a hint to the muxer about the desired timebase. In avformat_write_header(), the muxer will overwrite this field with the timebase that will actually be used for the timestamps written into the file (which may or may not be related to the user-provided one, depending on the format).
Definition at line 899 of file avformat.h.
Referenced by aa_read_header(), add_stream(), av_pkt_dump2(), av_pkt_dump_log2(), av_stream_get_codec_timebase(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avi_read_packet(), avi_read_seek(), avi_write_header(), caca_write_header(), calculate_bitrate(), check_init_output_file(), check_recording_time(), check_stream_max_drift(), choose_output(), close_output_stream(), compute_pkt_fields(), concat_read_packet(), configure_input_video_filter(), copy_stream_props(), dash_flush(), dash_init(), dash_read_packet(), dash_write_packet(), dec_enc(), decklink_setup_video(), decode_audio(), decode_video(), do_streamcopy(), do_video_out(), do_video_stats(), dump_stream_format(), dv_init_mux(), encode_write(), encode_write_frame(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), extract_extradata_init(), ff_choose_timebase(), ff_compute_frame_duration(), ff_configure_buffers_for_index(), ff_framehash_write_header(), ff_interleave_add_packet(), ff_interleaved_peek(), ff_mov_init_hinting(), ff_parse_specific_params(), ff_pcm_read_seek(), ff_read_packet(), ff_rfps_add_frame(), ff_rfps_calculate(), ff_rtp_chain_mux_open(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_xiph(), ff_rtsp_open_transport_ctx(), ff_stream_add_bitstream_filter(), ff_stream_encode_params_copy(), ff_update_cur_dts(), ff_write_chained(), fifo_thread_attempt_recovery(), fifo_thread_write_packet(), fill_all_stream_timings(), fill_timing_for_id3_timestamped_stream(), find_fps(), flac_read_header(), flush_packet(), get_audio_frame(), get_subtitle_pkt(), get_timebase(), handle_file(), hds_write_header(), hds_write_packet(), hls_mux_init(), hls_read_packet(), hls_write_header(), hls_write_packet(), init_encoder_time_base(), init_filters(), init_fps(), init_input_stream(), init_muxer(), init_output_bsfs(), init_output_stream(), init_output_stream_streamcopy(), init_pts(), init_stream(), interleave_compare_dts(), interleave_new_audio_packet(), ism_write_header(), ism_write_packet(), log_packet(), main(), mkv_write_track(), mkv_write_trailer(), mov_get_dv_codec_tag(), mov_init(), mov_parse_stsd_data(), mov_read_chapters(), mov_read_seek(), mov_read_sidx(), mov_write_prft_tag(), mov_write_tmcd_tag(), movie_common_init(), movie_config_output_props(), mp3_parse_info_tag(), mp3_parse_vbr_tags(), mpegts_init(), mpegts_write_packet_internal(), mux_frames(), mxf_compute_sample_count(), mxf_handle_missing_index_segment(), mxf_parse_structural_metadata(), mxf_read_seek(), mxf_set_audio_pts(), mxf_set_current_edit_unit(), mxf_write_header(), new_output_stream(), ni_prepare_read(), ogg_buffer_data(), ogg_build_vp8_headers(), ogg_compare_granule(), ogg_init(), ogg_write_packet_internal(), open_demux_for_component(), open_input_file(), open_output_file(), open_slave(), opt_target(), output_segment_list(), parse_packet(), print_report(), process_input(), process_input_packet(), pulse_write_packet(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), rawvideo_read_header(), read_gab2_sub(), read_header(), read_packet(), read_seek(), read_thread(), real_seek(), report_new_stream(), rl2_read_seek(), rm_write_header(), rtp_mpegts_write_header(), rtp_mpegts_write_packet(), rtp_send_ilbc(), rtsp_read_play(), sap_fetch_packet(), sap_read_header(), sap_write_header(), sbg_read_seek2(), seek_frame_internal(), seek_subtitle(), seek_to_start(), seg_init(), seg_write_header(), seg_write_packet(), segment_mux_init(), send_filter_eof(), ser_read_header(), set_stream_info_from_input_stream(), show_frame(), show_packet(), show_stream(), smush_read_header(), stream_component_open(), stream_has_enough_packets(), sub2video_heartbeat(), sub2video_update(), swf_write_header(), tee_write_packet(), track_header(), ts_to_samples(), txd_read_header(), update_initial_timestamps(), update_stream_timings(), update_wrap_reference(), v210_read_header(), video_decode_example(), decklink_input_callback::VideoInputFrameArrived(), viv_read_packet(), vqf_read_seek(), webm_chunk_write_packet(), write_frame(), write_hls_media_playlist(), write_packet(), write_trailer(), yuv4_generate_header(), and yuv4_read_header().
int64_t AVStream::start_time |
Decoding: pts of the first frame of the stream in presentation order, 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 909 of file avformat.h.
Referenced by aa_read_header(), acm_read_header(), adp_read_header(), aiff_read_header(), ape_read_header(), aptx_read_header_common(), asf_read_ext_stream_properties(), ast_read_header(), avformat_find_stream_info(), avformat_new_stream(), avi_read_header(), avisynth_create_stream_video(), cdxl_read_packet(), create_audio_stream(), do_video_out(), dss_read_header(), ea_read_header(), estimate_timings_from_pts(), ff_img_read_header(), ff_raw_audio_read_header(), ff_raw_data_read_header(), ff_raw_subtitle_read_header(), ff_read_packet(), fill_all_stream_timings(), g723_1_init(), gdv_read_header(), gif_read_header(), gxf_header(), hnm_read_header(), idcin_read_header(), ifv_read_header(), ilbc_read_header(), mov_build_index(), mov_fix_index(), mp3_parse_info_tag(), mp3_read_header(), mpc8_read_header(), mpc_read_header(), mpegts_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), oma_read_header(), opus_packet(), process_input(), read_header(), read_thread(), rm_read_header(), rm_read_multi(), sbg_read_header(), sbg_read_packet(), seq_read_header(), show_stream(), skeleton_header(), smush_read_header(), str_read_packet(), tak_read_header(), tedcaptions_read_header(), tta_read_header(), update_initial_timestamps(), update_stream_timings(), vid_read_packet(), vivo_read_header(), vqf_read_header(), wsvqa_read_header(), wv_read_header(), and xa_read_header().
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.
Encoding: May be set by the caller before avformat_write_header() to provide a hint to the muxer about the estimated duration.
Definition at line 919 of file avformat.h.
Referenced by aa_read_header(), acm_read_header(), adp_read_header(), ads_read_header(), afc_read_header(), aiff_read_header(), ape_read_header(), asf_read_ext_stream_properties(), asf_read_stream_properties(), ast_read_header(), avformat_new_stream(), avi_read_header(), avi_write_header(), avisynth_create_stream_audio(), avisynth_create_stream_video(), bfi_read_header(), cdxl_read_packet(), cine_read_header(), dcstr_read_header(), dfa_read_header(), dtshd_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), ff_img_read_header(), fill_all_stream_timings(), flac_read_header(), fsb_read_header(), gdv_read_header(), genh_read_header(), gif_read_header(), gxf_header(), handle_file(), has_duration(), iff_read_header(), init_output_stream(), init_output_stream_streamcopy(), init_video_stream(), ivr_read_header(), lxf_read_header(), modplug_read_header(), mov_build_index(), mov_fix_index(), mov_read_chapters(), mov_read_header(), mov_read_mdhd(), mov_read_packet(), mov_read_sidx(), mov_read_stts(), mov_read_trun(), mp3_parse_vbr_tags(), mp3_seek(), mpc8_read_header(), mpc_read_header(), msf_read_header(), mtaf_read_header(), mxf_handle_missing_index_segment(), mxf_parse_structural_metadata(), nist_read_header(), nsv_parse_NSVs_header(), parse_video_var(), pmp_header(), r3d_read_rdvo(), read_header(), read_header_gme(), read_header_openmpt(), read_header_vs(), read_packet(), read_pakt_chunk(), read_seek(), redspark_read_header(), rm_read_header(), rm_read_multi(), rpl_read_header(), rsd_read_header(), rso_read_header(), sbg_read_header(), sbg_read_packet(), sds_read_header(), ser_read_header(), show_stream(), siff_parse_vbv1(), smacker_read_header(), smjpeg_read_header(), smush_read_header(), svag_read_header(), tak_read_header(), tedcaptions_read_header(), thp_read_header(), threedostr_read_header(), tta_read_header(), update_stream_timings(), vag_read_header(), vc1t_read_header(), vpk_read_header(), wsvqa_read_header(), wv_read_header(), wve_read_header(), xmv_process_packet_header(), xvag_read_header(), xwma_read_header(), and yuv4_read_header().
int64_t AVStream::nb_frames |
number of frames in this stream if known or 0
Definition at line 921 of file avformat.h.
Referenced by aiff_read_header(), ape_read_header(), avi_read_header(), avisynth_create_stream_video(), bfi_read_header(), check_hevc_startcode(), do_video_stats(), ff_check_h264_startcode(), ff_stream_encode_params_copy(), flac_write_packet(), gdv_read_header(), gif_read_header(), init_video_stream(), mov_read_stts(), mov_read_trak(), mov_write_packet(), mv_read_header(), parse_audio_var(), parse_video_var(), pmp_header(), read_header(), read_index(), read_pakt_chunk(), ser_read_header(), show_stream(), siff_parse_vbv1(), smush_read_header(), thp_read_header(), track_header(), and wsvqa_read_header().
int AVStream::disposition |
AV_DISPOSITION_* bit field.
Definition at line 923 of file avformat.h.
Referenced by add_metadata_from_renditions(), ape_tag_read_field(), asf_read_picture(), av_find_best_stream(), av_find_default_stream_index(), avformat_find_stream_info(), dump_stream_format(), enable_tracks(), ff_flac_parse_picture(), ff_id3v2_parse_apic(), ff_parse_mpeg2_descriptor(), ff_stream_encode_params_copy(), flac_init(), flac_write_packet(), get_attachment(), init_input_stream(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), is_cover_image(), match_stream_specifier(), mkv_write_track(), mkv_write_tracks(), mov_read_chapters(), mov_read_covr(), mov_read_tkhd(), mov_write_isml_manifest(), mpegts_write_pmt(), new_output_stream(), open_output_file(), parse_chunks(), set_disposition_bits(), stream_has_enough_packets(), transcode(), webvtt_read_header(), and write_streaminfo().
enum AVDiscard AVStream::discard |
Selects which packets can be discarded at will and do not need to be demuxed.
Definition at line 925 of file avformat.h.
Referenced by add_input_streams(), av_find_default_stream_index(), av_read_frame(), avi_sync(), find_stream(), flv_read_packet(), get_subtitle_pkt(), init_input_filter(), main(), mov_read_chapters(), mov_read_packet(), movie_common_init(), mpegps_read_packet(), mpegts_push_data(), new_output_stream(), playlist_needed(), process_input(), read_frame_internal(), read_thread(), recheck_discard_flags(), rm_read_packet(), stream_component_close(), and stream_component_open().
AVRational AVStream::sample_aspect_ratio |
sample aspect ratio (0 if unknown)
Definition at line 932 of file avformat.h.
Referenced by asf_read_header(), av_guess_sample_aspect_ratio(), avformat_find_stream_info(), avformat_new_stream(), avi_read_header(), avi_write_header(), compute_display_area(), compute_texture_rect(), copy_stream_props(), daala_header(), dash_init(), decode_stream_header(), decode_video(), dfa_read_header(), dirac_header(), dump_stream_format(), ff_framehash_write_header(), ff_rtp_chain_mux_open(), ff_stream_encode_params_copy(), has_codec_parameters(), hds_write_header(), hls_mux_init(), iff_read_header(), init_muxer(), init_output_stream_encode(), init_output_stream_streamcopy(), ism_write_header(), lavfi_read_header(), mkv_write_track(), mov_read_pasp(), mov_read_tkhd(), mov_read_trak(), mov_write_tkhd_tag(), mov_write_trak_tag(), new_video_stream(), nuv_header(), opengl_compute_display_area(), parse_video_var(), put_videoinfoheader2(), rtp_mpegts_write_header(), seg_write_header(), segment_mux_init(), theora_header(), vp8_header(), write_streamheader(), yop_read_header(), yuv4_generate_header(), and yuv4_read_header().
AVDictionary* AVStream::metadata |
Definition at line 934 of file avformat.h.
Referenced by add_metadata_from_renditions(), add_stream_to_programs(), ape_tag_read_field(), asf_read_header(), asf_read_picture(), avi_extract_stream_metadata(), avi_read_tag(), avi_write_header(), cine_read_header(), copy_metadata(), copy_stream_props(), dash_read_header(), decode_info_header(), dump_attachment(), dump_stream_format(), export_orphan_timecode(), ff_flac_parse_picture(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_metadata_conv_ctx(), ff_parse_mpeg2_descriptor(), ff_stream_encode_params_copy(), ff_vorbis_stream_comment(), find_compressor(), flac_write_picture(), free_stream(), get_attachment(), gxf_write_header(), hls_mux_init(), hls_read_header(), hls_read_packet(), iff_read_header(), init_output_stream_encode(), match_stream_specifier(), mkv_write_attachments(), mkv_write_stereo_mode(), mkv_write_tags(), mkv_write_track(), mov_init(), mov_parse_stsd_data(), mov_parse_stsd_video(), mov_read_hdlr(), mov_read_header(), mov_read_mdhd(), mov_read_rtmd_track(), mov_read_tkhd(), mov_write_hdlr_tag(), mov_write_header(), mov_write_isml_manifest(), mov_write_tkhd_tag(), mov_write_tmcd_tag(), mov_write_track_metadata(), mp3_parse_info_tag(), mpegts_write_pmt(), mxf_add_metadata_stream(), mxf_init_timecode(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), mxf_write_header(), mxf_write_header_metadata_sets(), ogg_build_vp8_headers(), ogg_init(), open_output_file(), parse_chunks(), parse_dsd_prop(), parse_timecode_in_framenum_format(), r3d_read_red1(), read_gab2_sub(), read_header(), segment_mux_init(), set_encoder_id(), show_stream(), vorbis_header(), vorbis_update_metadata(), write_representation(), write_streaminfo(), write_table_entries_attrib(), and write_table_redirector_legacy_attrib().
AVRational AVStream::avg_frame_rate |
Average framerate.
Definition at line 943 of file avformat.h.
Referenced by add_input_streams(), add_video_stream(), amf_parse_object(), asf_read_ext_stream_properties(), av_guess_frame_rate(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avisynth_create_stream_video(), copy_stream_props(), create_stream(), dash_init(), dash_write_packet(), dc1394_read_common(), dhav_read_packet(), dshow_add_device(), dump_stream_format(), fbdev_read_header(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_stream_encode_params_copy(), find_fps(), gdigrab_read_header(), grab_read_header(), init_convert_timestamp(), init_output_stream_encode(), init_output_stream_streamcopy(), init_video_stream(), mkv_write_track(), mov_create_timecode_track(), mov_parse_stsd_data(), mov_read_header(), mov_write_dvc1_structs(), mov_write_tmcd_tag(), mov_write_uuidprof_tag(), nuv_header(), open_input_file(), parse_timecode_in_framenum_format(), parse_video_var(), process_input_packet(), put_videoinfoheader2(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_redv(), r3d_seek(), read_header(), seek_to_start(), segment_mux_init(), show_stream(), smush_read_header(), txd_read_header(), v4l2_read_header(), v4l2_set_parameters(), vfw_read_header(), write_adaptation_set(), write_streaminfo(), and yuv4_read_header().
AVPacket AVStream::attached_pic |
For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture.
decoding: set by libavformat, must not be modified by the caller. encoding: unused
Definition at line 952 of file avformat.h.
Referenced by ape_tag_read_field(), asf_read_picture(), ff_flac_parse_picture(), ff_id3v2_parse_apic(), free_stream(), get_attachment(), id3_has_changed_values(), mov_read_chapters(), and mov_read_covr().
AVPacketSideData* AVStream::side_data |
An array of side data that applies to the whole stream (i.e.
the container does not allow it to change between packets).
There may be no overlap between the side data in this array and side data in the packets. I.e. a given side data is either exported by the muxer (demuxing) / set by the caller (muxing) in this array, then it never appears in the packets, or the side data is exported / sent through the packets (always in the first packet where the value becomes known or changes), then it does not appear in this array.
Freed by libavformat in avformat_free_context().
Definition at line 972 of file avformat.h.
Referenced by av_stream_add_side_data(), av_stream_get_side_data(), dump_sidedata(), ff_stream_encode_params_copy(), free_stream(), init_output_stream(), init_output_stream_streamcopy(), mkv_write_stereo_mode(), process_input(), read_frame_internal(), and show_stream().
int AVStream::nb_side_data |
The number of elements in the AVStream.side_data array.
Definition at line 976 of file avformat.h.
Referenced by av_stream_add_side_data(), av_stream_get_side_data(), dump_sidedata(), ff_stream_encode_params_copy(), free_stream(), init_output_stream(), init_output_stream_streamcopy(), mkv_write_stereo_mode(), process_input(), read_frame_internal(), and show_stream().
int AVStream::event_flags |
Flags for the user to detect events happening on the stream.
Flags must be cleared by the user once the event has been handled. A combination of AVSTREAM_EVENT_FLAG_*.
Definition at line 983 of file avformat.h.
Referenced by decode_info_header(), ff_vorbis_stream_comment(), and hls_read_packet().
AVRational AVStream::r_frame_rate |
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 994 of file avformat.h.
Referenced by add_video_stream(), av_guess_frame_rate(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), copy_stream_props(), decode_info_header(), dshow_add_device(), dump_stream_format(), ff_compute_frame_duration(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_stream_encode_params_copy(), init_output_stream_encode(), init_output_stream_streamcopy(), init_video_stream(), mov_read_trak(), movie_config_output_props(), nuv_header(), ogg_build_vp8_headers(), r3d_read_red1(), reopen_demux_for_component(), show_stream(), v4l2_set_parameters(), decklink_input_callback::VideoInputFrameArrived(), and write_streaminfo().
AVCodecParameters* AVStream::codecpar |
Codec parameters associated with this stream.
Allocated and freed by libavformat in avformat_new_stream() and avformat_free_context() respectively.
Definition at line 1017 of file avformat.h.
Referenced by aa_read_header(), acm_read_header(), add_dstream(), add_input_streams(), add_keyframes_index(), add_metadata_from_renditions(), add_video_stream(), adp_read_header(), ads_read_header(), adts_aac_read_header(), aea_read_header(), afc_read_header(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aix_read_header(), amf_parse_object(), amr_handle_packet(), amr_read_header(), apc_read_header(), ape_read_header(), ape_tag_read_field(), apng_read_header(), apng_write_header(), aptx_hd_read_header(), aptx_read_header(), aptx_read_header_common(), aqt_read_header(), asf_read_ext_stream_properties(), asf_read_header(), asf_read_picture(), asf_read_stream_properties(), asfrtp_parse_sdp_line(), ass_read_header(), ast_read_header(), audio_read_header(), audio_write_header(), av_find_best_stream(), av_find_default_stream_index(), av_guess_sample_aspect_ratio(), avformat_find_stream_info(), avformat_new_stream(), avformat_transfer_internal_stream_timing_info(), avi_extract_stream_metadata(), avi_read_header(), avi_read_packet(), avi_read_seek(), avi_sync(), avi_write_header(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avisynth_read_packet(), avisynth_read_seek(), avr_read_header(), bfi_read_header(), bmv_read_header(), caca_write_header(), calculate_bitrate(), cdata_read_header(), cdxl_read_packet(), celt_header(), check_stream_max_drift(), choose_decoder(), choose_encoder(), choose_sample_fmt(), cin_read_header(), cine_read_header(), codec2_read_header(), codec2_read_header_common(), codec2_read_packet(), codec2_write_header(), codec2raw_read_header(), compute_display_area(), compute_pkt_fields(), compute_texture_rect(), configure_filtergraph(), configure_output_audio_filter(), copy_stream_props(), create_audio_stream(), create_master_playlist(), create_new_audio_stream(), create_stream(), create_subcc_streams(), daala_header(), dash_init(), dash_write_packet(), daud_header(), dc1394_read_common(), dcstr_read_header(), dec_enc(), decklink_setup_audio(), decklink_setup_video(), decklink_write_video_packet(), decode_stream_header(), decode_video(), detect_stream_specific(), dfa_read_header(), dhav_read_packet(), dirac_header(), do_streamcopy(), do_video_out(), dsf_read_header(), dsf_read_packet(), dshow_add_device(), dss_723_1_read_packet(), dss_read_header(), dss_sp_read_packet(), dtshd_read_header(), dump_attachment(), dump_sidedata(), dump_stream_format(), dv_assemble_frame(), dv_init_mux(), dxa_read_header(), ea_read_header(), enable_tracks(), encode_write_frame(), epaf_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_orphan_timecode(), extract_extradata_check(), extract_extradata_init(), fbdev_read_header(), ff_alsa_open(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_choose_chroma_location(), ff_compute_frame_duration(), ff_decklink_write_header(), ff_decklink_write_packet(), ff_flac_parse_picture(), ff_framehash_write_header(), ff_generate_avci_extradata(), ff_get_bmp_header(), ff_hls_write_stream_info(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_img_read_header(), ff_interleave_add_packet(), ff_load_image(), ff_mov_read_chan(), ff_mov_read_stsd_entries(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_parse_specific_params(), ff_pcm_read_seek(), ff_raw_audio_read_header(), ff_raw_data_read_header(), ff_raw_subtitle_read_header(), ff_raw_video_read_header(), ff_rfps_calculate(), ff_rm_parse_packet(), ff_rm_read_mdpr_codecdata(), ff_rm_retrieve_cache(), ff_rtp_chain_mux_open(), ff_rtp_parse_open(), ff_sauce_read(), ff_spdif_read_packet(), ff_stream_add_bitstream_filter(), ff_stream_encode_params_copy(), ff_voc_get_packet(), film_init(), film_read_header(), film_write_header(), film_write_packet(), filter_codec_opts(), find_decoder(), find_matching_stream(), find_stream(), fits_read_header(), flac_header(), flac_init(), flac_read_header(), flac_read_timestamp(), flac_write_picture(), flush(), flush_encoders(), flv_check_bitstream(), flv_data_packet(), flv_get_extradata(), flv_read_metabody(), flv_read_packet(), flv_set_video_codec(), force_codec_ids(), framecrc_write_header(), free_stream(), frm_read_header(), frm_read_packet(), fsb_read_header(), g722_read_header(), g723_1_init(), g726_read_header(), g729_read_header(), g729_read_packet(), gdigrab_read_header(), gdv_read_header(), genh_read_header(), get_attachment(), get_codec_data(), get_ost_filters(), get_packet_header(), get_private_data(), get_sindex(), get_stream_bit_rate(), gif_read_header(), grab_read_header(), gsm_read_header(), guess_channel_layout(), gxf_compare_field_nb(), gxf_find_lines_index(), gxf_packet(), gxf_write_dv_auxiliary(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_mpeg_auxiliary(), gxf_write_packet(), gxf_write_umf_media_description(), gxf_write_umf_media_dv(), gxf_write_umf_media_mpeg(), handle_file(), handle_packet(), has_codec_parameters(), has_decode_delay_been_guessed(), hcom_read_header(), hds_write_header(), hds_write_packet(), hevc_parse_sdp_line(), hls_init(), hls_mux_init(), hls_read_packet(), hls_write_header(), hls_write_packet(), hnm_read_header(), idcin_read_header(), iff_read_header(), iff_read_packet(), ifilter_send_eof(), ifilter_send_frame(), ifv_read_header(), ilbc_parse_fmtp(), ilbc_parse_sdp_line(), ilbc_read_header(), init_audio(), init_filters(), init_fps(), init_input_filter(), init_muxer(), init_output_bsfs(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), init_stream(), init_video_stream(), interleave_compare_dts(), ipmovie_read_header(), ircam_read_header(), ism_write_header(), ism_write_packet(), iss_read_header(), ivf_check_bitstream(), jacosub_read_header(), kmsgrab_read_header(), latm_check_bitstream(), lavfi_read_header(), lmlm4_read_header(), loas_read_header(), log_slave(), lrc_read_header(), lvf_read_header(), lxf_read_header(), m4sl_cb(), main(), match_stream_specifier(), microdvd_read_header(), mkv_check_bitstream(), mkv_write_attachments(), mkv_write_tags(), mkv_write_track(), mmf_read_header(), modplug_read_header(), mov_build_index(), mov_check_bitstream(), mov_codec_id(), mov_create_dvd_sub_decoder_specific_info(), mov_estimate_video_delay(), mov_finalize_stsd_codec(), mov_fix_index(), mov_init(), mov_parse_stsd_audio(), mov_parse_stsd_data(), mov_parse_stsd_subtitle(), mov_parse_stsd_video(), mov_read_av1c(), mov_read_chapters(), mov_read_colr(), mov_read_covr(), mov_read_dac3(), mov_read_ddts(), mov_read_dec3(), mov_read_dfla(), mov_read_dops(), mov_read_dvc1(), mov_read_enda(), mov_read_extradata(), mov_read_fiel(), mov_read_frma(), mov_read_glbl(), mov_read_hdlr(), mov_read_header(), mov_read_packet(), mov_read_strf(), mov_read_stsd(), mov_read_stss(), mov_read_trak(), mov_read_trun(), mov_read_vpcc(), mov_read_wave(), mov_read_wfex(), mov_rewrite_dvd_sub_extradata(), mov_write_ftyp_tag(), mov_write_header(), mov_write_identification(), mov_write_tkhd_tag(), mov_write_wfex_tag(), movie_common_init(), movie_config_output_props(), movie_push_frame(), movie_query_formats(), mp3_parse_vbr_tags(), mp3_read_header(), mp3_write_header(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpeg_parse_packet(), mpegps_read_packet(), mpegts_check_bitstream(), mpegts_find_stream_type(), mpegts_init(), mpegts_push_data(), mpegts_read_header(), mpegts_set_stream_info(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mpjpeg_read_header(), mpl2_read_header(), mpsub_read_header(), msf_read_header(), msnwc_tcp_read_header(), mtaf_read_header(), mtv_read_header(), musx_read_header(), mv_read_header(), mxf_add_metadata_stream(), mxf_compute_edit_units_per_packet(), mxf_compute_sample_count(), mxf_get_d10_aes3_packet(), mxf_handle_missing_index_segment(), mxf_parse_dnxhd_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_prores_frame(), mxf_parse_structural_metadata(), mxf_read_seek(), mxf_set_pts(), mxf_write_avc_subdesc(), mxf_write_cdci_common(), mxf_write_cdci_desc(), mxf_write_common_fields(), mxf_write_d10_audio_packet(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_header(), mxf_write_mpegvideo_desc(), mxf_write_packet(), mxf_write_wav_common(), mxg_read_header(), nc_read_header(), new_output_stream(), new_stream(), nist_read_header(), nsp_read_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nut_write_header(), nuv_header(), ogg_buffer_data(), ogg_build_vp8_headers(), ogg_free(), ogg_init(), ogg_write_packet_internal(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_header(), oma_read_seek(), open_audio(), open_codec_context(), open_demux_for_component(), open_input_file(), open_output_file(), open_slave(), open_stream(), open_video(), opengl_compute_display_area(), opengl_write_header(), opt_map_channel(), opt_target(), opus_header(), output_packet(), parse_audio_var(), parse_dsd_prop(), parse_fmtp(), parse_fmtp_config(), parse_h264_sdp_line(), parse_media_type(), parse_mpeg1waveformatex(), parse_packet(), parse_strk(), parse_video_info(), parse_video_var(), parse_videoinfoheader2(), parse_vtrk(), pcm_read_header(), pjs_read_header(), pmp_header(), pmt_cb(), probe_codec(), pulse_read_header(), pulse_write_header(), pulse_write_packet(), put_frame(), put_videoinfoheader2(), pva_read_header(), pvf_read_header(), qcp_read_header(), qdm2_parse_config(), qdm2_parse_packet(), qt_rtp_parse_packet(), r3d_read_red1(), r3d_read_reda(), rawvideo_read_header(), rdt_parse_packet(), read_desc_chunk(), read_frame(), read_frame_internal(), read_gab2_sub(), read_header(), read_header_gme(), read_header_openmpt(), read_header_vs(), read_index(), read_kuki_chunk(), read_packet(), read_packet_vs(), read_seek(), read_thread(), real_parse_asm_rule(), realtext_read_header(), redspark_read_header(), report_new_stream(), rfc4175_parse_format(), rfc4175_parse_sdp_line(), rl2_read_header(), rm_ac3_swap_bytes(), rm_read_audio_stream_info(), rm_read_dts(), rm_read_header(), rm_read_multi(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rso_read_header(), rtp_hinting_needed(), rtp_mpegts_write_header(), rtp_send_ilbc(), rtp_write_header(), rtp_write_packet(), s337m_read_packet(), sami_read_header(), sap_fetch_packet(), sap_read_header(), sbg_read_header(), sbg_read_packet(), scan_file(), scc_read_header(), scc_write_header(), sdl2_write_header(), sdp_parse_fmtp_config_h264(), sdr2_read_header(), sds_read_header(), sdx_read_header(), seek_frame_generic(), seek_test(), seg_write_header(), seg_write_packet(), segment_mux_init(), select_from_pts_buffer(), seq_read_header(), ser_read_header(), set_channels(), set_codec_from_probe_data(), set_stream_info_from_input_stream(), show_frame(), show_packet(), show_stream(), siff_parse_vbv1(), skeleton_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), smjpeg_write_packet(), smush_read_header(), sol_read_header(), sox_read_header(), speex_header(), srt_read_header(), srt_write_header(), stl_read_header(), str_read_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), sub2video_prepare(), subviewer1_read_header(), subviewer_read_header(), sup_read_header(), svag_read_header(), svq3_parse_packet(), swf_read_packet(), tak_read_header(), tedcaptions_read_header(), theora_header(), thp_read_header(), threedostr_read_header(), threedostr_read_packet(), tmcd_is_referenced(), tmv_read_header(), track_header(), try_decode_frame(), ts_to_samples(), tta_read_header(), txd_read_header(), ty_read_header(), update_initial_timestamps(), update_stream_avctx(), update_stream_extradata(), update_stream_timings(), v210_read_header(), v4l2_read_header(), vag_read_header(), validate_codec_tag(), vc1t_read_header(), vfw_read_header(), vid_read_packet(), video_decode(), video_decode_example(), decklink_input_callback::VideoInputFrameArrived(), viv_read_packet(), vivo_read_header(), vmd_read_header(), voc_read_packet(), vorbis_header(), vp8_header(), vpk_read_header(), vplayer_read_header(), vqf_read_header(), vqf_read_seek(), wc3_read_header(), webm_chunk_write_packet(), webp_write_header(), webvtt_read_header(), webvtt_write_header(), write_codec_attr(), write_header(), write_image_header(), write_manifest(), write_odml_master(), write_packet(), write_representation(), write_stream_codec(), write_stream_codec_info(), write_stream_data(), write_streamheader(), write_streaminfo(), write_trailer(), wsaud_read_header(), wsaud_read_packet(), wsd_read_header(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), wv_write_header(), wve_read_header(), xa_read_header(), xa_read_packet(), xiph_parse_fmtp_pair(), xmv_process_packet_header(), xvag_read_header(), xwma_read_header(), xwma_read_packet(), yop_read_header(), yuv4_generate_header(), yuv4_read_header(), and yuv4_write_packet().
int64_t AVStream::last_dts |
Definition at line 1034 of file avformat.h.
Referenced by avformat_find_stream_info(), avformat_new_stream(), ff_rfps_add_frame(), and ff_rfps_calculate().
int64_t AVStream::duration_gcd |
Definition at line 1035 of file avformat.h.
Referenced by ff_rfps_add_frame(), and ff_rfps_calculate().
int AVStream::duration_count |
Definition at line 1036 of file avformat.h.
Referenced by avformat_find_stream_info(), ff_rfps_add_frame(), and ff_rfps_calculate().
int64_t AVStream::rfps_duration_sum |
Definition at line 1037 of file avformat.h.
Referenced by ff_rfps_add_frame(), and ff_rfps_calculate().
double(* AVStream::duration_error)[2][MAX_STD_TIMEBASES] |
Definition at line 1038 of file avformat.h.
Referenced by avformat_find_stream_info(), ff_rfps_add_frame(), ff_rfps_calculate(), and free_stream().
int64_t AVStream::codec_info_duration |
Definition at line 1039 of file avformat.h.
Referenced by avformat_find_stream_info(), and ff_rfps_calculate().
int64_t AVStream::codec_info_duration_fields |
Definition at line 1040 of file avformat.h.
Referenced by avformat_find_stream_info().
int AVStream::frame_delay_evidence |
Definition at line 1041 of file avformat.h.
Referenced by avformat_find_stream_info().
int AVStream::found_decoder |
0 -> decoder has not been searched for yet.
>0 -> decoder found <0 -> decoder with codec_id == -found_decoder has not been found
Definition at line 1048 of file avformat.h.
Referenced by avformat_find_stream_info(), has_codec_parameters(), read_frame_internal(), and try_decode_frame().
int64_t AVStream::last_duration |
Definition at line 1050 of file avformat.h.
Referenced by estimate_timings_from_pts().
int64_t AVStream::fps_first_dts |
Those are used for average framerate estimation.
Definition at line 1055 of file avformat.h.
Referenced by avformat_find_stream_info(), and avformat_new_stream().
int AVStream::fps_first_dts_idx |
Definition at line 1056 of file avformat.h.
Referenced by avformat_find_stream_info().
int64_t AVStream::fps_last_dts |
Definition at line 1057 of file avformat.h.
Referenced by avformat_find_stream_info(), and avformat_new_stream().
int AVStream::fps_last_dts_idx |
Definition at line 1058 of file avformat.h.
Referenced by avformat_find_stream_info().
struct { ... } * AVStream::info |
Stream information used internally by avformat_find_stream_info()
Referenced by avformat_find_stream_info(), avformat_new_stream(), estimate_timings_from_pts(), ff_rfps_add_frame(), ff_rfps_calculate(), free_stream(), has_codec_parameters(), has_decode_delay_been_guessed(), read_frame_internal(), and try_decode_frame().
int AVStream::pts_wrap_bits |
number of bits in pts (used for wrapping control)
Definition at line 1062 of file avformat.h.
Referenced by compute_pkt_fields(), hls_write_header(), open_demux_for_component(), process_input(), seg_init(), set_stream_info_from_input_stream(), update_wrap_reference(), and wrap_timestamp().
int64_t AVStream::first_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 1072 of file avformat.h.
Referenced by add_dstream(), avformat_find_stream_info(), avformat_new_stream(), do_video_out(), estimate_timings_from_pts(), ff_read_frame_flush(), ff_read_packet(), hds_write_packet(), ism_write_packet(), rdt_parse_sdp_line(), update_initial_durations(), and update_initial_timestamps().
int64_t AVStream::cur_dts |
Definition at line 1073 of file avformat.h.
Referenced by avformat_new_stream(), choose_output(), compute_pkt_fields(), concat_read_packet(), estimate_timings_from_pts(), ff_pcm_read_seek(), ff_read_frame_flush(), ff_read_packet(), ff_update_cur_dts(), fifo_thread_write_header(), prepare_input_packet(), read_packet(), read_seek(), sbg_read_header(), sbg_read_packet(), sbg_read_seek2(), tedcaptions_read_header(), update_initial_durations(), update_initial_timestamps(), and vqf_read_seek().
int64_t AVStream::last_IP_pts |
Definition at line 1074 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), estimate_timings_from_pts(), and ff_read_frame_flush().
int AVStream::last_IP_duration |
Definition at line 1075 of file avformat.h.
Referenced by compute_pkt_fields().
int AVStream::probe_packets |
Number of packets to buffer for codec probing.
Definition at line 1080 of file avformat.h.
Referenced by avformat_new_stream(), ff_read_frame_flush(), ff_read_packet(), mpegts_set_stream_info(), probe_codec(), sbg_read_header(), set_codec_from_probe_data(), and tedcaptions_read_header().
int AVStream::codec_info_nb_frames |
Number of frames that have been demuxed during avformat_find_stream_info()
Definition at line 1085 of file avformat.h.
Referenced by av_find_best_stream(), av_find_default_stream_index(), avformat_find_stream_info(), dump_stream_format(), estimate_timings_from_bit_rate(), find_video_stream_info(), has_codec_parameters(), open_output_file(), and try_decode_frame().
enum AVStreamParseType AVStream::need_parsing |
Definition at line 1088 of file avformat.h.
Referenced by aa_read_header(), acm_read_header(), adts_aac_read_header(), asf_read_stream_properties(), asfrtp_parse_sdp_line(), avformat_find_stream_info(), avi_read_header(), compute_pkt_fields(), create_new_audio_stream(), daala_header(), dtshd_read_header(), ff_img_read_header(), ff_parse_mpeg2_descriptor(), ff_raw_audio_read_header(), ff_raw_video_read_header(), ff_rm_read_mdpr_codecdata(), film_read_header(), flac_header(), flac_read_header(), flv_set_audio_codec(), flv_set_video_codec(), get_codec_data(), get_sindex(), init_video_stream(), lmlm4_read_header(), loas_read_header(), lxf_read_header(), m4sl_cb(), mov_finalize_stsd_codec(), mov_parse_stsd_audio(), mov_read_header(), mov_read_packet(), mov_read_stss(), mov_read_trak(), mp3_read_header(), mpegps_read_packet(), mpegts_set_stream_info(), msf_read_header(), mtv_read_header(), mxf_parse_structural_metadata(), mxf_read_packet(), nc_read_header(), new_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), ogm_header(), oma_read_header(), parse_packet(), pva_read_header(), read_frame_internal(), read_header(), rm_read_audio_stream_info(), sdr2_read_header(), tak_read_header(), theora_header(), ty_read_header(), v4l2_read_header(), vp8_header(), xvag_read_header(), and xwma_read_header().
struct AVCodecParserContext* AVStream::parser |
Definition at line 1089 of file avformat.h.
Referenced by av_stream_get_parser(), avformat_find_stream_info(), estimate_timings_from_pts(), ff_read_frame_flush(), free_stream(), parse_packet(), read_frame_internal(), and update_stream_avctx().
struct AVPacketList* AVStream::last_in_packet_buffer |
last packet in packet_buffer for this stream when muxing.
Definition at line 1094 of file avformat.h.
Referenced by ff_interleave_add_packet(), and ff_interleave_packet_per_dts().
AVProbeData AVStream::probe_data |
Definition at line 1095 of file avformat.h.
Referenced by free_stream(), and probe_codec().
int64_t AVStream::pts_buffer[MAX_REORDER_DELAY+1] |
Definition at line 1097 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), estimate_timings_from_pts(), and ff_read_frame_flush().
AVIndexEntry* AVStream::index_entries |
Only used if the format does not support seeking natively.
Definition at line 1099 of file avformat.h.
Referenced by add_index_entry(), ape_read_seek(), asf_read_seek(), av_add_index_entry(), av_index_search_timestamp(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_sync(), calculate_bitrate(), check_stream_max_drift(), cine_read_packet(), clean_index(), clear_index_entries(), dhav_read_seek(), ff_configure_buffers_for_index(), ff_reduce_index(), ff_seek_frame_binary(), film_read_seek(), find_prev_closest_index(), fix_index_entry_timestamps(), free_stream(), guess_ni_flag(), gxf_seek(), ifv_read_packet(), img_read_seek(), mov_build_index(), mov_estimate_video_delay(), mov_find_next_sample(), mov_fix_index(), mov_read_chapters(), mov_read_packet(), mov_read_rtmd_track(), mov_read_seek(), mov_read_timecode_track(), mov_read_trun(), mp3_read_header(), mp3_seek(), mpc8_read_seek(), mpc_read_seek(), mv_read_packet(), ni_prepare_read(), nsv_read_seek(), nut_write_packet(), read_header(), read_packet(), read_seek(), reset_index_position(), rl2_read_seek(), rpl_read_packet(), scan_file(), seek_frame_generic(), tta_read_packet(), tta_read_seek(), voc_read_seek(), and webm_dash_manifest_compute_bandwidth().
int AVStream::nb_index_entries |
Definition at line 1101 of file avformat.h.
Referenced by add_index_entry(), add_keyframes_index(), av_add_index_entry(), av_index_search_timestamp(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_sync(), calculate_bitrate(), check_stream_max_drift(), cine_read_packet(), clean_index(), clear_index_entries(), ff_configure_buffers_for_index(), ff_reduce_index(), find_prev_closest_index(), guess_ni_flag(), ifv_read_packet(), mov_build_index(), mov_estimate_video_delay(), mov_find_next_sample(), mov_fix_index(), mov_read_chapters(), mov_read_packet(), mov_read_rtmd_track(), mov_read_timecode_track(), mov_read_trun(), mp3_read_header(), mpc_read_seek(), ni_prepare_read(), nut_write_packet(), read_header(), read_packet(), read_seek(), reset_index_position(), rpl_read_packet(), scan_file(), seek_frame_generic(), tta_read_packet(), voc_read_seek(), and webm_dash_manifest_compute_bandwidth().
unsigned int AVStream::index_entries_allocated_size |
Definition at line 1102 of file avformat.h.
Referenced by add_index_entry(), av_add_index_entry(), mov_build_index(), mov_fix_index(), mov_read_trun(), and scan_file().
int AVStream::stream_identifier |
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown.
Definition at line 1109 of file avformat.h.
Referenced by ff_parse_mpeg2_descriptor(), and find_matching_stream().
int AVStream::program_num |
Details of the MPEG-TS program which created this stream.
Definition at line 1114 of file avformat.h.
Referenced by find_matching_stream(), and pmt_cb().
int AVStream::pmt_version |
Definition at line 1115 of file avformat.h.
Referenced by pmt_cb().
int AVStream::pmt_stream_idx |
Definition at line 1116 of file avformat.h.
Referenced by find_matching_stream(), and pmt_cb().
int64_t AVStream::interleaver_chunk_size |
Definition at line 1118 of file avformat.h.
Referenced by ff_interleave_add_packet().
int64_t AVStream::interleaver_chunk_duration |
Definition at line 1119 of file avformat.h.
Referenced by ff_interleave_add_packet().
int AVStream::request_probe |
stream probing state -1 -> probing finished 0 -> no probing requested rest -> perform probing with request_probe being the minimum score to accept.
NOT PART OF PUBLIC API
Definition at line 1128 of file avformat.h.
Referenced by asf_read_stream_properties(), avformat_find_stream_info(), avi_read_header(), ff_parse_mpeg2_descriptor(), ff_read_packet(), mpegps_read_packet(), mpegts_find_stream_type(), mpegts_push_data(), mpegts_set_stream_info(), probe_codec(), and set_codec_from_probe_data().
int AVStream::skip_to_keyframe |
Indicates that everything up to the next keyframe should be discarded.
Definition at line 1133 of file avformat.h.
Referenced by read_frame_internal().
int AVStream::skip_samples |
Number of samples to skip at the start of the frame decoded from the next packet.
Definition at line 1138 of file avformat.h.
Referenced by ff_read_frame_flush(), mov_fix_index(), mov_read_header(), mov_read_seek(), read_frame_internal(), and update_initial_timestamps().
int64_t AVStream::start_skip_samples |
If not 0, the number of samples that should be skipped from the start of the stream (the samples are removed from packets with pts==0, which also assumes negative timestamps do not happen).
Intended for use with formats such as mp3 with ad-hoc gapless audio support.
Definition at line 1147 of file avformat.h.
Referenced by mp3_parse_info_tag(), and read_frame_internal().
int64_t AVStream::first_discard_sample |
If not 0, the first audio sample that should be discarded from the stream.
This is broken by design (needs global sample count), but can't be avoided for broken by design formats such as mp3 with ad-hoc gapless audio support.
Definition at line 1155 of file avformat.h.
Referenced by mp3_parse_info_tag(), and read_frame_internal().
int64_t AVStream::last_discard_sample |
The sample after last sample that is intended to be discarded after first_discard_sample.
Works on frame boundaries only. Used to prevent early EOF if the gapless info is broken (considered concatenated mp3s).
Definition at line 1162 of file avformat.h.
Referenced by mp3_parse_info_tag().
int AVStream::nb_decoded_frames |
Number of internally decoded frames, used internally in libavformat, do not access its lifetime differs from info which is why it is not in that structure.
Definition at line 1168 of file avformat.h.
Referenced by has_codec_parameters(), has_decode_delay_been_guessed(), and try_decode_frame().
int64_t AVStream::mux_ts_offset |
Timestamp offset added to timestamps before muxing NOT PART OF PUBLIC API.
Definition at line 1174 of file avformat.h.
Referenced by ff_interleaved_peek(), and write_packet().
int64_t AVStream::pts_wrap_reference |
Internal data to check for wrapping of the time stamp.
Definition at line 1179 of file avformat.h.
Referenced by avformat_new_stream(), mpegts_push_data(), update_wrap_reference(), and wrap_timestamp().
int AVStream::pts_wrap_behavior |
Options for behavior, when a wrap is detected.
Defined by AV_PTS_WRAP_ values.
If correction is enabled, there are two possibilities: If the first time stamp is near the wrap point, the wrap offset will be subtracted, which will create negative time stamps. Otherwise the offset will be added.
Definition at line 1191 of file avformat.h.
Referenced by avformat_new_stream(), ff_read_packet(), mpegts_push_data(), update_wrap_reference(), and wrap_timestamp().
int AVStream::update_initial_durations_done |
Internal data to prevent doing update_initial_durations() twice.
Definition at line 1196 of file avformat.h.
Referenced by update_initial_durations().
int64_t AVStream::pts_reorder_error[MAX_REORDER_DELAY+1] |
Internal data to generate dts from pts.
Definition at line 1201 of file avformat.h.
Referenced by select_from_pts_buffer().
uint8_t AVStream::pts_reorder_error_count[MAX_REORDER_DELAY+1] |
Definition at line 1202 of file avformat.h.
Referenced by select_from_pts_buffer().
int64_t AVStream::last_dts_for_order_check |
Internal data to analyze DTS and detect faulty mpeg streams.
Definition at line 1207 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), estimate_timings_from_pts(), and ff_read_frame_flush().
uint8_t AVStream::dts_ordered |
Definition at line 1208 of file avformat.h.
Referenced by compute_pkt_fields().
uint8_t AVStream::dts_misordered |
Definition at line 1209 of file avformat.h.
Referenced by compute_pkt_fields().
int AVStream::inject_global_side_data |
Internal data to inject global side data.
Definition at line 1214 of file avformat.h.
Referenced by av_format_inject_global_side_data(), avformat_new_stream(), ff_read_frame_flush(), and read_frame_internal().
AVRational AVStream::display_aspect_ratio |
display aspect ratio (0 if unknown)
Definition at line 1221 of file avformat.h.
Referenced by avformat_find_stream_info(), and mxf_parse_structural_metadata().
AVStreamInternal* AVStream::internal |
An opaque field for libavformat internal usage.
Must not be accessed in any way by callers.
Definition at line 1227 of file avformat.h.
Referenced by av_guess_frame_rate(), av_stream_get_codec_timebase(), av_stream_get_end_pts(), avformat_find_stream_info(), avformat_new_stream(), compute_pkt_fields(), dash_check_bitstream(), do_packet_auto_bsf(), estimate_timings_from_bit_rate(), extract_extradata(), extract_extradata_init(), ff_compute_frame_duration(), ff_parse_mpeg2_descriptor(), ff_raw_video_read_header(), ff_rfps_calculate(), ff_stream_add_bitstream_filter(), flac_read_timestamp(), flv_get_extradata(), flv_set_video_codec(), free_stream(), has_codec_parameters(), has_decode_delay_been_guessed(), init_muxer(), init_pts(), m4sl_cb(), mpegts_find_stream_type(), mpegts_set_stream_info(), ogm_header(), parse_packet(), prepare_input_packet(), read_frame_internal(), seg_check_bitstream(), select_from_pts_buffer(), set_codec_from_probe_data(), set_stream_info_from_input_stream(), try_decode_frame(), update_dts_from_pts(), update_initial_durations(), and update_stream_avctx().