What is the Uniview RTSP URL format for an NVR?
Uniview's document How to Get the URLs for Uniview IPC and NVR (version 1.1, dated 26 September 2023) gives the NVR's live-view address as rtsp://, the NVR's address, port 554 and /unicast/c10/s0/live. It explains the two codes: c1 is the first channel and c10 the tenth, and s0 is the main stream while s1 is the sub stream.
With a login in front, which most NVRs ask for, channel 1 becomes rtsp://USER:PASSWORD@HOST:554/unicast/c1/s0/live at full quality and rtsp://USER:PASSWORD@HOST:554/unicast/c1/s1/live for the lighter copy. Those are the addresses the Uniview preset in GoKavach builds.
The channel code has no leading zeros. Camera 3 is c3, not c03, and camera 12 is c12.
What is the Uniview NVR RTSP address for each channel?
Each address below has the NVR's login and address as placeholders:
- c1, NVR channel 1: rtsp://USER:PASSWORD@HOST:554/unicast/c1/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c1/s1/live (s1)
- c2, NVR channel 2: rtsp://USER:PASSWORD@HOST:554/unicast/c2/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c2/s1/live (s1)
- c4, NVR channel 4: rtsp://USER:PASSWORD@HOST:554/unicast/c4/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c4/s1/live (s1)
- c8, NVR channel 8: rtsp://USER:PASSWORD@HOST:554/unicast/c8/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c8/s1/live (s1)
- c10, NVR channel 10: rtsp://USER:PASSWORD@HOST:554/unicast/c10/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c10/s1/live (s1)
- c16, NVR channel 16: rtsp://USER:PASSWORD@HOST:554/unicast/c16/s0/live (s0) · rtsp://USER:PASSWORD@HOST:554/unicast/c16/s1/live (s1)
What is the RTSP URL of a single Uniview IP camera?
A camera reached directly uses the media path, not the unicast one. Uniview's document lists rtsp://camera address:554/media/video1 for the main stream, /media/video2 for the sub stream and /media/video3 for a third stream, and notes that the :554 can be left out. If RTSP authentication is switched on in the camera, the login goes in front: rtsp://username:password@address:port/media/videoX.
Uniview gives separate paths for fisheye, multi-lens and panoramic models, so check the document for those. The generator and GoKavach's Uniview preset build the NVR's unicast form. For a camera on its own, paste the media address as a plain RTSP URL; GoKavach then reads it as video only, without the HD and SD switch or playback.
NVR or camera: which Uniview address should you use?
Use the NVR's address when the cameras are plugged into its PoE ports. They usually sit on a network of their own behind the NVR, and the NVR is the device everyone else can reach. The seventh camera's sub stream on an NVR at 192.168.1.30 is rtsp://admin:PASSWORD@192.168.1.30:554/unicast/c7/s1/live.
Use the camera's own address when it is on the main network with no NVR, or when you want a stream that keeps running while the NVR restarts. Keep in mind the two logins may differ: a camera added to an NVR can have a password the NVR set for it.
How do you test a Uniview RTSP stream in VLC?
Uniview's own camera RTSP document sets out the test. First make sure the computer and the device can reach each other on the network. Then read the device's RTSP port, 554 by default. In VLC, enter the address under Media, Open Network Stream, Network, and click Play; if RTSP authentication is on, enter the username and password when VLC asks.
A picture means the address is right. Check the channel by watching someone walk past the camera you expect, and compare the picture size in VLC's media information with the camera's resolution to tell s0 from s1.
Why is my Uniview RTSP URL not working?
The common reasons, roughly in the order to check them:
- The device can't be reached. Uniview's own first step is to make sure the devices can ping each other. If they can't, no address will work.
- The RTSP port is different. If someone moved it from 554, use the new number after the colon, and forward that port, not 554, when connecting from outside.
- Camera path on an NVR, or NVR path on a camera. /media/video1 on an NVR, or /unicast/ on a standalone camera, gets nothing back. Match the path to the device you call.
- Wrong channel code. c0 doesn't exist; channels start at c1 in the NVR's own order.
- A password with symbols. A colon or @ in the password ends the login early. Unv:Yard@5 has to be written rtsp://admin:Unv%3AYard%405@HOST:554/unicast/c1/s1/live; the RTSP URL generator does it for you.
- RTSP authentication on, but no login given. Put the username and password in the address, or enter them when the player asks.
How much upload does each Uniview stream add?
It follows the bitrate set for that stream on the NVR, so s1 and s0 differ a great deal. As a worked estimate using typical starting settings, not measurements, 8 channels on s1 at 0.5 Mbps each need 4 Mbps of upload. The same 8 channels on s0 at 3 Mbps (4 MP, H.265) need 24 Mbps, which many broadband lines can't send.
Read the real bitrates from the NVR's stream settings for each channel and put them into the CCTV bandwidth calculator to see what your line has to carry before you open several remote streams at once.
How does GoKavach use the Uniview RTSP URL?
Choose Uniview in GoKavach, enter the NVR's address, port, login and channel, and it builds the sub stream address. Live view can switch to s0 for detail, and the NVR's own recordings can be played back over RTSP. The same Uniview document gives a replay address, with the channel and begin and end times in Unix time, for anyone building their own player.
The Uniview camera page covers alerts and what else works on these NVRs. For the other common formats, see the Hikvision RTSP URL and CP Plus RTSP URL guides.