In this article
Keep requested interval, actual decodable interval and source-frame linkage for the exported clip.
A service exports a clip beginning exactly at the first positive detection. The event starts inside a compressed prediction group, so the clip either loses early context or cannot decode independently.
The media mechanism
A detection timestamp, requested pre-roll interval and independently decodable segment start are different boundaries. Keyframe and closed-GOP requirements can make physical clip boundaries differ from a requested time cut.
Establish the pipeline boundary
Distinguish the requested time interval from the file’s actual independently decodable coverage. Segment boundaries follow the selected muxing and codec constraints; a filename timestamp is not a decoding proof.
Under the splitmuxsink contract, keyframe boundaries and closed GOPs matter for independent pieces. A minimum GOP can also make a segment exceed a requested size or time threshold. Pin the encoder and mux settings used by the fixture.
Reopen the exported clip in a fresh decoder without inherited live-stream state. Compare the first usable image, event onset and requested pre-roll using the media timeline. If exact trimming requires decoding and re-encoding, evaluate that as a different operation with its own cost and image-fidelity evidence. Do not claim exact coverage merely because export returned success.
A constructed failure case
Put the event just after a segment boundary and request earlier context. The independently reopened clip must expose its actual coverage instead of claiming exact requested timing from file naming or export success alone.
A practical validation procedure
Use an event whose onset falls between segment boundaries. Preserve enough permitted source context, export through the documented muxing path and reopen the clip independently. Compare actual first decodable frame, event onset and requested pre-roll.
Keep an unchanged control and a deliberate failure case. Change the relevant setting or interruption independently, then compare observed frame identities and state transitions. Measure through recovery as well as the first error; a restarted worker can retain obsolete results or references.
Evidence for acceptance
Keep requested interval, actual decodable interval and source-frame linkage for the exported clip.
Recovery and limits
A playable clip can still omit the task-relevant event onset or audio needed for interpretation.
Define whether recovery drains, discards or isolates pending frames before resuming ordinary service. Preserve compact diagnostic identities and the fixture configuration. Avoid treating a new connection or a live process as proof that previous in-flight work has finished safely.
References and interpretation
Primary references: GStreamer segmented recording; H264 RTP packetization contract.
This is a proposed operational validation, not an executed Retrivium benchmark. Documentation defines interfaces and supported behavior; the actual pipeline needs its own evidence. Repeat the check after relevant plugin, decoder, source or preprocessing changes.
Related reading
Continue with Kinetics: track video availability and clip identity; Rolling video retention during export: keep selected segments alive until the clip is accepted. Their adjacent context does not replace the specific frame-flow acceptance check described here.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.