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

Definition at line 223 of file avutil.h.

Referenced by a64multi_encode_frame(), a64multi_init_encoder(), 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_decode_frame(), av_buffersink_get_samples(), av_dump_format(), av_init_packet(), av_interleaved_write_frame(), av_mpeg4_decode_header(), av_new_program(), av_read_frame(), av_rescale_delta(), av_ts_make_string(), av_ts_make_time_string(), avcodec_decode_audio4(), avcodec_decode_subtitle2(), avcodec_encode_audio2(), avcodec_get_context_defaults3(), avcodec_get_frame_defaults(), avcodec_get_subtitle_defaults(), avfilter_config_links(), avformat_find_stream_info(), avformat_new_stream(), avformat_open_input(), avi_write_packet(), buffer_offset(), compute_chapters_end(), compute_pkt_fields(), compute_pkt_fields2(), concat_read_header(), concat_read_packet(), config_input(), config_output(), copy_frame(), decode_audio(), decode_frame(), decode_video(), decode_vop_header(), dirac_combine_frame(), display_end_segment(), display_frame(), do_audio_out(), do_blend(), do_streamcopy(), do_subtitle_out(), do_video_out(), draw_text(), 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_find_last_ts(), ff_gen_search(), ff_gen_syncpoint_search(), ff_init_buffer_info(), ff_mov_write_packet(), ff_MPV_encode_init(), ff_rate_estimate_qscale(), ff_read_frame_flush(), ff_rm_retrieve_cache(), ff_rtp_check_and_send_back_rr(), ff_rtp_parse_open(), ff_samples_to_time_base(), ff_seek_frame_binary(), ff_store_parser_state(), ff_update_link_current_pts(), ff_write_chained(), fill_all_stream_timings(), filter_frame(), filter_slice(), finalize_packet(), flac_read_header(), flush_encoders(), flush_packet(), flv_read_packet(), flv_write_header(), flv_write_packet(), frame_list_next_pts(), geq_filter_frame(), get_frame_defaults(), get_pts(), get_ts64(), get_vcd_padding_size(), get_video_frame(), guess_correct_pts(), gxf_header(), gxf_material_tags(), gxf_read_timestamp(), gxf_resync_media(), has_duration(), 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_pts(), ism_write_packet(), load_input_picture(), main(), matroska_parse_block(), matroska_parse_frame(), matroska_parse_rm_audio(), matroska_read_header(), matroska_read_seek(), mkv_write_packet_internal(), mov_read_chpl(), mov_read_packet(), mov_read_trex(), mov_write_dvc1_structs(), mov_write_header(), movie_common_init(), MPA_encode_frame(), 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_parse_structural_metadata(), mxg_read_header(), new_output_stream(), new_pes_packet(), nut_read_timestamp(), nut_write_packet(), nuv_read_dts(), ogg_calc_pts(), ogg_get_length(), ogg_gptopts(), ogg_read_timestamp(), ogg_reset(), ogg_write_header(), ogm_chapter(), open_file(), open_input_file(), open_input_stream(), open_next_file(), opus_packet(), output_frame(), output_packet(), parse_chunks(), parse_file(), parse_packet(), parse_script(), parse_timecode(), pjs_read_header(), pkt_dump_internal(), print_report(), process_input(), pulse_read_header(), pulse_read_packet(), push_samples(), pva_read_timestamp(), read_chapter(), read_frame_internal(), read_header(), read_part_of_packet(), read_seek(), read_sl_header(), read_thread(), read_ts(), reap_filters(), request_frame(), return_frame(), rewind_file(), rm_assemble_video_frame(), rm_read_dts(), rm_read_header(), rm_read_packet(), rtcp_parse_packet(), rtsp_cmd_pause(), rtsp_parse_range_npt(), rtsp_read_play(), rv34_parse(), sbg_read_header(), sbg_read_packet(), search_hi_lo_keyframes(), seg_write_packet(), send_out(), set_frame_distances(), speex_packet(), srt_read_header(), srt_write_packet(), subtitle_thread(), subviewer_read_header(), swr_init(), swr_next_pts(), sync(), theora_gptopts(), theora_packet(), ts_str(), twolame_encode_frame(), update_initial_durations(), update_initial_timestamps(), update_stream_timings(), update_wrap_reference(), video_refresh(), video_thread(), vorbis_encode_frame(), vorbis_packet(), vplayer_read_header(), webvtt_read_header(), wrap_timestamp(), write_frame(), write_hint_packets(), write_index(), write_packet(), 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}