FFmpeg 7.1.1
Loading...
Searching...
No Matches
Timestamp specific

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

◆ AV_NOPTS_VALUE

#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_filter_video.c, decode_video.c, and transcode.c.

Definition at line 248 of file avutil.h.

Referenced by av_ts_make_string(), display_frame(), encode_write_frame(), and main().

◆ AV_TIME_BASE

#define AV_TIME_BASE   1000000

Internal time base represented as integer.

Definition at line 254 of file avutil.h.

◆ AV_TIME_BASE_Q

#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}

Internal time base represented as fractional value.

Examples
decode_filter_video.c.

Definition at line 264 of file avutil.h.

Referenced by display_frame().