OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

FrameIndexEntry

pub struct FrameIndexEntry

One frame's place in a recording.

FrameIndexEntry — fields

anchor: bool

Whether a decoder can start here.

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

frame: u64

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

timestamp_us: u64

Presentation time in microseconds, measured from the recording's first frame rather than from the container's own origin, so the first entry is always 0 and the numbers line up with crate::Camera::playback_position_us.