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

FFmpeg internal timebase and timestamp definitions. More...

Macros

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

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:
decoding_encoding.c, and filtering_video.c.

Definition at line 241 of file avutil.h.

Referenced by a64multi_encode_frame(), a64multi_encode_init(), add_file(), add_input_streams(), add_pes_stream(), amr_wb_encode_frame(), aqt_read_header(), asf_read_frame_header(), asf_read_marker(), asf_read_pts(), asf_write_packet(), ass_read_header(), audio_decode_example(), audio_thread(), audio_write_packet(), av_buffersink_get_samples(), av_dump_format(), av_init_packet(), av_interleaved_write_frame(), av_new_program(), av_packet_rescale_ts(), av_read_frame(), av_rescale_delta(), av_ts_make_string(), av_ts_make_time_string(), avcodec_decode_audio4(), avcodec_decode_subtitle2(), avcodec_encode_audio(), avcodec_encode_audio2(), avcodec_get_context_defaults3(), avfilter_config_links(), avfilter_get_video_buffer_ref_from_arrays(), avformat_alloc_context(), avformat_find_stream_info(), avformat_new_stream(), avformat_open_input(), avi_write_packet(), avpriv_new_chapter(), buffer_offset(), check_output_constraints(), common_init(), compand_delay(), compute_chapters_end(), compute_pkt_fields(), compute_pkt_fields2(), concat_read_header(), concat_read_packet(), config_input(), config_output(), configure_input_audio_filter(), configure_input_video_filter(), copy_chapters(), copy_frame(), dash_write_header(), dash_write_packet(), decimate_init(), decklink_input_callback::decklink_input_callback(), decode_audio(), decode_frame(), decode_video(), decoder_decode_frame(), decoder_init(), 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_fetch_timestamp(), ff_filter_frame_framed(), ff_filter_frame_needs_framing(), ff_find_last_ts(), ff_framesync_configure(), ff_gen_search(), ff_init_buffer_info(), ff_mov_write_packet(), ff_mpv_encode_init(), 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(), fill_all_stream_timings(), fill_timing_for_id3_timestamped_stream(), filter(), filter_frame(), filter_slice(), finalize_packet(), find_timestamp_in_playlist(), flac_read_header(), flac_read_timestamp(), flush(), flush_packet(), flv_read_packet(), flv_write_header(), flv_write_packet(), frame_list_next_pts(), framesync_advance(), geq_filter_frame(), get_frame_defaults(), get_pts(), get_subtitle_defaults(), get_ts64(), get_vcd_padding_size(), get_video_frame(), guess_correct_pts(), gxf_header(), gxf_material_tags(), gxf_read_timestamp(), gxf_resync_media(), handle_id3(), has_duration(), hds_write_packet(), hls_read_header(), hls_read_packet(), hls_read_seek(), hls_write_header(), hls_write_packet(), http_prepare_data(), init(), init_dict(), init_input_stream(), init_options(), init_pts(), insert_trim(), intercept_id3(), 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(), mkv_write_packet_internal(), mov_read_chapters(), mov_read_chpl(), mov_read_packet(), mov_read_tfhd(), mov_read_trex(), mov_read_trun(), mov_write_dvc1_structs(), mov_write_header(), mov_write_trak_tag(), movie_common_init(), 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_push_data(), mpegts_write_header(), mpegts_write_packet_internal(), mpegts_write_pes(), mxf_compute_ptses_fake_index(), mxf_metadataset_init(), mxf_parse_structural_metadata(), mxg_read_header(), new_output_stream(), new_playlist(), nut_read_timestamp(), nut_write_packet(), nuv_read_dts(), nvenc_encode_init(), 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_input_stream(), open_next_file(), open_output_file(), opus_packet(), output_frame(), output_packet(), parse_chunks(), parse_file(), parse_frame(), parse_packet(), parse_script(), parse_timecode(), pjs_read_header(), pkt_dump_internal(), print_report(), process_input(), process_input_packet(), process_output_surface(), pulse_write_packet(), push_samples(), pva_read_timestamp(), read_chapter(), read_frame_internal(), read_from_fifo(), read_header(), read_interval_packets(), read_part_of_packet(), read_seek(), read_sl_header(), read_thread(), read_ts(), reap_filters(), recheck_discard_flags(), request_frame(), reset_pes_packet_state(), 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_cmd_interrupt(), rtsp_parse_range_npt(), rtsp_read_play(), rv34_parse(), sap_write_header(), save_subtitle_set(), sbg_read_header(), sbg_read_packet(), seg_write_packet(), select_cur_seq_no(), select_from_pts_buffer(), send_out(), set_frame_distances(), speex_packet(), srt_read_header(), srt_write_packet(), stl_read_header(), subtitle_thread(), subviewer_read_header(), sup_read_packet(), swr_init(), swr_next_pts(), teletext_close_decoder(), teletext_decode_frame(), teletext_init_decoder(), theora_gptopts(), theora_packet(), timestamp_queue_dequeue(), ts_str(), twolame_encode_frame(), update_initial_durations(), update_initial_timestamps(), update_stream_timings(), update_wrap_reference(), video_thread(), decklink_input_callback::VideoInputFrameArrived(), vorbis_encode_frame(), vorbis_packet(), vp8_packet(), 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(), writer_print_time(), writer_print_ts(), xmv_fetch_audio_packet(), and xmv_fetch_video_packet().

#define AV_TIME_BASE   1000000
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}

Internal time base represented as fractional value.

Examples:
filtering_video.c.

Definition at line 253 of file avutil.h.

Referenced by avcodec_decode_subtitle2(), avf_read_packet(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), 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(), copy_chapters(), create_ass_text(), dash_write_packet(), dash_write_trailer(), decode(), decode_audio(), decode_frame(), decode_syncpoint(), decode_video(), display_frame(), do_streamcopy(), do_subtitle_out(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_read_packet(), ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_xiph(), ff_update_link_current_pts(), fill_all_stream_timings(), filter_frame(), find_and_decode_index(), get_subtitle_pkt(), hds_write_packet(), hls_read_packet(), hls_write_packet(), http_prepare_data(), init(), interleave_compare_dts(), ism_write_packet(), lavfi_read_packet(), log_read_interval(), main(), mov_write_single_packet(), nut_write_packet(), ogg_buffer_data(), ogg_compare_granule(), parse_forced_key_frames(), print_report(), process_input(), process_input_packet(), push_frame(), qtkit_read_packet(), 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(), show_format(), show_program(), show_subtitle(), sub2video_update(), teletext_decode_frame(), transcode_init(), try_seek(), update_stream_timings(), wait_frame(), write_manifest(), and write_packet().