FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Timestamp specific

FFmpeg internal timebase and timestamp definitions. More...

Macros

#define AV_NOPTS_VALUE   ((int64_t)UINT64_C(0x8000000000000000))
 Undefined timestamp value. More...
 
#define AV_TIME_BASE   1000000
 Internal time base represented as integer. More...
 
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}
 Internal time base represented as fractional value. More...
 

Detailed Description

FFmpeg internal timebase and timestamp definitions.

Macro Definition Documentation

#define AV_NOPTS_VALUE   ((int64_t)UINT64_C(0x8000000000000000))

Undefined timestamp value.

Usually reported by demuxer that work on containers that do not provide either pts or dts.

Examples:
decode_audio.c, decode_video.c, and filtering_video.c.

Definition at line 248 of file avutil.h.

Referenced by a64multi_encode_frame(), a64multi_encode_init(), activate(), add_file(), add_input_streams(), add_pes_stream(), amf_copy_buffer(), amr_wb_encode_frame(), apng_read_packet(), aqt_read_header(), asf_read_frame_header(), asf_read_marker(), asf_read_pts(), asf_read_timestamp(), asf_write_packet(), ass_read_header(), audio_thread(), audio_write_packet(), av_buffersrc_add_frame_internal(), av_dump_format(), av_init_packet(), av_interleaved_write_frame(), av_new_program(), av_packet_rescale_ts(), av_read_frame(), av_rescale_delta(), av_stream_get_end_pts(), av_ts_make_string(), av_ts_make_time_string(), av_write_trailer(), avcodec_decode_subtitle2(), avcodec_encode_audio2(), avfilter_config_links(), avfilter_link_set_closed(), avformat_alloc_context(), avformat_find_stream_info(), avformat_new_stream(), avformat_open_input(), avformat_write_header(), avi_write_packet_internal(), avpriv_new_chapter(), buffer_offset(), check_output_constraints(), check_pkt(), check_sync_pes(), choose_output(), compand_delay(), compute_chapters_end(), compute_crc_of_packets(), compute_pkt_fields(), concat_read_header(), concat_read_packet(), config_input(), config_output(), config_props(), configure_input_audio_filter(), configure_input_video_filter(), copy_chapters(), copy_frame(), daala_gptopts(), daala_packet(), dash_flush(), dash_init(), dash_write_packet(), decimate_init(), decklink_input_callback::decklink_input_callback(), decode_audio(), decode_frame(), decode_simple_internal(), decode_video(), decoder_decode_frame(), decoder_init(), DEFINE_BLEND8(), demux_audio(), demux_video(), dirac_combine_frame(), display_end_segment(), display_frame(), do_audio_out(), do_blend(), do_streamcopy(), do_subtitle_out(), do_video_out(), draw_text(), dvbsub_init_decoder(), dvbsub_parse(), encode_frame(), encode_superframe(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), event_loop(), expand_timestamps(), fbdev_read_header(), fbdev_read_packet(), ff_add_index_entry(), ff_af_queue_add(), ff_af_queue_remove(), ff_avfilter_link_set_out_status(), ff_fetch_timestamp(), ff_filter_frame_to_filter(), ff_find_last_ts(), ff_framequeue_skip_samples(), ff_framesync_configure(), ff_gen_search(), ff_inlink_evaluate_timeline_at_frame(), ff_inlink_set_status(), ff_interleave_packet_per_dts(), ff_interleaved_peek(), ff_mediacodec_dec_send(), ff_mov_write_packet(), ff_mpv_encode_init(), ff_nvenc_send_frame(), ff_rate_estimate_qscale(), ff_read_frame_flush(), ff_rfps_add_frame(), ff_rfps_calculate(), ff_rm_retrieve_cache(), ff_rtp_check_and_send_back_rr(), ff_rtp_parse_open(), ff_rtsp_setup_output_streams(), ff_samples_to_time_base(), ff_seek_frame_binary(), ff_update_link_current_pts(), ff_voc_get_packet(), ff_write_chained(), ff_yadif_filter_frame(), ffat_create_decoder(), ffat_decode(), ffio_init_context(), ffmal_copy_frame(), ffmmal_add_packet(), fifo_thread_attempt_recovery(), fifo_thread_process_recovery_failure(), fill_all_stream_timings(), fill_timing_for_id3_timestamped_stream(), filter(), filter_frame(), finalize_packet(), find_timestamp_in_playlist(), fir_frame(), flac_read_header(), flac_read_timestamp(), flush(), flush_if_needed(), flush_packet(), flv_read_packet(), flv_write_header(), flv_write_packet(), frame_list_next_pts(), framesync_advance(), framesync_eof(), g722_encode_frame(), geq_filter_frame(), get_event_info(), get_frag_time(), get_frame_defaults(), get_pkt_pts(), get_pts(), get_stream_info_time(), get_subtitle_defaults(), get_ts64(), get_vcd_padding_size(), get_video_frame(), guess_correct_pts(), guess_status_pts(), gxf_header(), gxf_material_tags(), gxf_read_timestamp(), gxf_resync_media(), handle_id3(), has_duration(), hds_write_packet(), hls_init(), hls_read_header(), hls_read_packet(), hls_read_seek(), hls_write_packet(), init(), init_context_defaults(), init_dict(), init_input_stream(), init_options(), init_pts(), insert_trim(), intercept_id3(), io_write_data_type(), ism_write_packet(), libvorbis_encode_frame(), load_input_picture(), lrc_read_header(), lrc_write_packet(), main(), matroska_parse_block(), matroska_parse_rm_audio(), matroska_read_header(), matroska_read_seek(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mkv_write_packet_internal(), mov_build_index(), mov_flush_fragment(), mov_init(), mov_metadata_hmmt(), mov_read_chapters(), mov_read_chpl(), mov_read_sidx(), mov_read_trex(), mov_read_trun(), mov_write_dvc1_structs(), mov_write_prft_tag(), mov_write_single_packet(), mov_write_trailer(), mov_write_trak_tag(), movie_common_init(), movie_push_frame(), MPA_encode_frame(), mpeg4_decode_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegps_read_dts(), mpegps_read_pes_header(), mpegts_get_dts(), mpegts_get_pcr(), mpegts_init(), mpegts_push_data(), mpegts_write_packet_internal(), mpegts_write_pes(), mxf_compute_ptses_fake_index(), mxf_metadataset_init(), mxf_parse_structural_metadata(), mxf_read_seek(), mxg_read_header(), new_output_stream(), new_playlist(), nut_read_timestamp(), nut_write_packet(), nuv_read_dts(), nvenc_set_timestamp(), nvenc_setup_encoder(), ogg_calc_pts(), ogg_get_length(), ogg_gptopts(), ogg_read_timestamp(), ogg_reset(), ogg_write_header(), ogm_chapter(), old_flac_header(), open_file(), open_input_file(), open_next_file(), open_output_file(), opus_packet(), output_frame(), output_packet(), output_ready(), packet_after_outpoint(), parse_chunks(), parse_file(), parse_packet(), parse_playlist(), parse_script(), parse_timecode(), pjs_read_header(), pkt_dump_internal(), prepare_input_packet(), print_report(), process_input(), process_input_packet(), pulse_write_packet(), pva_read_timestamp(), qsvdeint_config_props(), read_chapter(), read_frame_internal(), read_header(), read_interval_packets(), read_part_of_packet(), read_seek(), read_sl_header(), read_tfra(), read_thread(), read_ts(), reap_filters(), recheck_discard_flags(), request_frame(), reset_pes_packet_state(), retransmit_si_info(), return_frame(), rewind_file(), rm_assemble_video_frame(), rm_read_dts(), rm_read_header(), rm_read_packet(), rm_sync(), rtcp_parse_packet(), rtp_mpegts_write_packet(), rtp_write_header(), rtsp_parse_range_npt(), rtsp_read_play(), rv34_parse(), sap_write_header(), save_subtitle_set(), sbg_read_header(), sbg_read_packet(), scc_write_packet(), search_frag_timestamp(), seg_write_packet(), select_cur_seq_no(), select_from_pts_buffer(), set_frame_distances(), speex_packet(), srt_write_packet(), stl_read_header(), subtitle_thread(), subviewer_read_header(), sup_read_packet(), sup_write_packet(), svc_decode_frame(), swr_init(), swr_next_pts(), teletext_close_decoder(), teletext_decode_frame(), teletext_init_decoder(), theora_gptopts(), theora_packet(), timestamp_queue_dequeue(), trace_headers(), try_push_frame(), ts_str(), twolame_encode_frame(), ty_read_header(), update_dts_from_pts(), update_frag_index(), update_initial_durations(), update_initial_timestamps(), update_stream_timings(), update_wrap_reference(), v4l2_set_pts(), video_decode_example(), video_thread(), vorbis_packet(), vp8_packet(), vp9_raw_reorder_filter(), vp9_superframe_split_filter(), vplayer_read_header(), webp_write_trailer(), webvtt_read_header(), wrap_timestamp(), write_frame(), write_hint_packets(), write_index(), write_packet(), write_skip_frames(), write_timestamp(), writeout(), writer_print_time(), writer_print_ts(), xmv_fetch_audio_packet(), and xmv_fetch_video_packet().

#define AV_TIME_BASE   1000000

Internal time base represented as integer.

Definition at line 254 of file avutil.h.

Referenced by amf_parse_object(), av_dump_format(), av_get_time_base_q(), avformat_find_stream_info(), avformat_seek_file(), avi_read_header(), avi_read_packet(), avi_write_header(), check_stream_max_drift(), config_input(), config_output(), config_props(), dash_flush(), dash_read_header(), dash_write_packet(), decode_audio(), decode_syncpoint(), dxa_read_header(), estimate_timings(), event_loop(), expand_timestamps(), ff_framesync_configure(), ff_rtp_check_and_send_back_rr(), filter_frame(), flv_read_packet(), flv_write_packet(), func_pts(), generate_intervals(), get_input_packet(), get_pkt_pts(), handle_file(), hls_init(), hls_read_packet(), hls_read_seek(), hls_write_packet(), init(), init_convert_timestamp(), interleave_compare_dts(), main(), matroska_parse_tracks(), matroska_read_header(), mkv_write_header(), mov_find_next_sample(), mov_flush_fragment(), mov_read_header(), mov_read_mvhd(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegts_init(), mpegts_write_packet_internal(), mpegts_write_pes(), ni_prepare_read(), open_input_file(), open_output_file(), output_packet(), output_segment_list(), parse_options(), parse_playlist(), parse_script(), print_report(), process_input(), process_input_packet(), read_header(), read_header_openmpt(), read_header_vs(), read_seek(), read_seek_openmpt(), read_thread(), reopen_demux_for_component(), request_frame(), rm_read_header(), rtmp_read_seek(), rtsp_read_play(), sbg_read_header(), seek_chapter(), seek_frame_internal(), str_to_time(), subtitle_thread(), transcode_subtitles(), update_stream_timings(), write_manifest(), write_metadata(), and write_time().

#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}

Internal time base represented as fractional value.

Examples:
filtering_video.c.

Definition at line 260 of file avutil.h.

Referenced by activate(), avcodec_decode_subtitle2(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), avi_read_packet(), avi_write_header(), caca_write_header(), check_recording_time(), check_stream_max_drift(), choose_output(), close_output_stream(), compute_chapters_end(), concat_read_packet(), config_input(), config_output(), config_output_props(), config_props(), copy_chapters(), dash_flush(), dash_write_packet(), dash_write_trailer(), decode(), decode_audio(), decode_frame(), decode_syncpoint(), decode_video(), display_frame(), do_streamcopy(), do_subtitle_out(), draw_items(), ff_configure_buffers_for_index(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_interleaved_peek(), ff_mediacodec_dec_send(), ff_read_packet(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_xiph(), ff_update_link_current_pts(), fifo_thread_attempt_recovery(), fill_all_stream_timings(), filter_frame(), find_and_decode_index(), get_subtitle_pkt(), hds_write_packet(), hls_read_packet(), hls_write_packet(), init(), init_output_stream_encode(), interleave_compare_dts(), ism_write_packet(), kmsgrab_read_header(), lavfi_read_packet(), log_read_interval(), main(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mkv_write_packet(), mov_write_prft_tag(), mov_write_single_packet(), movie_common_init(), movie_push_frame(), mpegts_write_packet_internal(), nut_write_packet(), ogg_buffer_data(), ogg_compare_granule(), omx_encode_frame(), packet_after_outpoint(), parse_forced_key_frames(), print_report(), process_input(), process_input_packet(), push_frame(), read_header(), read_interval_packets(), real_seek(), reap_filters(), request_frame(), rtp_parse_one_packet(), rtp_send_ilbc(), rtsp_read_play(), rtsp_read_seek(), save_subtitle_set(), sbg_read_seek2(), seek_chapter(), seg_write_packet(), select_frame(), send_filter_eof(), show_format(), show_program(), show_subtitle(), sub2video_update(), teletext_decode_frame(), try_seek(), update_stream_timings(), wait_frame(), write_manifest(), and write_packet().