In this article
Keep source-observation keys, export membership and event occurrence rules separately.
An analytics job processes overlapping event exports from the same recorder. Repeated frames produce duplicate detections, and a later count treats each exported occurrence as a new physical event.
The media mechanism
Clip-local frame positions identify exported representations, not unique source observations. Observation deduplication and event aggregation require separate identities so repeated exports do not inflate counts or erase genuinely recurring events.
Establish the pipeline boundary
Preserve source observation identity through clip export. Two clip-local frame positions can refer to the same captured image, while visually identical images at different times can be separate observations.
Define event aggregation after observation reconciliation. Removing repeated source frames prevents double counting evidence, but it does not decide whether two adjacent detections belong to one event. That decision needs the application’s temporal and semantic rule.
Export overlapping intervals and then a later recurrence of the same scene. Verify that duplicated observations merge without erasing the later event. Keep export identity, observation identity and event identity in distinct fields. Re-encoding can change pixels while preserving the source observation, so a content hash alone cannot supply every required relation. Retain uncertain linkage explicitly when the exporter cannot provide a reliable source mapping.
A constructed failure case
Place the same source frames in overlapping exports, then add a later repeated scene. The report must remove duplicated observations while preserving the later occurrence under the declared event boundary, rather than deduplicate solely by image appearance.
A practical validation procedure
Export overlapping permitted intervals and retain source session and frame linkage. Reconcile duplicate observations before applying the event rule. Include visually identical but temporally separate events to test that content similarity alone does not collapse occurrence identity.
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 source-observation keys, export membership and event occurrence rules separately.
Recovery and limits
Unique frame observations do not by themselves define when a persistent object constitutes a new event.
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; RTP and RTCP protocol specification.
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 Index video keyframes: scene detection versus fixed-rate sampling; Event clips with pre-roll: preserve decodable context before the detection timestamp. 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.