FFmpeg
|
Stream structure. More...
#include <avformat.h>
Data Fields | |
int | index |
stream index in AVFormatContext | |
int | id |
Format-specific stream ID. | |
AVCodecContext * | codec |
Codec context associated with this stream. | |
void * | priv_data |
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. | |
int64_t | start_time |
Decoding: pts of the first frame of the stream in presentation order, in stream time base. | |
int64_t | duration |
Decoding: duration of the stream, in stream time base. | |
int64_t | nb_frames |
number of frames in this stream if known or 0 | |
int | disposition |
AV_DISPOSITION_* bit field. | |
enum AVDiscard | discard |
Selects which packets can be discarded at will and do not need to be demuxed. | |
AVRational | sample_aspect_ratio |
sample aspect ratio (0 if unknown) | |
AVDictionary * | metadata |
AVRational | avg_frame_rate |
Average framerate. | |
AVPacket | attached_pic |
For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet will contain the attached picture. | |
struct { | |
int64_t last_dts | |
int64_t duration_gcd | |
int duration_count | |
double(* duration_error )[2][MAX_STD_TIMEBASES] | |
int64_t codec_info_duration | |
int64_t codec_info_duration_fields | |
int found_decoder | |
int64_t last_duration | |
int64_t fps_first_dts | |
Those are used for average framerate estimation. | |
int fps_first_dts_idx | |
int64_t fps_last_dts | |
int fps_last_dts_idx | |
} | info |
int | pts_wrap_bits |
number of bits in pts (used for wrapping control) | |
int64_t | reference_dts |
Timestamp corresponding to the last dts sync point. | |
int64_t | first_dts |
int64_t | cur_dts |
int64_t | last_IP_pts |
int | last_IP_duration |
int | probe_packets |
int | codec_info_nb_frames |
Number of frames that have been demuxed during av_find_stream_info() | |
enum AVStreamParseType | need_parsing |
struct AVCodecParserContext * | parser |
struct AVPacketList * | last_in_packet_buffer |
last packet in packet_buffer for this stream when muxing. | |
AVProbeData | probe_data |
int64_t | pts_buffer [MAX_REORDER_DELAY+1] |
AVIndexEntry * | index_entries |
Only used if the format does not support seeking natively. | |
int | nb_index_entries |
unsigned int | index_entries_allocated_size |
AVRational | r_frame_rate |
Real base framerate of the stream. | |
int | stream_identifier |
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown. | |
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. | |
int | skip_to_keyframe |
Indicates that everything up to the next keyframe should be discarded. | |
int | skip_samples |
Number of samples to skip at the start of the frame decoded from the next packet. | |
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. | |
int64_t | mux_ts_offset |
Timestamp offset added to timestamps before muxing NOT PART OF PUBLIC API. | |
int64_t | pts_wrap_reference |
Internal data to check for wrapping of the time stamp. | |
int | pts_wrap_behavior |
Options for behavior, when a wrap is detected. | |
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 659 of file avformat.h.
int AVStream::index |
stream index in AVFormatContext
Definition at line 660 of file avformat.h.
Referenced by aac_parse_packet(), add_av_stream1(), amr_handle_packet(), ape_tag_read_field(), asf_read_picture(), av_read_frame(), avformat_find_stream_info(), avformat_match_stream_specifier(), avformat_new_stream(), avpriv_dv_produce_packet(), avpriv_set_pts_info(), avs_read_audio_packet(), avs_read_video_packet(), build_feed_streams(), cdxl_read_packet(), check_output_constraints(), cin_read_header(), compute_pkt_fields2(), configure_input_audio_filter(), configure_input_video_filter(), dc1394_read_common(), decode_audio(), decode_video(), dshow_add_device(), dump_attachment(), dv_extract_audio_info(), 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(), flv_data_packet(), flv_read_packet(), get_attachment(), get_ost_filters(), get_subtitle_pkt(), guess_input_channel_layout(), gxf_write_header(), gxf_write_media_preamble(), h263_handle_packet(), h264_handle_packet(), idcin_read_header(), init_input_filter(), init_input_stream(), ipmovie_read_header(), jpeg_parse_packet(), latm_parse_packet(), matroska_parse_frame(), matroska_parse_rm_audio(), mov_build_index(), mov_read_covr(), mov_read_trak(), mov_read_trun(), mov_seek_stream(), movie_common_init(), movie_push_frame(), mpeg_parse_packet(), 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_audio_stream(), new_pes_packet(), nsv_read_chunk(), nuv_header(), open_input_file(), parse_packet(), parse_strk(), parse_vtrk(), pmt_cb(), probe_codec(), process_input(), qdm2_restore_block(), qt_rtp_parse_packet(), rdt_load_mdpr(), rdt_parse_packet(), rdt_parse_sdp_line(), read_frame(), read_frame_internal(), return_stored_frame(), roq_read_packet(), rtp_parse_packet_internal(), seq_read_header(), show_stream(), smacker_read_header(), smjpeg_read_header(), smush_read_header(), store_packet(), str_read_packet(), svq3_parse_packet(), thp_read_header(), vid_read_packet(), vmd_read_header(), vp8_handle_packet(), wc3_read_header(), write_audio_frame(), write_frame(), write_stream_data(), write_video_frame(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), xa_read_packet(), xiph_handle_packet(), and xmv_read_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 666 of file avformat.h.
Referenced by add_dstream(), add_stream(), asf_read_stream_properties(), asfrtp_parse_packet(), asfrtp_parse_sdp_line(), avformat_match_stream_specifier(), avi_read_header(), avisynth_create_stream(), build_feed_streams(), create_new_audio_stream(), dshow_add_device(), dump_stream_format(), ff_find_stream_index(), ff_rdt_parse_open(), ff_rm_parse_packet(), ff_rtp_chain_mux_open(), get_attachment(), get_sindex(), handle_file(), hls_read_header(), lavfi_read_header(), mov_read_chapters(), mov_read_header(), mov_read_tkhd(), mov_read_trak(), mov_read_trun(), mpegps_read_dts(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_push_data(), mpegts_set_stream_info(), mpegts_write_header(), mxf_parse_structural_metadata(), new_output_stream(), new_stream(), nsv_parse_NSVs_header(), nsv_read_chunk(), ogg_new_stream(), open_slave(), parse_strk(), pmt_cb(), rdt_parse_sdp_line(), read_header(), recheck_discard_flags(), rm_read_header(), rm_read_index(), rm_write_header(), rtp_write_header(), rtsp_read_packet(), sap_fetch_packet(), sap_read_header(), show_stream(), swf_read_packet(), and sync().
AVCodecContext* AVStream::codec |
Codec context associated with this stream.
Allocated and freed by libavformat.
Definition at line 678 of file avformat.h.
Referenced by a64_write_header(), add_av_stream(), add_av_stream1(), add_codec(), add_dstream(), add_input_streams(), add_stream(), adp_read_header(), adts_aac_read_header(), adts_write_header(), adx_read_header(), adx_read_packet(), aea_read_header(), aea_read_packet(), afc_read_header(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_packet(), aiff_write_trailer(), amf_parse_object(), amr_handle_packet(), amr_read_header(), amr_read_packet(), apc_read_header(), ape_read_header(), ape_tag_read_field(), aqt_read_header(), asf_parse_packet(), asf_read_header(), asf_read_picture(), asf_read_stream_properties(), asf_write_header1(), asf_write_packet(), asfrtp_parse_sdp_line(), ass_read_header(), ast_read_header(), ast_read_packet(), ast_write_header(), ast_write_packet(), ast_write_trailer(), audio_decode_frame(), audio_read_header(), audio_write_header(), av_find_best_stream(), av_find_default_stream_index(), av_guess_frame_rate(), av_guess_sample_aspect_ratio(), av_interleaved_write_frame(), avformat_find_stream_info(), avformat_match_stream_specifier(), avformat_new_stream(), avi_read_header(), avi_read_idx1(), avi_read_seek(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avisynth_read_packet(), avisynth_read_seek(), avpriv_dv_init_demux(), avpriv_dv_produce_packet(), avpriv_set_pts_info(), avr_read_header(), avs_read_packet(), bfi_read_header(), bmv_read_header(), build_feed_streams(), build_file_streams(), build_frame_code(), caca_write_header(), caf_write_header(), caf_write_packet(), caf_write_trailer(), cdata_read_header(), cdxl_read_packet(), celt_header(), check_keyboard_interaction(), check_recording_time(), choose_decoder(), choose_encoder(), choose_pix_fmts(), choose_pixel_fmt(), choose_sample_fmt(), cin_read_header(), close_audio(), close_connection(), close_input_file(), close_output_stream(), close_video(), compute_bandwidth(), compute_pkt_fields(), compute_pkt_fields2(), compute_status(), concat_read_header(), configure_input_audio_filter(), configure_input_video_filter(), configure_output_audio_filter(), configure_output_video_filter(), create_audio_stream(), create_new_audio_stream(), create_stream(), daud_header(), daud_write_header(), dc1394_read_common(), decode_audio(), decode_stream_header(), decode_video(), dfa_read_header(), dirac_header(), do_audio_out(), do_streamcopy(), do_subtitle_out(), do_video_out(), do_video_stats(), dshow_add_device(), dtshd_read_header(), dump_attachment(), dump_stream_format(), dv_assemble_frame(), dv_extract_audio_info(), dv_extract_video_info(), dv_frame_offset(), dv_init_mux(), dxa_read_header(), ea_read_header(), epaf_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_orphan_timecode(), extract_mpeg4_header(), fbdev_read_header(), ff_alsa_open(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_choose_timebase(), ff_compute_frame_duration(), ff_dv_offset_reset(), ff_flac_parse_picture(), ff_framehash_write_header(), ff_free_stream(), ff_generate_avci_extradata(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_load_image(), ff_mov_read_chan(), ff_mov_read_stsd_entries(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_pcm_read_packet(), ff_pcm_read_seek(), ff_raw_audio_read_header(), ff_raw_data_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_parse_open(), ff_rtp_send_aac(), ff_rtp_send_jpeg(), ff_rtp_send_latm(), ff_sauce_read(), ff_spdif_read_packet(), ff_voc_get_packet(), ffm2_read_header(), ffm_close(), ffm_read_header(), ffm_write_header(), film_read_header(), filter_codec_opts(), find_stream(), find_stream_in_feed(), flac_header(), flac_read_header(), flac_write_header(), flac_write_trailer(), flush_encoders(), flv_data_packet(), flv_get_extradata(), flv_read_metabody(), flv_read_packet(), flv_set_video_codec(), flv_write_header(), flv_write_packet(), flv_write_trailer(), force_codec_ids(), frm_read_header(), frm_read_packet(), g722_read_header(), g723_1_init(), g729_read_header(), g729_read_packet(), get_aiff_header(), get_attachment(), get_codec_data(), get_ost_filters(), get_packet_header(), get_private_data(), get_sindex(), get_video_frame(), gif_read_header(), gif_write_header(), grab_read_header(), gsm_read_header(), guess_channel_layout(), guess_input_channel_layout(), 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(), handle_file(), has_codec_parameters(), has_decode_delay_been_guessed(), hls_mux_init(), hls_read_header(), hls_write_header(), hls_write_packet(), http_prepare_data(), http_receive_data(), ico_write_header(), ico_write_packet(), ico_write_trailer(), idcin_read_header(), iff_read_header(), iff_read_packet(), ilbc_parse_fmtp(), ilbc_parse_sdp_line(), ilbc_read_header(), ilbc_read_packet(), ilbc_write_header(), img_read_header(), img_read_packet(), init_input_filter(), init_input_stream(), init_muxer(), init_pts(), init_stream(), insert_trim(), interleave_compare_dts(), ipmovie_read_header(), ircam_read_header(), ircam_write_header(), ism_write_header(), ism_write_packet(), iss_read_header(), iss_read_packet(), ivf_write_header(), jacosub_read_header(), jacosub_write_header(), latm_write_frame_header(), latm_write_header(), latm_write_packet(), lavfi_read_header(), libquvi_read_header(), lmlm4_read_header(), loas_read_header(), lvf_read_header(), lxf_read_header(), m4sl_cb(), main(), matroska_parse_block(), matroska_parse_frame(), matroska_parse_rm_audio(), matroska_parse_wavpack(), matroska_read_header(), microdvd_read_header(), microdvd_write_header(), mkv_write_attachments(), mkv_write_block(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tracks(), mmf_read_header(), modify_current_stream(), modplug_read_header(), mov_build_index(), mov_create_timecode_track(), mov_read_ares(), mov_read_close(), mov_read_covr(), mov_read_dac3(), mov_read_dec3(), mov_read_dvc1(), mov_read_enda(), mov_read_extradata(), mov_read_fiel(), mov_read_glbl(), mov_read_hdlr(), mov_read_header(), mov_read_strf(), mov_read_trak(), mov_read_trun(), mov_read_wave(), mov_read_wfex(), mov_write_ftyp_tag(), mov_write_header(), mov_write_moov_tag(), mov_write_tkhd_tag(), mov_write_uuidprof_tag(), movie_common_init(), movie_config_output_props(), movie_push_frame(), movie_query_formats(), movie_uninit(), mp3_parse_vbr_tags(), mp3_read_header(), mp3_write_xing(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpeg_parse_packet(), mpegps_read_packet(), mpegts_find_stream_type(), mpegts_push_data(), mpegts_read_header(), mpegts_set_stream_info(), mpegts_write_header(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mpl2_read_header(), mpsub_read_header(), msnwc_tcp_read_header(), mtv_read_header(), mv_read_header(), mxf_get_d10_aes3_packet(), mxf_handle_small_eubc(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_seek(), 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_output_stream(), new_stream(), new_subtitle_stream(), new_video_stream(), nist_read_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nsv_read_close(), nut_read_header(), nut_write_header(), nuv_header(), ogg_buffer_data(), ogg_read_seek(), ogg_validate_keyframe(), 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(), oma_write_header(), open_audio(), open_codec_context(), open_input_file(), open_input_stream(), open_output_file(), open_slave(), open_stream(), open_video(), opt_map_channel(), opt_target(), opus_header(), output_packet(), parse_audio_var(), parse_fmtp(), parse_fmtp_config(), parse_h264_sdp_line(), parse_media_type(), parse_mpeg1waveformatex(), parse_packet(), parse_strk(), parse_timecode_in_framenum_format(), parse_video_var(), parse_vtrk(), pcm_read_header(), pjs_read_header(), pmp_header(), pmt_cb(), prepare_sdp_description(), print_report(), probe_codec(), process_frame(), process_input(), pulse_read_header(), put_frame(), 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(), rawvideo_read_packet(), rdt_parse_packet(), read_desc_chunk(), read_ffserver_streams(), read_frame(), read_frame_internal(), read_gab2_sub(), read_header(), read_header_gme(), read_index(), read_kuki_chunk(), read_packet(), read_seek(), real_parse_asm_rule(), realtext_read_header(), reap_filters(), redspark_read_header(), redspark_read_packet(), report_new_stream(), rewind_file(), 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_packet(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rso_write_header(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rtp_parse_queued_packet(), rtp_send_ilbc(), rtp_write_header(), rtp_write_packet(), sami_read_header(), sap_fetch_packet(), sap_read_header(), sbg_read_header(), sbg_read_packet(), sdl_write_header(), sdl_write_packet(), sdp_parse_fmtp_config_h264(), seek_frame_generic(), seg_write_header(), segment_mux_init(), select_reference_stream(), seq_read_header(), set_channels(), set_codec_from_probe_data(), setup_find_stream_info_opts(), 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(), sox_write_header(), sox_write_trailer(), spdif_write_header(), speex_header(), srt_read_header(), srt_write_header(), srt_write_packet(), str_read_packet(), stream_component_close(), stream_component_open(), stream_cycle_channel(), sub2video_prepare(), sub2video_update(), subtitle_thread(), subviewer1_read_header(), subviewer_read_header(), svq3_parse_packet(), swf_read_packet(), swf_write_header(), swf_write_packet(), swf_write_trailer(), tak_read_header(), tedcaptions_read_header(), theora_header(), thp_read_header(), tmcd_is_referenced(), tmv_read_header(), transcode(), transcode_init(), transcode_subtitles(), try_decode_frame(), tta_read_header(), txd_read_header(), update_initial_durations(), update_initial_timestamps(), update_stream_timings(), v4l2_read_header(), v4l2_read_packet(), validate_codec_tag(), vc1t_read_header(), vc1test_write_header(), vfw_read_header(), vid_read_packet(), video_refresh(), video_thread(), vivo_read_header(), vmd_read_header(), voc_read_header(), voc_write_header(), voc_write_packet(), vorbis_header(), vplayer_read_header(), vqf_read_header(), vqf_read_seek(), wc3_read_header(), webvtt_read_header(), write_audio_frame(), write_frame(), write_header(), write_manifest(), write_packet(), write_stream_codec(), write_stream_codec_info(), write_stream_data(), write_streamheader(), write_streaminfo(), write_timestamp(), write_trailer(), write_video_frame(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), wv_write_header(), x11grab_read_header(), xa_read_header(), xa_read_packet(), xiph_parse_fmtp_pair(), xmv_process_packet_header(), xmv_read_header(), xv_write_header(), xv_write_packet(), xwma_read_header(), xwma_read_packet(), yop_read_header(), yuv4_read_header(), and yuv4_read_packet().
void* AVStream::priv_data |
Definition at line 679 of file avformat.h.
Referenced by add_av_stream1(), asf_parse_packet(), asf_read_pts(), asf_read_stream_properties(), asf_reset_header(), av_write_trailer(), avi_read_close(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_start_new_riff(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_idx1(), avi_write_ix(), avi_write_packet(), avi_write_trailer(), clean_index(), ff_audio_interleave_close(), ff_audio_interleave_init(), ff_audio_rechunk_interleave(), ff_free_stream(), ff_mov_read_stsd_entries(), flush_packet(), flv_write_header(), flv_write_packet(), flv_write_trailer(), get_subtitle_pkt(), get_system_header_size(), guess_ni_flag(), 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(), interleave_new_audio_packet(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_close(), mov_read_covr(), mov_read_ctts(), mov_read_custom_metadata(), mov_read_dref(), mov_read_elst(), mov_read_header(), mov_read_mdhd(), mov_read_packet(), mov_read_sbgp(), mov_read_seek(), mov_read_stco(), mov_read_stps(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_timecode_track(), mov_read_tkhd(), mov_read_tmcd(), 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_flush(), mpegts_write_header(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mxf_compare_timestamps(), mxf_compute_sample_count(), mxf_free(), mxf_get_stream_index(), mxf_parse_dnxhd_frame(), mxf_parse_dv_frame(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_read_close(), mxf_read_packet_old(), mxf_read_seek(), mxf_set_audio_pts(), 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(), seek_subtitle(), and tmcd_is_referenced().
struct AVFrac AVStream::pts |
encoding: pts generation when outputting stream
Definition at line 684 of file avformat.h.
Referenced by compute_pkt_fields2(), do_video_stats(), init_pts(), main(), and print_report().
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: set by libavformat in avformat_write_header. The muxer may use the user-provided value of codec->time_base as a hint.
Definition at line 695 of file avformat.h.
Referenced by audio_decode_frame(), av_pkt_dump2(), av_pkt_dump_log2(), avformat_find_stream_info(), avformat_seek_file(), avi_read_packet(), avi_read_seek(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avpriv_set_pts_info(), choose_output(), compute_pkt_fields(), compute_pkt_fields2(), concat_read_header(), concat_read_packet(), configure_input_video_filter(), decode_audio(), decode_video(), do_audio_out(), do_streamcopy(), do_subtitle_out(), do_video_out(), dump_stream_format(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), ff_compute_frame_duration(), ff_framehash_write_header(), ff_gen_syncpoint_search(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_mov_init_hinting(), ff_pcm_read_seek(), ff_read_packet(), ff_update_cur_dts(), ff_write_chained(), fill_all_stream_timings(), finalize_packet(), flac_read_header(), flush_encoders(), get_subtitle_pkt(), get_video_frame(), guess_ni_flag(), handle_file(), hls_read_header(), hls_read_packet(), hls_read_seek(), hls_write_packet(), http_prepare_data(), init_filters(), init_pts(), init_stream(), interleave_compare_dts(), interleave_new_audio_packet(), ism_write_header(), ism_write_packet(), ivf_write_header(), libquvi_read_header(), main(), mov_read_chapters(), mov_read_seek(), mov_write_single_packet(), movie_config_output_props(), mp3_parse_vbr_tags(), mxf_compute_sample_count(), mxf_parse_structural_metadata(), mxf_read_seek(), nut_read_header(), ogg_buffer_data(), ogg_compare_granule(), open_slave(), output_packet(), parse_packet(), print_report(), process_input(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), r3d_seek(), read_gab2_sub(), read_header(), read_seek(), read_thread(), real_seek(), report_new_stream(), rl2_read_seek(), rtp_parse_one_packet(), rtsp_read_play(), rtsp_read_seek(), sap_fetch_packet(), sap_read_header(), sbg_read_seek2(), search_hi_lo_keyframes(), seek_frame_internal(), seek_subtitle(), seg_write_packet(), show_frame(), show_packet(), show_stream(), sub2video_heartbeat(), sub2video_update(), subtitle_thread(), tee_write_packet(), transcode_init(), try_seek(), update_stream_timings(), update_wrap_reference(), vc1t_read_packet(), video_thread(), vqf_read_seek(), write_frame(), and write_packet().
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 705 of file avformat.h.
Referenced by adp_read_header(), aiff_read_header(), ape_read_header(), ast_read_header(), avformat_new_stream(), avi_read_header(), avisynth_create_stream_video(), avpriv_dv_init_demux(), cdxl_read_packet(), create_audio_stream(), do_video_out(), dv_extract_audio_info(), ea_read_header(), estimate_timings_from_pts(), ff_raw_audio_read_header(), ff_raw_data_read_header(), fill_all_stream_timings(), g723_1_init(), gxf_header(), gxf_seek(), hls_read_packet(), idcin_read_header(), ilbc_read_header(), img_read_header(), matroska_read_header(), mp3_read_header(), mpc8_read_header(), mpc_read_header(), mpegts_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), nut_read_header(), ogg_get_length(), ogg_read_header(), oma_read_header(), open_slave(), opus_packet(), process_input(), read_header(), read_thread(), rm_read_header(), 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(), theora_packet(), tta_read_header(), update_initial_timestamps(), update_stream_timings(), vid_read_packet(), vivo_read_header(), vorbis_packet(), 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.
Definition at line 712 of file avformat.h.
Referenced by adp_read_header(), afc_read_header(), aiff_read_header(), ape_read_header(), asf_read_stream_properties(), ast_read_header(), avformat_new_stream(), avi_read_header(), avisynth_create_stream_video(), bfi_read_header(), dfa_read_header(), ea_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), fill_all_stream_timings(), flac_read_header(), gxf_header(), has_duration(), img_read_header(), ivf_write_header(), lxf_read_header(), modplug_read_header(), mov_build_index(), mov_read_chapters(), mov_read_header(), mov_read_mdhd(), mov_read_packet(), mov_read_stts(), mov_read_trak(), mov_read_trun(), mp3_parse_vbr_tags(), mp3_seek(), mpc8_read_header(), mpc_read_header(), mxf_compute_index_tables(), mxf_parse_structural_metadata(), mxf_read_packet(), nist_read_header(), nsv_parse_NSVs_header(), nut_read_header(), ogg_get_length(), open_slave(), parse_video_var(), pmp_header(), r3d_read_rdvo(), read_header(), read_header_gme(), read_packet(), read_pakt_chunk(), read_seek(), redspark_read_header(), redspark_read_packet(), rm_read_header(), rsd_read_header(), rso_read_header(), sbg_read_header(), sbg_read_packet(), show_stream(), siff_parse_vbv1(), smacker_read_header(), smjpeg_read_header(), smush_read_header(), tak_read_header(), tedcaptions_read_header(), theora_packet(), thp_read_header(), tta_read_header(), update_stream_timings(), vc1t_read_header(), vorbis_packet(), wsvqa_read_header(), wv_read_header(), xmv_read_header(), and xwma_read_header().
int64_t AVStream::nb_frames |
number of frames in this stream if known or 0
Definition at line 714 of file avformat.h.
Referenced by aiff_read_header(), aiff_write_packet(), ape_read_header(), av_interleaved_write_frame(), av_write_frame(), av_write_trailer(), avi_read_header(), avisynth_create_stream_video(), avs_read_packet(), bfi_read_header(), do_video_stats(), ea_read_header(), ff_mov_write_packet(), flv_write_packet(), mov_read_stts(), mov_read_trak(), mpegts_write_packet_internal(), mv_read_header(), open_slave(), parse_audio_var(), parse_video_var(), pmp_header(), read_header(), read_index(), read_pakt_chunk(), show_stream(), siff_parse_vbv1(), smush_read_header(), thp_read_header(), and wsvqa_read_header().
int AVStream::disposition |
AV_DISPOSITION_* bit field.
Definition at line 716 of file avformat.h.
Referenced by ape_tag_read_field(), asf_read_picture(), av_find_best_stream(), av_find_default_stream_index(), avformat_find_stream_info(), avformat_queue_attached_pictures(), dump_stream_format(), ff_flac_parse_picture(), ff_id3v2_parse_apic(), ff_parse_mpeg2_descriptor(), get_attachment(), matroska_read_header(), mkv_write_tracks(), mov_read_covr(), mpegts_write_pmt(), open_output_file(), open_slave(), parse_chunks(), read_thread(), select_reference_stream(), set_disposition_bits(), transcode_init(), 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 718 of file avformat.h.
Referenced by add_input_streams(), asf_parse_packet(), avformat_queue_attached_pictures(), avi_sync(), decode_frame(), ff_gen_syncpoint_search(), find_stream(), flv_read_packet(), get_subtitle_pkt(), init_input_filter(), matroska_parse_block(), mov_read_chapters(), mov_read_packet(), movie_common_init(), mpegps_read_packet(), mpegts_push_data(), mxf_read_packet_old(), new_output_stream(), open_output_file(), process_input(), r3d_read_packet(), read_data(), read_frame_internal(), read_thread(), recheck_discard_flags(), rm_read_packet(), rtsp_read_packet(), search_hi_lo_keyframes(), stream_component_close(), and stream_component_open().
AVRational AVStream::sample_aspect_ratio |
sample aspect ratio (0 if unknown)
Definition at line 725 of file avformat.h.
Referenced by add_av_stream1(), asf_read_frame_header(), asf_read_header(), av_guess_sample_aspect_ratio(), avformat_new_stream(), avi_read_header(), avi_write_header(), concat_read_header(), configure_input_video_filter(), decode_stream_header(), decode_video(), dfa_read_header(), dump_stream_format(), dv_extract_video_info(), ff_rtp_chain_mux_open(), has_codec_parameters(), hls_mux_init(), iff_read_header(), init_muxer(), ism_write_header(), lavfi_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(), new_video_stream(), nut_read_header(), nuv_header(), open_slave(), parse_video_var(), read_header(), sdl_write_header(), segment_mux_init(), theora_header(), transcode_init(), write_streamheader(), yop_read_header(), and yuv4_read_header().
AVDictionary* AVStream::metadata |
Definition at line 727 of file avformat.h.
Referenced by ape_tag_read_field(), asf_read_header(), asf_read_picture(), avi_read_tag(), avi_write_header(), celt_header(), copy_metadata(), decode_info_header(), dump_attachment(), dump_stream_format(), dv_write_header(), export_orphan_timecode(), ff_flac_parse_picture(), ff_free_stream(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_metadata_conv_ctx(), ff_parse_mpeg2_descriptor(), flac_header(), get_attachment(), gxf_write_header(), hls_read_header(), matroska_read_header(), mkv_write_attachments(), mkv_write_tags(), mkv_write_tracks(), mov_read_hdlr(), mov_read_header(), mov_read_mdhd(), mov_read_tkhd(), mov_write_header(), mov_write_tkhd_tag(), mpegts_write_pmt(), mxf_write_header(), ogm_header(), open_output_file(), open_slave(), opus_header(), parse_chunks(), parse_timecode_in_framenum_format(), r3d_read_red1(), read_gab2_sub(), read_header(), show_stream(), speex_header(), theora_header(), vorbis_header(), write_streaminfo(), write_table_entries_attrib(), write_table_redirector_legacy_attrib(), and write_trailer().
AVRational AVStream::avg_frame_rate |
Average framerate.
Definition at line 732 of file avformat.h.
Referenced by av_guess_frame_rate(), avformat_find_stream_info(), avisynth_create_stream_video(), avs_read_packet(), concat_read_header(), dump_stream_format(), ea_read_header(), ff_rm_read_mdpr_codecdata(), flv_write_header(), init_convert_timestamp(), matroska_read_header(), mkv_write_tracks(), mov_create_timecode_track(), mov_read_trak(), nuv_header(), open_slave(), output_packet(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_redv(), r3d_seek(), read_header(), show_stream(), transcode_init(), v4l2_read_header(), v4l2_set_parameters(), and vc1test_write_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 741 of file avformat.h.
Referenced by ape_tag_read_field(), asf_read_picture(), avformat_queue_attached_pictures(), ff_flac_parse_picture(), ff_free_stream(), ff_id3v2_parse_apic(), get_attachment(), mov_read_covr(), and read_thread().
int64_t AVStream::last_dts |
Definition at line 756 of file avformat.h.
Referenced by avformat_find_stream_info(), and avformat_new_stream().
int64_t AVStream::duration_gcd |
Definition at line 757 of file avformat.h.
Referenced by avformat_find_stream_info().
int AVStream::duration_count |
Definition at line 758 of file avformat.h.
Referenced by avformat_find_stream_info().
double(* AVStream::duration_error)[2][MAX_STD_TIMEBASES] |
Definition at line 759 of file avformat.h.
Referenced by avformat_find_stream_info(), avi_read_header(), and ff_free_stream().
int64_t AVStream::codec_info_duration |
Definition at line 760 of file avformat.h.
Referenced by avformat_find_stream_info().
int64_t AVStream::codec_info_duration_fields |
Definition at line 761 of file avformat.h.
Referenced by avformat_find_stream_info().
int AVStream::found_decoder |
Definition at line 762 of file avformat.h.
Referenced by avformat_find_stream_info(), has_codec_parameters(), and try_decode_frame().
int64_t AVStream::last_duration |
Definition at line 764 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 769 of file avformat.h.
Referenced by avformat_find_stream_info(), and avformat_new_stream().
int AVStream::fps_first_dts_idx |
Definition at line 770 of file avformat.h.
Referenced by avformat_find_stream_info().
int64_t AVStream::fps_last_dts |
Definition at line 771 of file avformat.h.
Referenced by avformat_find_stream_info(), and avformat_new_stream().
int AVStream::fps_last_dts_idx |
Definition at line 772 of file avformat.h.
Referenced by avformat_find_stream_info().
struct { ... } * AVStream::info |
int AVStream::pts_wrap_bits |
number of bits in pts (used for wrapping control)
Definition at line 776 of file avformat.h.
Referenced by av_read_frame(), avpriv_set_pts_info(), compute_pkt_fields(), hls_read_header(), libquvi_read_header(), process_input(), update_wrap_reference(), and wrap_timestamp().
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 786 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), estimate_timings_from_pts(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
int64_t AVStream::first_dts |
Definition at line 787 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(), ism_write_packet(), rdt_parse_sdp_line(), update_initial_durations(), update_initial_timestamps(), and update_wrap_reference().
int64_t AVStream::cur_dts |
Definition at line 788 of file avformat.h.
Referenced by audio_get_output_timestamp(), avformat_new_stream(), choose_output(), compute_pkt_fields(), compute_pkt_fields2(), estimate_timings_from_pts(), ff_gen_syncpoint_search(), ff_pcm_read_seek(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), ff_update_cur_dts(), pmp_packet(), read_ffserver_streams(), 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 789 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), decode_frame(), estimate_timings_from_pts(), ff_read_frame_flush(), ff_restore_parser_state(), and ff_store_parser_state().
int AVStream::last_IP_duration |
Definition at line 790 of file avformat.h.
Referenced by compute_pkt_fields().
int AVStream::probe_packets |
Definition at line 796 of file avformat.h.
Referenced by avformat_new_stream(), ff_read_frame_flush(), ff_read_packet(), ff_restore_parser_state(), ff_store_parser_state(), 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 av_find_stream_info()
Definition at line 801 of file avformat.h.
Referenced by av_find_best_stream(), avformat_find_stream_info(), dump_stream_format(), has_codec_parameters(), and try_decode_frame().
enum AVStreamParseType AVStream::need_parsing |
Definition at line 804 of file avformat.h.
Referenced by adts_aac_read_header(), asf_read_stream_properties(), avformat_find_stream_info(), avi_read_header(), compute_pkt_fields(), create_new_audio_stream(), dtshd_read_header(), ea_read_header(), ff_mov_read_stsd_entries(), 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(), get_codec_data(), get_sindex(), h263_init(), h264_init(), img_read_header(), init_video(), lmlm4_read_header(), loas_read_header(), m4sl_cb(), matroska_read_header(), mp3_read_header(), mpeg_init(), 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(), parse_packet(), pva_read_header(), read_frame_internal(), read_header(), rm_read_audio_stream_info(), tak_read_header(), theora_header(), xiph_vorbis_init(), and xwma_read_header().
struct AVCodecParserContext* AVStream::parser |
Definition at line 805 of file avformat.h.
Referenced by avformat_find_stream_info(), estimate_timings_from_pts(), ff_free_stream(), ff_read_frame_flush(), ff_restore_parser_state(), ff_store_parser_state(), output_packet(), parse_packet(), and read_frame_internal().
struct AVPacketList* AVStream::last_in_packet_buffer |
last packet in packet_buffer for this stream when muxing.
Definition at line 810 of file avformat.h.
Referenced by ff_interleave_add_packet(), ff_interleave_packet_per_dts(), and mxf_interleave_get_packet().
AVProbeData AVStream::probe_data |
Definition at line 811 of file avformat.h.
Referenced by ff_free_stream(), and probe_codec().
int64_t AVStream::pts_buffer[MAX_REORDER_DELAY+1] |
Definition at line 813 of file avformat.h.
Referenced by avformat_new_stream(), compute_pkt_fields(), compute_pkt_fields2(), and ff_read_frame_flush().
AVIndexEntry* AVStream::index_entries |
Only used if the format does not support seeking natively.
Definition at line 815 of file avformat.h.
Referenced by ape_read_seek(), asf_read_seek(), av_add_index_entry(), av_index_search_timestamp(), av_write_trailer(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_sync(), clean_index(), clear_index_entries(), ff_free_stream(), ff_reduce_index(), ff_seek_frame_binary(), guess_ni_flag(), gxf_seek(), img_read_seek(), matroska_read_seek(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_packet(), mov_read_seek(), mov_read_timecode_track(), mp3_seek(), mpc8_read_seek(), mpc_read_seek(), mv_read_packet(), nsv_read_seek(), nut_write_packet(), read_header(), read_packet(), read_seek(), rl2_read_packet(), rl2_read_seek(), rpl_read_packet(), seek_frame_generic(), tta_read_packet(), tta_read_seek(), and wv_read_seek().
int AVStream::nb_index_entries |
Definition at line 817 of file avformat.h.
Referenced by av_add_index_entry(), av_index_search_timestamp(), avi_read_header(), avi_read_idx1(), avi_read_packet(), avi_read_seek(), avi_sync(), clean_index(), clear_index_entries(), ff_reduce_index(), guess_ni_flag(), matroska_read_seek(), mov_build_index(), mov_find_next_sample(), mov_read_chapters(), mov_read_packet(), mov_read_timecode_track(), mpc_read_seek(), parse_keyframes_index(), read_header(), read_packet(), read_seek(), rl2_read_packet(), rpl_read_packet(), seek_frame_generic(), and wv_read_seek().
unsigned int AVStream::index_entries_allocated_size |
Definition at line 818 of file avformat.h.
Referenced by av_add_index_entry(), and mov_build_index().
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.
Code outside avformat should access this field using: av_stream_get/set_r_frame_rate(stream)
Definition at line 831 of file avformat.h.
Referenced by av_guess_frame_rate(), avformat_find_stream_info(), avs_read_packet(), concat_read_header(), decode_info_header(), dump_stream_format(), ea_read_header(), ff_compute_frame_duration(), ff_rm_read_mdpr_codecdata(), matroska_read_header(), mov_read_trak(), movie_config_output_props(), nuv_header(), open_slave(), r3d_read_red1(), show_stream(), transcode_init(), and v4l2_set_parameters().
int AVStream::stream_identifier |
Stream Identifier This is the MPEG-TS stream identifier +1 0 means unknown.
Definition at line 838 of file avformat.h.
Referenced by ff_parse_mpeg2_descriptor().
int64_t AVStream::interleaver_chunk_size |
Definition at line 840 of file avformat.h.
Referenced by ff_interleave_add_packet().
int64_t AVStream::interleaver_chunk_duration |
Definition at line 841 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 850 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(), 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 855 of file avformat.h.
Referenced by matroska_parse_block(), matroska_read_seek(), and 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 860 of file avformat.h.
Referenced by av_read_frame(), mov_read_header(), mov_read_seek(), mp3_parse_vbr_tags(), and mp3_seek().
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 866 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 872 of file avformat.h.
Referenced by write_packet().
int64_t AVStream::pts_wrap_reference |
Internal data to check for wrapping of the time stamp.
Definition at line 877 of file avformat.h.
Referenced by avformat_new_stream(), 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 889 of file avformat.h.
Referenced by avformat_new_stream(), update_initial_timestamps(), update_wrap_reference(), and wrap_timestamp().