optris::sdk::rec::TimelineSpan
One segment of the history, as the catalog knows it.
What the times mean: What the times mean Microseconds on the camera's own clock -- FrameMetadata:: timestamp_us, which is what per-frame telemetry carries and what Player::GetPositionUs()` is measured against. That is the domain ExtractClip() takes its in and out points in.
unix_us is beside it so a user interface can put a wall-clock label on a span without the two clocks having to be the same thing. It is sampled from the host when the segment's first frame is written, so it drifts against the camera clock over a long run by however much the two disagree; it is a label, not a seek key.
Public attributes
path
std::string path
Absolute path of the segment file.
from_us
uint64_t from_us = 0
Capture time of its first frame.
to_us
uint64_t to_us = 0
Capture time of its last frame.
unix_us
uint64_t unix_us = 0
Host wall clock when its first frame was written, as microseconds since the Unix epoch. Zero for a segment adopted from an earlier run whose catalog entry did not survive.
frames
uint64_t frames = 0
Frames in it, counted from the container.
segment_bytes
uint64_t segment_bytes = 0
Size of the segment file on disk.
Spelled out rather than bytes so that it cannot be confused with PreRollState::bytes, which is a quantity of memory.
all_intra
bool all_intra = false
Whether every frame in it is a seek anchor, so a cut inside it needs no snapping back. See StreamConfig::all_intra.
Read from the container's keyframe flags rather than from the setting that was in force, so a history that spans a settings change describes each of its segments correctly.