Onvif NVR
Re: Onvif NVR
It looks like you may be able to find and download your media files using
https://support.amcrest.com/hc/en-us/ar ... TP-API-SDK
https://support.amcrest.com/hc/en-us/ar ... TP-API-SDK
Re: Onvif NVR
Thanks!! The rtsp startime and endtime for playback works great, but is there a way to do it through ONVIF?
Re: Onvif NVR
I think you may find the answer in section 6.5 and 6.5.1 of
https://www.onvif.org/specs/stream/ONVI ... g-Spec.pdf
Also see
https://www.onvif.org/specs/srv/replay/ ... e-Spec.pdf
https://www.onvif.org/specs/stream/ONVI ... g-Spec.pdf
Also see
https://www.onvif.org/specs/srv/replay/ ... e-Spec.pdf
Re: Onvif NVR
With the replay streaming spec for Amcrest NVR of 8 channels, I got replay url in the form of rtsp://<ip>:<port>/cam/playback?token=RecordMediaProfile00000 (the token changes per channel) which is not same as the one provided in SDK PDF
VLC can play the replay url from the beginning of recorded time but starttime with the replay uri doesn't work.
VLC can play the RTSP playback url provided in the sdk from a specific timeframe.
I'm wondering why this difference is and how can I work with both the protocols
VLC can play the replay url from the beginning of recorded time but starttime with the replay uri doesn't work.
VLC can play the RTSP playback url provided in the sdk from a specific timeframe.
I'm wondering why this difference is and how can I work with both the protocols
Re: Onvif NVR
I tried setting the rtsp headers as specified in onvif streaming spec https://www.onvif.org/specs/stream/ONVI ... g-Spec.pdf
valid response is returned only for the first day of recording, there's 500 internal server error for any range other than first day.
PLAY rtsp://192.168.4.23:554/cam/playback?token=RecordMediaProfile00000&proto=Onvif RTSP/1.0
Session: 349325624753
Require: onvif-replay
Range: clock=20220904T130101.100Z-
RTSP/1.0 200 OK
CSeq: 6
Session: 349325624753
Range: clock=20220904T130101Z-20220904T234334Z
RTP-Info: url=trackID=0;seq=52007;rtptime=52007,url=trackID=1;seq=52007;rtptime=52007
PLAY rtsp://192.168.4.23:554/cam/playback?token=RecordMediaProfile00000&proto=Onvif RTSP/1.0
Session: 349325624753
Require: onvif-replay
Range: clock=20220906T130101.100Z-
RTSP/1.0 500 Internal Server Error
CSeq: 7
Session: 349325624753
valid response is returned only for the first day of recording, there's 500 internal server error for any range other than first day.
PLAY rtsp://192.168.4.23:554/cam/playback?token=RecordMediaProfile00000&proto=Onvif RTSP/1.0
Session: 349325624753
Require: onvif-replay
Range: clock=20220904T130101.100Z-
RTSP/1.0 200 OK
CSeq: 6
Session: 349325624753
Range: clock=20220904T130101Z-20220904T234334Z
RTP-Info: url=trackID=0;seq=52007;rtptime=52007,url=trackID=1;seq=52007;rtptime=52007
PLAY rtsp://192.168.4.23:554/cam/playback?token=RecordMediaProfile00000&proto=Onvif RTSP/1.0
Session: 349325624753
Require: onvif-replay
Range: clock=20220906T130101.100Z-
RTSP/1.0 500 Internal Server Error
CSeq: 7
Session: 349325624753
-
- Posts: 14
- Joined: Mon Apr 05, 2021 12:44 pm
Re: Onvif NVR
@jackelzel
Did you ever figure this out?
Did you ever figure this out?