Inquiry Regarding RTSP Stream Retrieval of Recorded Video from XProtect

Hi,

In my project, we are attempting to retrieve video stored in XProtect using the ONVIF Bridge and analyze it with a custom application.

Our custom application is designed to retrieve recorded video from XProtect at arbitrary times via RTSP.

For verification purposes, we attempted to retrieve and save recorded video from the RTSP stream, but we were unable to obtain video from arbitrary times.

Instead, we only received video from the start time of the recording.

We referred to the following forum for specifying recorded video and added the Range header: https://developer.milestonesys.com/s/question/0D73X000007XR80SAG/detail?s1oid=00D200000008Uid&s1nid=0DB0O000000Kzmh&emkind=chatterCommentNotification&s1uid=0050O0000071vmN&emtm=1579636403783&fromEmail=1&s1ext=0

Specifically, we used ffmpeg with the following command line to receive the RTSP stream and save it to a file:

```

ffmpeg -rtsp_transport tcp -i rtsp://:@localhost:554/vod/1bd53ef3-dee8-45e9-99d6-30c771fb4f18 -headers “Range: clock=20250404T040000Z” -c copy video.mp4

```

Could you please advise if there are any additional headers or items that should be added, or provide any hints to resolve this issue?

Thank you for your assistance.

Kind regards

Hi,

Can you please try to add dash at the end. If not please provide a wireshark trace on the commands send?

Thank you!

Thank you for your response. I’ll give it a try.