• Hi Guest, Please subscribe to our YouTube channel for fresh new videos each week.

Hikvision RTSP Stream URLs

Kieran

Active Member
Messages
462
Points
28
Thread starter #1
We're asked quite frequently what the RTSP URLs are for Hikvision cameras, in order to use a program like VLC to decode the stream directly from the camera, or perhaps to instead embed the stream into a web page.

Many VMS programs require you manually add the RTSP stream from the camera, in which case you'll need to know Hikvision's RTSP format.

Below are the RTSP URLs for some common actions as of the time of posting (Hikvision have changed format couple of times in the past).

_____________________________​

Live View URL

rtsp://<address>:<port>/Streaming/Channels/<id>/
rtsp://<username>:<password>@<address>:<port>/Streaming/Channels/<id>/


Where <address> is the IP address of your camera, <port> is the RTSP port of the camera, and <username> and <password> refer to the login credentials of your camera.

Using the first format, you will be asked to login and verify your credentials before being allowed to view the stream.
Using the second format, you will automatically login when requesting the stream

<id> refers to the channel number and stream type of the camera. For example, an <id> of 101 refers to channel #1 (first digit, 1xx) using the main stream (second and third digits, x01).

Typically, you'll use a program such as VLC Media Player to decode the RTSP stream.

Examples below.

Main Stream
rtsp://192.168.1.100:554/Streaming/Channels/101/
rtsp://admin:examplepass123!@192.168.1.100:554/Streaming/Channels/101/

Sub Stream
rtsp://192.168.1.100:554/Streaming/Channels/102/
rtsp://admin:examplepass123!@192.168.1.100:554/Streaming/Channels/102

_____________________________​

Take a snapshot via HTTP URL

http://<username>:<password>@<address>:<httpport>/Streaming/Channels/1/picture

Where <username> and <password> are the login credentials of the camera in question, and <address> and <httpport> are the IP address of the camera and its HTTP port (default 80).

The above URL will present a snapshot of the camera's current live view. Typically, this is used to embed a regular snapshot based on a time interval on a web page, but there are of course many things you can do with the URL.

For example
http://admin:examplepass999!@192.168.0.150:80/Streaming/Channels/1/picture

_____________________________
This is only a brief look at a couple of commands available to you via RTSP or HTTP URLs. For further reading, I'd strongly recommend you take a look at the Integration and Development Materials section on the Hikvision European download portal which goes into greater detail.
 

billyqureshi

New Member
Messages
7
Points
3
#2
The fix for rtsp failure on hikvision is to disable stream encryption from platform access under network settings. This has to be done directly on the DVR
 

Pointy

New Member
Messages
2
Points
3
#4
I thought I would post here in case anyone else is trying to get a snapshot from the Hikvision DS-7604NI-K1 / 4P(B) NVR.

The URL is slightly different than posted above.

http://<username>:<password>@<address>:<httpport>/ISAPI/Streaming/Channels/<channel>/picture

Use 101 for channel 1, 201 for 2 etc.

So an example for channel 1, might look something like this...


Using this URL and a custom desktop gadget I am able to view my cameras from my desktop.

gadgets.PNG
 

macman

Active Member
Messages
155
Points
28
#5
All my 25fps main stream RTSP feeds open quickly in VLC apart from my DS-KD8003-IME1 video intercom door station camera which can take over 30 seconds to open. Anyone know if this is fixable? (Using a real static IP, very fast connections and a Mac.)
 
Top