CamioCam / rtsp

RTSP Url paths for cameras and NVRs
Apache License 2.0
48 stars 21 forks source link

add command to play recorded video from Hikvision NVR #181

Open jcmaslan opened 6 years ago

jcmaslan commented 6 years ago

Add playback command in config for hikvision nvr:

maker: Hikvision

command_id: play_channel_stream:

url: rtsp://{{username}}:{{password}}@{{ip_address}}:{{port}}/Streaming/tracks/{{channel}}{{stream}}?starttime={{year}}{{month}}{{day}}T{{hour}}{{minute}}{{second}}z&endtime={{year}}{{month}}{{day}}T{{hour}}{{minute}}{{second}}z

default port: 10554

channels: 1;2;3;4;5;6;7;8

streams: 01;02

example: rtsp://admin:admin123@192.168.1.131:10554/Streaming/tracks/101?starttime=20180730T092030z&endtime=20180730T092553z

poojabhasin commented 4 years ago

I tried with the same rtsp url by appending the start time and end time and the stream starts with the passed start time but not stopping at the end time.

5AF1 commented 1 year ago

Is there any official documentation for this type of links? Like how or from where did we come to know that somthing like "rtsp://admin:admin123@192.168.1.131:10554/Streaming/tracks/101?starttime=20180730T092030z&endtime=20180730T092553z" is suppose to work to view recorded data from HikVision NVR. Many many TIA.

jcmaslan commented 1 year ago

We plan to support ONVIF Profile G https://www.onvif.org/profiles/profile-g/ with commands like: https://www.onvif.org/ver10/search.wsdl https://www.onvif.org/ver10/replay.wsdl

However, the ONVIF Streaming Specification enables start and end times: https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec.pdf