01304 827609 info@use-ip.co.uk Find us

Hikvision RTSP Stream URLs

Kieran

Knows a LOT of stuff
Trusted Member
Messages
436
Points
28
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.
 
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
 
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
 
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.)
 
Lower I-frame... disable h.264+/h.265+... use secondary stream (no /101/ in the end of url but /102/)...
 
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.

View attachment 3522


Just been pointed at this thread (no pun intended) :) and wondered if you can point me in the right direction as per this thread?
App for viewing IP cams as small desktop windows?
 
I'm thinking of disabling encryption so I can access video over RTSP. However, I'm not quite clear on the security implications of this. As I understand it, the stream will still be secured by the basic RTSP authentication – i.e. you will still need a username/password to access the RTSP stream. Is this correct? Does disabling encryption leave the system insecure in some way that I've not understood?
 
Need some help with http streaming. I have the DS-7208HUHI-K1 NVR. RTSP streaming works fine.
I have the sub stream set to h264 (only options are thisor h265).
http port is 80 and is open.
I cannot access the stream. I get url not found or 404 errors.
I get a login prompt so I’m sure I’m connecting to the nvr, but cannot get a stream in Chrome browser.
i am using (within my network)

192.168.1.188:80/streaming/channels/102/httpPreview

I don’t know whether the problem is that my sub streams are set to h264 and not MJPEG, but I don’t have this option!
 
I have a Thermal & Optical Bi-Spectrum Network Turret Camera (Model DS-2TD1217-2/PA). What URL do I need to access both camera feeds?

I have tried:
rtsp://192.168.1.64:554/Steaming/Channels/101 ==> was expecting Camera 1 Main Stream
rtsp://192.168.1.64:554/Steaming/Channels/102 ==> was expecting Camera 1 Sub-Stream
rtsp://192.168.1.64:554/Steaming/Channels/201 ==> was expecting Camera 2 Main Stream
rtsp://192.168.1.64:554/Steaming/Channels/202 ==> was expecting Camera 2 Sub-Stream

In each case, it appears I am getting Camera 1 Main Stream.

I also found the following URLs also returned Camera 1 Main Stream:
rtsp://192.168.1.64:554/Steaming/Channels/999 ==> I tried a few different three digit number combinations
rtsp://192.168.1.64:554/Steaming/Channels
rtsp://192.168.1.64:554/Steaming
rtsp://192.168.1.64:554
 
Is there a way to get the image of each cameras individually? I find the stitched image too narrow.
 
Back
Top