FFmpeg 5.1.4
Data Fields
AVIndexEntry Struct Reference

#include <libavformat/avformat.h>

Data Fields

int64_t pos
 
int64_t timestamp
 Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available when seeking to this entry. More...
 
int flags:2
 
int size:30
 
int min_distance
 Minimum distance between this and the previous keyframe, used to avoid unneeded searching. More...
 

Detailed Description

Definition at line 807 of file avformat.h.

Field Documentation

◆ pos

int64_t AVIndexEntry::pos

Definition at line 808 of file avformat.h.

◆ timestamp

int64_t AVIndexEntry::timestamp

Timestamp in AVStream.time_base units, preferably the time from which on correctly decoded frames are available when seeking to this entry.

That means preferable PTS on keyframe based formats. But demuxers can choose to store a different timestamp, if it is more convenient for the implementation or nothing better is known

Definition at line 809 of file avformat.h.

◆ flags

int AVIndexEntry::flags

Definition at line 817 of file avformat.h.

◆ size

int AVIndexEntry::size

Definition at line 818 of file avformat.h.

◆ min_distance

int AVIndexEntry::min_distance

Minimum distance between this and the previous keyframe, used to avoid unneeded searching.

Definition at line 819 of file avformat.h.


The documentation for this struct was generated from the following file: