How to Export Recorded Data from an ONVIF Camera to my computer #127
-
I've tried getting the rtsp link back in time range but maybe onvif doesn't support that. So now I want to export camera recording onvif but ExportRecordedData api probably doesn't support doing that either. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
There are two ways to get recorded data from an ONVIF device - Replaying the recording using RTSP and using ExportRecordedData.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for responding, that's quite helpful to me. |
Beta Was this translation helpful? Give feedback.
-
To play from a specific time you need to use the RTSP header field "range" for the PLAY command. See section 6.5.1 of https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf The SupportedExportFileFormats capability can be checked through the GetServiceCapabilities on the Recording Service (https://www.onvif.org/ver10/recording.wsdl) |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. I will try your solution and give the result back later. |
Beta Was this translation helpful? Give feedback.
To play from a specific time you need to use the RTSP header field "range" for the PLAY command. See section 6.5.1 of https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf
and
https://datatracker.ietf.org/doc/html/rfc2326#section-12.29
The SupportedExportFileFormats capability can be checked through the GetServiceCapabilities on the Recording Service (https://www.onvif.org/ver10/recording.wsdl)