ClipResult
public sealed record ClipResult : IEquatable<ClipResult>
What came out of a cut.
ClipResult: constructors
public ClipResult(string Path, TimeSpan From, TimeSpan To, ulong Frames, ulong FileBytes, uint SegmentCount, TimeSpan SnappedBy, bool IsIncomplete)
What came out of a cut.
Path: The file written.From: Where the clip actually starts, on the camera clock. Clamped to what the history still holds.To: Where it actually ends.Frames: Frames of the measurement in it.FileBytes: The clip file's size on disk.SegmentCount: How many segments it was cut from.SnappedBy: How much earlier than requested the clip starts, because the first frame in range was not a seek anchor. Zero for an all-intra history, which is the default; that is whatContinuousOptions.AllIntrabuys. Non-zero means the clip holds up to eleven extra frames at the front rather than being silently wrong about where it starts.IsIncomplete: Whether the requested window was not fully covered: the history had been pruned past the in point, or the out point is past the newest frame. Not an error. A clip of what exists is almost always what was wanted, and refusing would lose the footage that is there. But "the clip is short" and "the clip is wrong" want different responses, so it is reported.
ClipResult: properties
public ulong FileBytes { get; init; }
The clip file's size on disk.
public ulong Frames { get; init; }
Frames of the measurement in it.
public TimeSpan From { get; init; }
Where the clip actually starts, on the camera clock. Clamped to what the history still holds.
public bool IsIncomplete { get; init; }
Whether the requested window was not fully covered: the history had been pruned past the in point, or the out point is past the newest frame.
Not an error. A clip of what exists is almost always what was wanted, and refusing would lose the footage that is there. But "the clip is short" and "the clip is wrong" want different responses, so it is reported.
public string Path { get; init; }
The file written.
public uint SegmentCount { get; init; }
How many segments it was cut from.
public TimeSpan SnappedBy { get; init; }
How much earlier than requested the clip starts, because the first frame in range was not a seek anchor. Zero for an all-intra history, which is the default; that is what ContinuousOptions.AllIntra buys. Non-zero means the clip holds up to eleven extra frames at the front rather than being silently wrong about where it starts.
public TimeSpan To { get; init; }
Where it actually ends.