IP address/URL for RTSP stream from Hikvision NVR and cameras

andyriver

n3wb
Dec 30, 2022
1
0
Canada
I am trying to obtain RTSP streams from my Hikvision NVR for the four cameras that are connected to it.

Current setup is as follows:
  • Hikvision (DS-7604NI-E1) NVR has four HikVision cameras plugged into it.
  • The HikVision cameras' IP addresses are in the 192.168.254.xxx range according to the NVR. IP address config for cameras is set to "Plug and Play" instead of "Manual" on the NVR
  • The NVR has an IP address of 192.168.1.x on my internal network (that is then connected to the Internet)

I am trying to access an RTSP stream for the four cameras from my internal network (192.168.1.x). As expected, the 192.168.254.xxx addresses for the IP cameras are not visible from my internal network.

I tried accessing the RTSP stream using the NVR's IP address on the internal network (rtsp:/192.168.1.x:554/ch1/main/av_stream) but without success. Also, unsure where to obtain the RTSP user / password or if one is required.

Any pointers to how to obtain the RTSP stream for the four cameras either directly from the camera or from the NVR would be appreciated.
 
Get the stream from the NVR's LAN subnet. Try these:

RTSP without Authentication
rtsp:/<IP address of device>:<RTSP port>/Streaming/channels/<channel number><stream number>​
NOTE: <stream number> represents main stream (01), or the sub stream (02)​
Example:​
rtsp:/173.200.91.70:554/Streaming/channels/101 – get the main stream of the 1st channel​
rtsp:/173.200.91.70:554/Streaming/channels/102 – get the sub stream of the 1st channel​
RTSP with Authentication
rtsp:/<username>:<password>@<IP address of device>:<RTSP port>/Streaming/channels/<channel number><stream number>​
Example:​
rtsp:/Hikvision:guest@173.200.91.70:554/Streaming/channels/1701 – get the main stream of the 17th channel​
rtsp:/Hikvision:guest@173.200.91.70:554/Streaming/channels/1902 – get the sub stream of the 19th channel​

NOTE: insure to place 2 "/" after "RTSP:", as forum software won't allow 2 to be displayed consecutively.
 
Get the stream from the NVR's LAN subnet. Try these:

RTSP without Authentication
rtsp:/<IP address of device>:<RTSP port>/Streaming/channels/<channel number><stream number>​
NOTE: <stream number> represents main stream (01), or the sub stream (02)​
Example:​
rtsp:/173.200.91.70:554/Streaming/channels/101 – get the main stream of the 1st channel​
rtsp:/173.200.91.70:554/Streaming/channels/102 – get the sub stream of the 1st channel​
RTSP with Authentication
rtsp:/<username>:<password>@<IP address of device>:<RTSP port>/Streaming/channels/<channel number><stream number>​
Example:​
rtsp:/Hikvision:guest@173.200.91.70:554/Streaming/channels/1701 – get the main stream of the 17th channel​
rtsp:/Hikvision:guest@173.200.91.70:554/Streaming/channels/1902 – get the sub stream of the 19th channel​

NOTE: insure to place 2 "/" after "RTSP:", as forum software won't allow 2 to be displayed consecutively.

Is there a way to get the stream for an entire grid of cameras? Your rtsp urls work for each individual camera and I've been trying different combinations to get the entire grid to no avail.

Screenshot 2025-04-17 084459.png
 
Is there a way to get the stream for an entire grid of cameras? Your rtsp urls work for each individual camera and I've been trying different combinations to get the entire grid to no avail.

View attachment 219214
Try this with VLC:

Code:
rtsp:/<user>:<password>@<nvr-ip>:554/Streaming/Channels/001
NOTE: Place 2 "/" after "rtsp:", as forum software won't allow 2 to be displayed consecutively.
 
Try this with VLC:

Code:
rtsp:/<user>:<password>@<nvr-ip>:554/Streaming/Channels/001
NOTE: Place 2 "/" after "rtsp:", as forum software won't allow 2 to be displayed consecutively.

Thanks for the quick response! Unfortunately that didn't work. VLC threw an error immediately saying it's unable to open the MRL.
 
  • Sad
Reactions: TonyR