How do I retrieve a recorded stream through Open Network Bridge?

Hi all. We have been following the guide below trying to retrieve a recorded stream through Open Network Bridge but we didn’t manage to view any stream through VLC.

https://doc.milestonesys.com/2020r3/en-US/standard_features/sf_onvifbridge/onvif_usingonvifclientstovi.htm?tocpath=Third-party%20integrations%7CMilestone%20Open%20Network%20Bridge%7COperation%7C_____1

vlc.exe --rate=-1.0 --start-time=3600 "rtsp://basic:basic@bgws-pvv-04:554/vod/943ffaad-42be-4584-bc2c-c8238ed96373"

The above command is the one that we used with VLC.

While we failed to get the recorded stream, we were able to retrieve the live stream. We are sure that there are recorded videos because we were able to view them through the XProtect client.

Since the VLC solution failed so we tried to write our own program to get the recorded video. We were only able to get a 10 second stream and it will abruptly stop.

If anyone have any idea of what is happening or if anyone can provide the sample code on how to do this, the help is highly appreciated. Thank you very much.

Hi ,

What parameters do you set for rate / start-time?

Please have in mind that start-time is offset from the beginning of the recordings. And negative values for rate means playing backwards.

Also, if you open Messages dialog of vlc , if there are many messages indicating late frames, you may try to go to setting of Open Network Bridge in Management Client and enable repeat frames functionality as reducing its value (100 or less)

KR,

Svetlana

Dear Svetlana,

While I am not sure what parameters did our developers used for rate / start time but the suggestion of enabling repeat frames functionality as reducing its value to (100 or less) enabled us to get longer streams. Your suggestion solved our problem.

Interestingly, we now faced another problem. We noticed that the videos that we’ve recorded in Milestone is not continuous. As the screenshot that I’ve attached. The ones in red is continuous whereas the others are not. Non-continuous recording.Thank you very much for your kind help.

Sincerely,

Wei Jie

Dear Wei Jie Chua,

I guess that the reason for that is that your cameras are set to record only when there is movement.

Kind Regards,

Svetlana

Dear Svetlana,

I get it now.

Thank you very much. You are a life saver.

Sincerely,

Wei Jie