OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — C++ API referencev12.0

optris::sdk::rec::FrameIndexEntry

One frame's place in a recording.

Public attributes

frame

uint64_t frame = 0

Zero-based position in the file, in container order.

timestamp_us

uint64_t timestamp_us = 0

Presentation time in microseconds, measured from the first frame of the recording rather than from the container's own origin, so the first entry is always 0 and the numbers line up with Player::GetPositionUs().

anchor

bool anchor = false

Whether a decoder can start here.

This is the container's keyframe flag, not a guess from the frame interval. A file whose writer marked its packets differently is described correctly rather than assumed to match ours.