How to Find Rtsp Url of a Onvif Ip Camera

Finding the RTSP URL of an ONVIF IP camera is essential for integrating your surveillance system with video management software or media players. This guide walks you through simple steps using ONVIF Device Manager, manufacturer apps, or command-line tools, ensuring you can access live video streams efficiently. Whether you’re setting up a home security system or a commercial network, we cover everything from basic discovery to advanced configurations.

Quick Answers to Common Questions

Tip/Question?

Answer: Most ONVIF cameras use port 554 for RTSP. If your stream doesn’t work, try changing the port in the URL or checking the camera’s network settings.

Tip/Question?

Answer: Default usernames are often “admin” with no password or “admin/password”. Check the camera label or manual if login fails.

Tip/Question?

Answer: ONVIF Device Manager only works on Windows. For macOS or Linux, consider using VLC’s network stream feature or third-party ONVIF tools.

Tip/Question?

Answer: Always test your RTSP URL in VLC first. Open VLC > Media > Open Network Stream > paste URL > click Play. Success confirms the URL is correct.

Tip/Question?

Answer: Some cameras offer multiple streams: main (high quality) and sub (low bandwidth). Use the sub-stream for remote viewing to save data.

How to Find RTSP URL of an ONVIF IP Camera: Complete Step-by-Step Guide

Are you trying to connect your ONVIF-compliant IP camera to a video management system (VMS), NVR, or media player like VLC? If so, you’ll need the RTSP URL — a special web address that allows real-time video streaming from your camera. But finding this URL isn’t always obvious, especially if you’re new to IP cameras.

This comprehensive guide will walk you through multiple reliable methods to discover and retrieve the RTSP URL of any ONVIF IP camera. We’ll cover free tools, built-in camera features, command-line techniques, and troubleshooting tips — all explained in simple, easy-to-follow language. By the end, you’ll know exactly how to get your camera streaming, whether it’s a Dahua, Hikvision, Axis, or generic ONVIF device.

What Is an RTSP URL?

RTSP stands for Real-Time Streaming Protocol. It’s a network protocol used to control multimedia streams over IP networks. Think of it as a remote control for video — telling the camera to start or stop sending video data.

How to Find Rtsp Url of a Onvif Ip Camera

Visual guide about How to Find Rtsp Url of a Onvif Ip Camera

Image source: auctions.c.yimg.jp

The RTSP URL is a web address that points directly to the video stream on your camera. It typically looks like this:

rtsp://username:password@camera-ip-address:port/stream_path

For example:

rtsp://admin:12345@192.168.1.100:554/live/ch00_0

This URL includes:
Protocol: rtsp://
Authentication: username and password
IP Address: The local network address of your camera
Port: Usually 554 (default for RTSP)
Stream Path: The specific route to the video feed

Without this URL, most video software can’t connect to your camera. That’s why knowing how to find it is crucial.

Why Use ONVIF Cameras?

ONVIF (Open Network Video Interface Forum) is a global standards organization that ensures IP cameras from different manufacturers work together. If your camera supports ONVIF, it means it follows open protocols for configuration, streaming, and communication.

Benefits of ONVIF compliance include:
Interoperability: Works with multiple VMS platforms
Standardized Discovery: Tools like ONVIF Device Manager can auto-detect cameras
Consistent Features: Basic PTZ controls, motion detection, and event handling across brands
Future-Proofing: Newer ONVIF profiles support better encryption and higher resolution

Most modern IP cameras — including popular brands like Hikvision, Dahua, and Axis — support ONVIF. However, some older models or budget devices may only offer proprietary protocols, so always check your camera’s specifications.

Method 1: Use ONVIF Device Manager (Recommended)

The easiest way to find an RTSP URL is using ONVIF Device Manager, a free Microsoft Windows application designed specifically for this purpose.

Step 1: Download and Install ONVIF Device Manager

Visit the official source (e.g., onvif.org) or trusted software repositories to download ODM. Make sure you get the latest version compatible with your Windows OS (Windows 10/11 recommended).

Install the program like any other Windows app. No admin privileges are usually required.

Step 2: Launch the Program and Start Scanning

Open ONVIF Device Manager. On first launch, it may ask for permissions — allow it to access your network.

Click the “Scan” button (usually at the top). The tool will search your local network for ONVIF-compliant devices.

Step 3: Locate Your Camera in the List

After scanning (takes 30–60 seconds), you’ll see a list of discovered devices. Look for your camera by:
– Model name
– IP address
– Manufacturer (e.g., Hikvision, Dahua)

Step 4: Connect to the Camera

Double-click your camera entry. A login window will appear. Enter the default credentials (often admin/admin or admin/password). If unsure, check the camera’s label or manual.

Step 5: Navigate to Media Services

Once connected, expand the camera node and look for “Media” or “MediaProfile”.

Step 6: Copy the RTSP URL

Under Media, you’ll see options like “GetStreamUri”. Click it. The tool will return a list of available streams — typically one for main video and another for sub-stream (lower quality).

Copy the URI field. It will look something like:

rtsp://192.168.1.100:554/stream1

That’s your RTSP URL! You can now paste it into VLC, Blue Iris, or any VMS.

Method 2: Check the Camera’s Web Interface

If you can access your camera via a web browser, you might already see the RTSP URL listed in its settings.

Step 1: Access the Camera’s Web Page

Type the camera’s IP address into your browser (e.g., http://192.168.1.100). Log in with your credentials.

Step 2: Go to Network or Streaming Settings

Look for tabs like:
Network > Advanced > RTSP
Configuration > Streaming
Setup > Video > Stream

Different brands organize menus differently. For example:
Hikvision: Configuration > Network > Advanced > RTSP
Dahua: Setup > Configuration > Network > Multicast / RTSP

Step 3: Enable RTSP and Note the URL

Ensure RTSP is enabled. Some cameras show the full RTSP URL right there. Others only show the stream path — combine it with the IP and port manually.

Example: If the path is /cam/realmonitor?channel=1&subtype=0, your full URL becomes:

rtsp://admin:12345@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0

Method 3: Use Command-Line Tools (Advanced)

For tech-savvy users, command-line tools offer powerful discovery and testing capabilities.

Using nmap to Scan for ONVIF Devices

nmap is a network scanner that can detect ONVIF services.

Install nmap from nmap.org. Then run:

nmap -p 80,443,554 --script onvif-info 192.168.1.0/24

This scans your subnet for devices offering ONVIF services. Look for entries showing “ONVIF Device Manager” or similar.

Using ffprobe to Test RTSP Stream

ffprobe (part of FFmpeg) lets you inspect media streams.

First, try accessing the RTSP URL directly:

ffprobe rtsp://admin:12345@192.168.1.100:554/stream1

If successful, ffprobe will display stream details (resolution, codec, etc.). If not, it returns an error — useful for debugging.

Method 4: Use Mobile Apps or Third-Party Software

Some camera manufacturers offer mobile apps that help configure and test streams.

Examples:
Hik-Connect (for Hikvision)
DSS Pro (for Dahua)
ONVIF Camera Finder (Android app)

These apps often include a “Test Stream” feature using RTSP. If the stream plays, the URL is valid.

Troubleshooting Common Issues

Camera Not Showing Up in ONVIF Device Manager

  • Ensure both your computer and camera are on the same network.
  • Check if the camera has ONVIF enabled in its settings.
  • Disable firewalls temporarily (Windows Defender or third-party).
  • Try pinging the camera IP to confirm connectivity.

Invalid Credentials

If login fails:
– Reset the camera to factory defaults.
– Use the default password (printed on the device or manual).
– Some cameras lock after failed attempts — wait 5 minutes before retrying.

RTSP Stream Fails to Play

Common causes:
– Incorrect port (try 554, 8554, or custom ports)
– Wrong stream path (some use ch00_0, others stream1)
– Sub-stream vs. main stream mismatch
– Codec incompatibility (e.g., H.265 not supported by VLC)

Solution: Try both /live/ch00_0 and /stream1 in your RTSP URL.

No Audio in Stream

Audio requires separate RTSP paths or RTP channels. Some cameras support audio=1 parameter or have dedicated audio streams. Check your camera’s documentation.

Best Practices for Managing RTSP URLs

  • Document your URLs in a spreadsheet or note-taking app for future reference.
  • Use descriptive names like “FrontDoor_MainStream” instead of just “Camera1”.
  • Update passwords regularly to prevent unauthorized access.
  • Enable HTTPS and TLS for secure ONVIF communication where possible.
  • Test streams before deployment to avoid configuration errors later.

Conclusion

Finding the RTSP URL of an ONVIF IP camera doesn’t have to be complicated. With tools like ONVIF Device Manager, access to the camera’s web interface, or even command-line utilities, you can quickly locate the exact address needed for video streaming.

Remember: the RTSP URL is your gateway to real-time surveillance. Once you have it, you can integrate your camera with virtually any VMS, DVR, or media player. Always verify your camera supports ONVIF, enable RTSP in settings, and double-check credentials and network connectivity.

Whether you’re building a home security system or managing a commercial surveillance network, mastering this skill puts you in control. Try each method above until you find one that works smoothly for your setup.