How to Get the Rtsp Url from Ip Cameras

Finding the RTSP URL for your IP camera is essential for streaming video to DVRs, NVRs, or surveillance software. This guide walks you through multiple methods—including using manufacturer apps, ONVIF tools, and web browsers—to help you quickly locate the correct stream address. Whether you’re setting up a home security system or integrating cameras into a larger network, getting the right RTSP URL ensures reliable, high-quality video access.

Quick Answers to Common Questions

Can I use ONVIF to find RTSP URLs for non-ONVIF cameras?

No—ONVIF is a specific protocol. Only cameras that explicitly support ONVIF will respond to ONVIF Device Manager. However, many popular brands (like Hikvision and Dahua) do support it, so checking ONVIF is still worth trying even if the camera isn’t labeled as “ONVIF compliant.”

Why does my RTSP URL require a username and password?

RTSP streams are protected by default on most IP cameras to prevent unauthorized access. Including credentials in the URL (e.g., rtsp://user:pass@ip:port/path) authenticates the connection. Never share these credentials publicly or embed them in unsecured files.

Is RTSP the only way to stream from IP cameras?

No. Other protocols include RTMP, HTTP/MJPEG (less efficient), and proprietary ones like P2P used by Reolink or Amcrest. But RTSP remains the gold standard for low-latency, high-efficiency streaming and wide software support.

Can I access RTSP over the internet?

Yes, but you’ll need to forward port 554 on your router or use a cloud relay service. Direct exposure increases security risks, so consider using a VPN or a dedicated NVR with cloud features instead.

What if my camera has multiple RTSP streams?

Most cameras offer a main (high-res) and sub (low-res) stream. The main stream uses higher bitrates (ideal for recording), while the sub stream saves bandwidth (better for remote viewing). Choose based on your use case.

How to Get the RTSP URL from IP Cameras: A Complete Guide

If you’re setting up a home security system, integrating IP cameras into a business network, or experimenting with DIY surveillance solutions, you’ll likely need to obtain the RTSP URL of your camera. The RTSP (Real-Time Streaming Protocol) URL is a special web address that allows video streaming from your IP camera to other devices—like NVRs, DVRs, or video management systems (VMS). Without the correct RTSP URL, you won’t be able to view live or recorded footage remotely or integrate the camera into advanced monitoring platforms.

This guide will walk you through everything you need to know about finding the RTSP URL for your IP camera. Whether you’re using a Dahua, Hikvision, Amcrest, Reolink, or any other brand, we’ll cover practical methods to discover, verify, and use your camera’s RTSP stream. By the end, you’ll have a clear understanding of how to retrieve this crucial piece of information and ensure smooth video delivery across your network.

What Is an RTSP URL and Why Do You Need It?

An RTSP URL is a standardized internet address used to request video streams from network cameras. Think of it as a “doorway” that lets authorized devices access the camera’s video feed over a local network or the internet. Unlike regular web addresses (HTTP URLs), RTSP URLs are specifically designed for real-time media streaming.

You might ask: Why not just watch the camera through its mobile app? While convenient, apps often use encrypted or proprietary protocols that aren’t accessible to third-party software. That’s where RTSP comes in—it’s an open standard supported by most professional surveillance systems. Once you have the RTSP URL, you can plug your camera into platforms like Blue Iris, SecuritySpy, Synology Surveillance Station, or even custom Python scripts using OpenCV.

In short: The RTSP URL enables interoperability between different devices and software. Without it, you’re limited to the manufacturer’s ecosystem.

Step-by-Step Methods to Find Your IP Camera’s RTSP URL

Method 1: Check the Camera’s Manual or Label

The simplest place to start is the physical documentation that came with your camera. Many manufacturers print example RTSP URLs on the quick-start guide or label. These often follow a predictable pattern:

How to Get the Rtsp Url from Ip Cameras

Visual guide about How to Get the Rtsp Url from Ip Cameras

Image source: static.vecteezy.com

rtsp://[camera-ip]:554/[stream-type]

For example:

  • Main stream: rtsp://192.168.1.100:554/stream1
  • Sub-stream (lower resolution): rtsp://192.168.1.100:554/substream

Common ports include 554 (standard RTSP), 8554 (for multicast), or sometimes 80 or 8080 if RTSP is redirected via HTTP tunneling.

Method 2: Access the Camera’s Web Interface

Most IP cameras come with a built-in web server. To access it:

  1. Connect your computer to the same network as the camera.
  2. Find the camera’s IP address using:
    • Your router’s admin page (under connected devices)
    • A network scanner app (like Fing or Angry IP Scanner)
    • Printed on the camera itself (if labeled)
  3. Type the IP address into your browser’s address bar (e.g., http://192.168.1.100).
  4. Log in using the username and password (often admin/admin or admin/password—check the manual).

Once logged in, navigate to sections like Network > Advanced > Multimedia > RTSP. Here you’ll typically see:

  • Enabled/Disabled status
  • Port number
  • Stream paths (e.g., /live/main, /video/primary)

Combine these details into a full RTSP URL:
rtsp://admin@192.168.1.100:554/live/main

Method 3: Use the Manufacturer’s Mobile App

Apps like Reolink, Amcrest View Pro, Hik-Connect, or Dahua DMSS often provide indirect access to RTSP data. While they don’t always show the raw URL, some allow you to export settings or display technical details.

Try this:

  1. Open the app and connect to your camera.
  2. Go to Device Settings > Advanced > Network > Multimedia.
  3. Look for “RTSP” or “Streaming” settings.
  4. If available, tap “Copy Stream URL” or view the path field.

Note: Some apps encrypt or obfuscate the URL, so copying may not work. In those cases, proceed to the web interface method.

Method 4: Try Common RTSP Path Formats

If all else fails, guess-and-check using known patterns based on your camera brand:

Brand Example RTSP URL Notes
Dahua rtsp://admin@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0 Replace “1” with channel number
Hikvision rtsp://admin@192.168.1.100:554/Streaming/Channels/101 “101” = channel 1 main stream
Amcrest rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0 Similar to Dahua
Reolink rtsp://admin@192.168.1.100:554/h264Preview_01_main Add “_sub” for substream

Test each candidate in VLC Media Player (File > Open Network Stream) to confirm functionality.

Method 5: Use ONVIF Tools to Discover Cameras

ONVIF (Open Network Video Interface Forum) is an industry-wide protocol that enables cross-brand compatibility. If your camera supports ONVIF, you can use free tools to automatically detect its RTSP endpoint.

Steps:

  1. Download ONVIF Device Manager (free from SourceForge or GitHub).
  2. Launch the tool and go to Device Discovery.
  3. Enter your subnet (e.g., 192.168.1.0/24) and scan.
  4. Select your camera from the list.
  5. Click Get Services → Look for Media Service.
  6. Under Media Profile, click Get Stream URI—this returns the RTSP URL directly.

This method works even if you don’t know the camera’s IP address or login credentials (though authentication may be required).

Method 6: Scan the Network with VLC or FFmpeg

VLC Media Player can probe your network for active RTSP streams. This is useful if the camera doesn’t respond to ONVIF or web login.

To use VLC:

  1. Open VLC.
  2. Go to Media > Open Network Stream.
  3. Click Show more options.
  4. In the Network caching field, enter: rtsp://192.168.1.0:554/ (replace with your subnet).
  5. Check Loop and Discover.
  6. If a stream appears, right-click it and select Save Stream As—VLC may reveal the actual path.

Alternatively, use FFmpeg in command line:

ffmpeg -i rtsp://admin@192.168.1.100:554/stream1 -f null -

If the stream plays without errors, the URL is valid.

Troubleshooting Common Issues

Issue: “Connection Refused” When Using RTSP URL

This usually means:

  • The camera’s RTSP service isn’t running.
  • Firewall or router blocking port 554.
  • Incorrect username/password in the URL.
  • The stream path is outdated.

Solution: Verify RTSP is enabled in the camera’s web settings. Temporarily disable firewall/antivirus. Ensure credentials are URL-encoded if they contain special characters (e.g., spaces become %20).

Issue: Stream Works in VLC but Not in My NVR Software

Some software requires additional parameters:

  • Add authentication prefix: rtsp://username:password@ip:port/path
  • Specify transport mode: rtsp://...?transport=tcp (helps with NAT/firewalls)
  • Use lower resolution substream: /h264Preview_01_sub

Issue: Can’t Access Camera Web Interface

If you can’t reach the login page:

  • Confirm the IP address is correct.
  • Try pinging the camera from your PC.
  • Reset the camera to factory defaults (usually via a pinhole button).
  • Update firmware—older versions may have bugs.

Best Practices for Managing RTSP URLs

Once you’ve found your RTSP URL, keep it organized and secure:

  • Document everything: Create a spreadsheet mapping each camera’s IP, model, and RTSP path.
  • Use static IPs: Avoid DHCP conflicts by assigning fixed addresses to critical devices.
  • Change default passwords: Default logins are easily guessed and pose serious security risks.
  • Enable HTTPS/WPA2: Secure both the camera’s web UI and Wi-Fi network.
  • Monitor bandwidth usage: High-resolution streams consume significant data—consider substreams for remote access.

Conclusion

Getting the RTSP URL from your IP camera doesn’t have to be complicated. With a mix of manufacturer-specific knowledge, network tools, and standard protocols like ONVIF, you can reliably extract the streaming address needed for integration into professional surveillance systems. Whether you’re building a smart home dashboard or expanding a corporate security network, mastering RTSP URLs puts powerful control at your fingertips.

Remember: Always test your URL in a media player first, document your findings, and prioritize security. With these steps, you’ll be viewing high-quality, low-latency video from any compatible device—on your local network or across the globe.