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

Hikvision RTSP Stream URLs

Kieran

Active Member
Messages
465
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
 
Top