Skip to content

Support listing and exporting of recorded segments#432

Merged
ocampana-videotec merged 56 commits into
developmentfrom
video/segment-based-playback
Jun 4, 2026
Merged

Support listing and exporting of recorded segments#432
ocampana-videotec merged 56 commits into
developmentfrom
video/segment-based-playback

Conversation

@jflevesque-genetec

Copy link
Copy Markdown
Contributor

Add new APIs in the Search and Recording specification to be able to list and export recorded segments towards a cloud storage.

Comment thread doc/RecordingControl.xml Outdated
@jflevesque-genetec

This comment was marked as outdated.

@jflevesque-genetec jflevesque-genetec marked this pull request as ready for review July 16, 2024 19:07
HansBusch

This comment was marked as resolved.

Comment thread wsdl/ver10/schema/onvif.xsd
Comment thread wsdl/ver10/recording.wsdl Outdated
Comment thread wsdl/ver10/schema/onvif.xsd Outdated
Comment thread doc/RecordingControl.xml Outdated
Comment thread doc/RecordingControl.xml Outdated
Comment thread doc/RecordingControl.xml Outdated
Comment thread wsdl/ver10/schema/onvif.xsd Outdated
@kieran242

This comment was marked as resolved.

Comment thread wsdl/ver10/recording.wsdl Outdated
Comment thread doc/RecordingControl.xml Outdated
Comment thread doc/RecordingControl.xml Outdated
Comment thread doc/RecordingControl.xml
Comment thread doc/RecordingControl.xml
The figure <xref linkend="_refSegmentExportStabilityExample" /> illustrates how a global real time clock timestamp (that doesn't reset on device reboot
or resync on NTP) could be segmented in time ranges for the target segment duration with a modulus operation. Then each boundary of these ranges are
adjusted to match the time of the next keyframe. The result is the list of segment boundaries that overlap with the original time range of the query.
Care should be taken not to return the most recent segment if it is incomplete (when more frames may be appended to it later, i.e.: it overlaps with the current time).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jflevesque-genetec ,
Would be nice to clarify, the first segment case also. Even for the first segment, is it expected to find the next following Key Frame ? In this case there is a chance that some short initial duration might be missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added The results shall include segments that cover the requested time range entirely, even if they start before or end after the requested time range.

Comment thread wsdl/ver10/schema/onvif.xsd
@ocampana-videotec

Copy link
Copy Markdown
Collaborator

Rescheduling for 26.06 , since @jmelancongen confirmed that prototyping cannot be done in time for 25.12

@ocampana-videotec

Copy link
Copy Markdown
Collaborator

@HansBusch @sujithhanwha @venki5685 @melanconj we are ready to merge this PR. Could you please review and approve/reject?

@melanconj Since JF is no longer active in ONVIF, who can rebase this PR within Genetec?

@melanconj

Copy link
Copy Markdown
Contributor

I'll do it this afternoon

@ocampana-videotec ocampana-videotec merged commit 3a581f5 into development Jun 4, 2026
2 checks passed
@ocampana-videotec ocampana-videotec deleted the video/segment-based-playback branch June 4, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants