FFmpeg
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

◆ 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_video.c, and filtering_video.c.

Definition at line 248 of file avutil.h.

◆ 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
filtering_video.c.

Definition at line 260 of file avutil.h.