Hikvision RTSP URL: complete setup, streaming & troubleshooting guide
How do you get a Hikvision RTSP URL and make sure it actually works?

If you’re connecting an IP camera to VLC, NVR, Home Assistant, Frigate, or OBS, this is the exact step where things either click… or break. The good news? Hikvision follows a very consistent RTSP structure. Once you understand the pattern and where to find the settings, everything becomes predictable.
What does a Hikvision RTSP URL look like?
A standard Hikvision RTSP URL follows this format:
rtsp://username:password@camera_ip:554/Streaming/Channels/NNN
Here’s what each part means:
- username / password → your camera login credentials
- camera_ip → the IP address of your camera or NVR
- 554 → default RTSP port
- NNN → channel + stream identifier
Now the key detail:
- 101 → channel 1, main stream (high quality)
- 102 → channel 1, sub-stream (lower bandwidth)
- 201, 202 → channel 2, etc.
Example (most common case):
rtsp://admin:[email protected]:554/Streaming/Channels/101
If you remember just one thing from this guide, remember this pattern.
How to get RTSP URL from Hikvision (step by step)
Let’s walk through it practically. First, find your camera’s IP address. You can do this via your router, Hikvision SADP tool, or the mobile app.
Next, open your browser and log into the camera:
After logging in, go to:
Configuration → Network → Advanced Settings → RTSP
Check:
- RTSP is enabled
- RTSP port (usually 554)
Then go to:
Configuration → Video/Audio → Stream Settings
Make sure:
- main stream is enabled
- sub-stream is enabled (very useful for remote viewing)
- codec is set (H.264 or H.265 depending on your system)
At this point, you have everything needed to construct the RTSP URL.
What is the RTSP port for Hikvision?
The default RTSP port is: 554. In most setups, you don’t need to change it.
However, if your network setup is more advanced (NAT, port conflicts, remote access), the port may be different. In that case, your URL changes accordingly:
rtsp://admin:[email protected]:8554/Streaming/Channels/101
Always verify the port in camera settings instead of assuming.
How to test RTSP stream in VLC
This is the fastest way to confirm everything works.
Open VLC → Media → Open Network Stream
Paste your RTSP URL, for example:
rtsp://admin:[email protected]:554/Streaming/Channels/101
Click Play.
If video appears - your setup is correct. If not - don’t worry, this is where troubleshooting comes in.
Main stream vs sub-stream - which one should you use?
This choice has a huge impact on performance.
- Main stream (101) gives you full quality, higher bitrate, and better detail.
- Sub-stream (102) is optimized for lower bandwidth and smoother remote access.
So what should you use?
If you’re recording or doing analytics → use main stream.
If you’re viewing remotely or over limited bandwidth → use sub-stream.
In real setups, using sub-stream for preview often dramatically improves stability.
Common RTSP issues and how to fix them
Let’s go through the most typical problems.
No video at all:
- wrong channel number (101 vs 102),
- RTSP disabled in settings,
- incorrect username or password.
Connection timeout:
- camera IP is not reachable,
- RTSP port blocked by firewall,
- missing port forwarding for external access.
Gray image or artifacts:
- encryption enabled (e.g., Hik-Connect),
- test locally on LAN first.
Lag or stuttering:
- switch to sub-stream,
- lower resolution or bitrate,
- check network bandwidth.
In most cases, the issue is not RTSP itself, but one small configuration detail.
Example RTSP URLs for common scenarios
Here are a few ready-to-use examples.
Main stream, camera 1:
rtsp://admin:[email protected]:554/Streaming/Channels/101
Sub-stream, camera 1:
rtsp://admin:[email protected]:554/Streaming/Channels/102
Camera 3 via NVR (sub-stream):
rtsp://admin:[email protected]:554/Streaming/Channels/302
Once you understand the numbering logic, you can scale this easily to any number of cameras.
What you should remember when working with Hikvision RTSP?
Hikvision RTSP setup is actually very straightforward once you know the structure. Remember:
- RTSP URL = credentials + IP + port + /Streaming/Channels/NNN.
- Default port is 554.
- 101 = main stream, 102 = sub-stream.
- always test in VLC first.
If something doesn’t work, it’s usually a small mismatch in IP, port, credentials, or channel number.


