OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

FrameIndexEntry

public readonly record struct FrameIndexEntry : IEquatable<FrameIndexEntry>

One frame's place in a recording.

FrameIndexEntry: constructors

public FrameIndexEntry(ulong Frame, TimeSpan Timestamp, bool IsAnchor)

One frame's place in a recording.

  • Frame: Zero-based position in the file, in container order.
  • Timestamp: Presentation time measured from the recording's first frame rather than from the container's own origin, so the first entry is always zero and the numbers line up with ThermalCamera.PlaybackPosition.
  • IsAnchor: Whether a decoder can start here. This is 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.

FrameIndexEntry: properties

public ulong Frame { get; init; }

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

public bool IsAnchor { get; init; }

Whether a decoder can start here.

This is 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.

public TimeSpan Timestamp { get; init; }

Presentation time measured from the recording's first frame rather than from the container's own origin, so the first entry is always zero and the numbers line up with ThermalCamera.PlaybackPosition.