What Is an RTSP URL? How to Find It: A Guide to Finding an IP Camera RTSP Address
An RTSP URL is the connection address used to access live video streams from IP cameras and NVR devices. How can you find the RTSP addresses of Hikvision, Dahua, Hanwha Vision, Axis, and other camera brands, retrieve them through ONVIF, and test them with VLC?

RTSP connection addresses are used to transmit live video from IP camera systems to NVR devices, video management software (VMS), media players, and AI-powered video analytics platforms.
An RTSP URL is the connection address that enables access over a network to a specific media stream provided by an IP camera. It is particularly important for integrating cameras from different brands into the same recording system, adding video analytics capabilities to existing camera infrastructure, and diagnosing live-view problems.
However, RTSP addresses are not the same for all IP cameras. The camera brand, model number, firmware version, channel number, video profile, and network configuration all affect how the RTSP address is determined.
What Is an RTSP URL?
An RTSP URL (Real-Time Streaming Protocol Uniform Resource Locator) is the network address used to access a specific audio and video stream from an IP camera, NVR device, DVR device, or media server.
While the RTSP protocol controls the media session, video and audio packets are generally transmitted over the RTP protocol.
The main uses of an RTSP URL include:
Viewing live video from IP cameras
Adding cameras from different brands to NVR devices
Adding cameras to video management software
Viewing camera footage through VLC Media Player
Providing video to AI-powered video analytics applications
Integrating existing camera systems with third-party software
Testing main-stream and sub-stream connections
Diagnosing camera viewing and codec problems
Accessing channel video on supported recording devices
What Is the Structure of an RTSP URL?
An RTSP URL consists of components such as the protocol, IP address, port, and media stream path.
General address format:
rtsp://kullaniciadi:sifre@ip-adresi:port/akis-yolu
Example RTSP address:
rtsp://192.168.1.100:554/Streaming/Channels/101
What Is an RTSP URL?
An RTSP URL (Real-Time Streaming Protocol Uniform Resource Locator) is the network address used to access a specific audio and video stream from an IP camera, NVR device, DVR device, or media server.
While the RTSP protocol controls the media session, video and audio packets are generally transmitted over the RTP protocol.
The main uses of an RTSP URL include:
Viewing live video from IP cameras
Adding cameras from different brands to NVR devices
Adding cameras to video management software
Viewing camera footage through VLC Media Player
Providing video to AI-powered video analytics applications
Integrating existing camera systems with third-party software
Testing main-stream and sub-stream connections
Diagnosing camera viewing and codec problems
Accessing channel video on supported recording devices
What Is the Structure of an RTSP URL?
An RTSP URL consists of components such as the protocol, IP address, port, and media stream path.
General address format:
rtsp://kullaniciadi:sifre@ip-adresi:port/akis-yolu
Example RTSP address:
rtsp://192.168.1.100:554/Streaming/Channels/101
RTSP URL component | Description |
|---|---|
rtsp:// | Media control protocol in use |
Username | Camera access account |
Password | Camera access password |
IP address | Network address of the camera or recording device |
Port | RTSP service port |
Channel number | Camera channel to access |
Stream path | Main, sub, or other video profiles |
Query parameters | Manufacturer-specific stream options |
RTSP addresses containing a username and password can be used in some applications. However, for security reasons, it is recommended that access credentials be entered in separate authentication fields within the software.
How to Find an IP Camera RTSP URL
Various methods can be used to find an IP camera's RTSP address.
1. Check the manufacturer's technical documentation
One of the most reliable methods is to consult the camera manufacturer's official technical documentation.
RTSP address formats may be available in the camera model's user manual, API documentation, integration guide, or technical support pages.
When looking up an RTSP address, you should know the following:
Camera brand and model number
Firmware version
IP address
RTSP port number
User access credentials
Channel and video profile to be used
2. Check the camera's web interface
On many IP cameras, RTSP service settings are available in the device's web management interface.
After signing in to the management interface using the camera's IP address, check menus such as Network, Port, Video, Media, Streaming, or Integration Protocol.
Even if the RTSP port is displayed in the camera interface, the full stream path may not always be shown.
3. Find the RTSP URL through ONVIF
For ONVIF-enabled IP cameras, using ONVIF media services is one of the most effective ways to find the RTSP address.
An ONVIF client can retrieve the URI of the relevant video stream by querying the media profiles supported by the camera.
This method is particularly useful for cameras whose RTSP address format is unknown or that use different firmware.
4. Check the NVR or VMS software
Some video management software and recording devices can display the connection addresses or media profiles of cameras configured in the system.
You can check camera management, device properties, connection parameters, or proprietary protocol settings.
However, some systems may not display camera connection details in the user interface due to security policies.
5. Contact the manufacturer's technical support team
If the RTSP URL for a camera model cannot be found, you can ask the manufacturer's technical support team or an authorized distributor.
This method is particularly important for OEM cameras, devices using custom firmware, multisensor cameras, and older-generation recording devices.
How to Find an RTSP URL with ONVIF
ONVIF (Open Network Video Interface Forum) is a set of standards intended to provide interoperability among IP-based physical security devices.
The camera's media profiles and connection addresses can be retrieved from ONVIF media services using the GetProfiles and GetStreamUri operations.
ONVIF operation | Function |
|---|---|
WS-Discovery | Discovering supported devices on the network |
GetCapabilities | Retrieving the services supported by the device |
GetProfiles | Listing available media profiles |
GetStreamUri | Retrieving the media stream address for the selected profile |
GetVideoEncoderConfigurations | Retrieving video encoding configurations |
The GetStreamUri operation provides the connection address reported by the device, eliminating the need to manually guess the RTSP stream path.
Official technical source: ONVIF Streaming Specification
Finding an RTSP Address with ONVIF Device Manager
ONVIF discovery and management software, such as ONVIF Device Manager, can help find RTSP addresses for supported IP cameras.
Steps:
Connect the computer to the camera network.
Launch ONVIF-compatible device management software.
Select the camera discovered on the network.
Enter the authorized ONVIF username and password.
View the camera's media profiles.
Open Live Video or the relevant media profile section.
Copy the displayed RTSP address.
Verify the address using VLC Media Player.
On some camera models, the ONVIF service may be disabled by default. A separate user account may also need to be created for ONVIF.
RTSP URLs by IP Camera Brand
IP camera manufacturers may use different media stream paths.
The examples below assume a camera IP address of 192.168.1.100 and an RTSP port of 554.
Hikvision RTSP URL
Main stream:
rtsp://192.168.1.100:554/Streaming/Channels/101
Sub stream:
rtsp://192.168.1.100:554/Streaming/Channels/102
Third stream (on supported models):
rtsp://192.168.1.100:554/Streaming/Channels/103
Stream number | Description |
|---|---|
101 | First channel main stream |
102 | First channel substream |
103 | First channel third stream |
201 | Second channel main stream |
202 | Second channel substream |
1601 | Sixteenth channel main stream |
1602 | Sixteenth channel substream |
The port number may vary depending on the device configuration.
Official source: Hikvision RTSP Stream Guide
Dahua RTSP URL
Main stream:
rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
Sub stream:
rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=1
Additional sub stream (on supported models):
rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=2
Parameter | Description |
|---|---|
channel=1 | First camera channel |
channel=2 | Second camera channel |
subtype=0 | Main stream |
subtype=1 | First sub stream |
subtype=2 | Second sub stream |
Hanwha Vision Wisenet RTSP URL
First video profile:
rtsp://192.168.1.100:554/profile1/media.smp
Second video profile:
rtsp://192.168.1.100:554/profile2/media.smp
Third video profile:
rtsp://192.168.1.100:554/profile3/media.smp
In Hanwha Vision cameras, profile numbers depend on the camera's video configuration. Profile1 does not always mean the main stream, and Profile2 does not always mean the sub stream.
Multisensor IP camera example:
rtsp://192.168.1.100:554/0/profile2/media.smp
Hanwha Vision NVR first-channel example:
rtsp://192.168.1.200:554/LiveChannel/0/media.smp
On Hanwha Vision recording devices, channel numbering may start at zero, and the RTSP port may be determined by the device's port range.
Official source: Hanwha Vision RTSP URLs
Axis RTSP URL
Standard media stream:
rtsp://192.168.1.100:554/axis-media/media.amp
Example of a defined video profile:
rtsp://192.168.1.100:554/axis-media/media.amp?streamprofile=High
The profile specified in the Streamprofile parameter must be defined on the device.
Uniview RTSP URL
Main stream:
rtsp://192.168.1.100:554/media/video1
Sub stream:
rtsp://192.168.1.100:554/media/video2
Reolink RTSP URL
Main stream:
rtsp://192.168.1.100:554/Preview_01_main
Sub stream:
rtsp://192.168.1.100:554/Preview_01_sub
Different address formats may be used in older firmware versions.
TP-Link Tapo RTSP URL
Main stream:
rtsp://192.168.1.100:554/stream1
Sub stream:
rtsp://192.168.1.100:554/stream2
Tapo models that support RTSP may require a separate camera account to be created.
Bosch RTSP URL
First stream example:
rtsp://192.168.1.100:554/?inst=1
Second stream example:
rtsp://192.168.1.100:554/?inst=2
Vivotek RTSP URL
Main stream example:
rtsp://192.168.1.100:554/live.sdp
Second stream example:
rtsp://192.168.1.100:554/live2.sdp
Milesight RTSP URL
Main stream:
rtsp://192.168.1.100:554/main
Substream:
rtsp://192.168.1.100:554/sub
RTSP URL Comparison Table for IP Camera Brands
Camera brand | Main stream path example | Substream path example |
|---|---|---|
Hikvision | /Streaming/Channels/101 | /Streaming/Channels/102 |
Dahua | /cam/realmonitor?channel=1&subtype=0 | /cam/realmonitor?channel=1&subtype=1 |
Hanwha Vision | /profile1/media.smp | /profile2/media.smp |
Axis | /axis-media/media.amp | Depends on the configured profile |
Uniview | /media/video1 | /media/video2 |
Reolink | /Preview_01_main | /Preview_01_sub |
TP-Link Tapo | /stream1 | /stream2 |
Bosch | /?inst=1 | /?inst=2 |
Vivotek | /live.sdp | /live2.sdp |
Milesight | /main | /sub |
Amcrest | /cam/realmonitor?channel=1&subtype=0 | /cam/realmonitor?channel=1&subtype=1 |
Foscam | /videoMain | /videoSub |
EZVIZ | /ch1/main | Depends on the model |
Avigilon | /defaultPrimary?streamType=u | /defaultSecondary?streamType=u |
eufy | /live0 | Depends on the model |
The addresses in the table are commonly used examples of RTSP stream paths. They are not guaranteed to work with all models. RTSP support may be limited, particularly on battery-powered cameras and cloud-based consumer cameras.
What Information Is Needed to Create an RTSP URL?
The required technical information should be identified before creating an RTSP address.
Required information | Example value |
|---|---|
Camera brand | Hikvision |
Camera IP address | 192.168.1.100 |
RTSP port | 554 |
Username | viewer |
Camera channel | 1 |
Video stream | Main Stream |
RTSP stream path | /Streaming/Channels/101 |
The RTSP address created using this information is:
rtsp://192.168.1.100:554/Streaming/Channels/101
Authentication credentials can also be entered separately in the username and password fields of the software used to connect.
How to Find the RTSP URL Port Number
The default service port for the RTSP protocol is 554. However, different port numbers may be used depending on the camera manufacturer and device configuration.
Port number | Use |
|---|---|
554 | Standard RTSP port |
8554 | Alternative RTSP port on some media servers |
10554 | Alternative port on some devices and configurations |
88 | Port used on some Foscam models |
322 | Registered port for RTSP over TLS |
Custom port | Port specified by the user or manufacturer |
The camera's RTSP port number can be found in the device's network settings or the manufacturer's technical documentation.
You can test access to a specific device's TCP port using Windows PowerShell.
Test-NetConnection 192.168.1.100 -Port 554
A TcpTestSucceeded value of True indicates that the relevant TCP port is reachable. However, this alone does not verify that the RTSP service is functioning correctly, that authentication succeeded, or that the correct media path is being used.
How to Test an RTSP URL with VLC Media Player
VLC Media Player is one of the widely used media players that can be used to test RTSP connections.
Creating an RTSP connection through VLC
Open the VLC Media Player application.
Open the Media menu.
Click Open Network Stream.
Enter the RTSP URL address in the relevant field.
Press the Play button.
If prompted, enter the camera's username and password.
Check whether the live view opens.
In Windows, you can open the network stream window directly by pressing Ctrl + N.
The following properties can be checked through VLC:
Live video transmission
Main stream and substream connections
Camera audio stream
Image resolution
Video codec information
Image latency
Connection stability
Image freezing and interruption problems
Official software address: VLC Media Player
How to Test an RTSP URL with FFprobe
FFprobe can be used to check the technical properties of media streams received over RTSP.
Example test command:
ffprobe -rtsp_transport tcp -show_streams "rtsp://192.168.1.100:554/Streaming/Channels/101"
The following information can be examined in the FFprobe output:
Technical parameter | Description |
|---|---|
codec_name | H.264, H.265, or another codec format |
width | Image width |
height | Image height |
r_frame_rate | Reported nominal frame-rate information |
profile | Video codec profile |
pix_fmt | Pixel format |
sample_rate | Audio sampling frequency |
channels | Number of audio channels |
bit_rate | Reported bit rate, if available |
Some technical parameters may not be reported directly for live RTSP streams. Measuring the actual instantaneous bit rate may require analyzing network or media traffic over a specific period.
Official source: FFmpeg Protocols Documentation
How to Add an IP Camera to an NVR Using an RTSP URL
Some NVR devices allow a manual RTSP connection to be set up on supported models, in addition to ONVIF or manufacturer-specific connection protocols.
This feature is particularly important in CCTV projects that use equipment from different brands.
General camera-addition steps:
Open the camera management menu on the NVR device.
Select the option to add a camera manually.
Select RTSP or Custom Protocol.
Enter the camera's IP address.
Specify the RTSP service port.
Enter the main stream path.
Enter the substream path, if available.
Enter the camera's username and password.
Select the TCP or UDP transport method.
Save the connection and test the live view.
On supported Hikvision NVR models, the main and substream paths can be configured separately through Custom Protocol Management.
Features such as motion-detection events provided through ONVIF, PTZ control, video analytics events, and remote camera configuration may not be available on cameras added through a manual RTSP connection.
How to Find NVR and DVR RTSP URL Addresses
On supported models, NVR and DVR devices can share live views from their connected camera channels over RTSP.
In this case, use the recorder's IP address rather than connecting directly to the camera's IP address.
For example, assume that the NVR's IP address is 192.168.1.200.
Recorder brand | First-channel main stream example |
|---|---|
Hikvision | rtsp://192.168.1.200:554/Streaming/Channels/101 |
Dahua | rtsp://192.168.1.200:554/cam/realmonitor?channel=1&subtype=0 |
Hanwha Vision | rtsp://192.168.1.200:554/LiveChannel/0/media.smp |
For RTSP streams retrieved through recording devices, consider simultaneous-user capacity, outgoing bandwidth, and video-stream limitations.
In larger camera systems, distributing streams through a suitable VMS or media server may be considered instead of having multiple software applications connect directly to the same cameras.
Differences Between RTSP Main Stream and Sub Stream URLs
IP cameras may have different RTSP addresses for the main stream and substream.
Technical specification | Main Stream | Sub Stream |
|---|---|---|
Example resolution | 3840 × 2160 | 640 × 360 |
Example video bit rate | 8 Mbps | 512 Kbps |
Example FPS | 25 FPS | 10 FPS |
Image detail level | High | Low |
Bandwidth consumption | High | Low |
High-quality recording | Suitable | Generally not preferred |
Multi-camera monitoring | Requires more resources | Suitable |
Mobile viewing | Depends on the connection | Generally suitable |
Artificial intelligence analytics | Depends on analysis requirements | Depends on analysis requirements |
The technical values in the table are examples. Camera streams can be configured independently of one another.
In professional image analysis, using a low-resolution substream may adversely affect analytics performance in some object-detection and people-counting applications.
Why Is There No Video Even Though the RTSP URL Is Correct?
A correct RTSP address does not necessarily mean that the live view can be displayed.
Problem | Possible cause | Solution |
|---|---|---|
Unable to establish a connection | Incorrect IP address | Verify the device's network address. |
Port is unreachable | Firewall or service is disabled | Check the RTSP service settings. |
401 Unauthorized | Authentication issue | Check the username and password. |
403 Forbidden | Insufficient access permissions | Review the user permissions. |
404 Not Found | Incorrect media path | Verify the RTSP stream address. |
454 Session Not Found | Invalid RTSP session | Recreate the session. |
461 Unsupported Transport | Transport method mismatch | Test the TCP or UDP options. |
Connection established, but no video | Codec incompatibility | Check support for H.264 and H.265. |
Main stream does not open | High resolution or insufficient resources | Check the camera and client capacity. |
Substream does not open | Substream disabled | Check the Sub Stream settings. |
Image freezes | Network congestion or packet loss | Measure network performance. |
Connection keeps dropping | Session timeout | Review the keep-alive settings. |
Can Special Characters in a Password Affect an RTSP Address?
Yes. In connections where the username and password are written directly into the RTSP URL, some special characters can cause the URL structure to be interpreted incorrectly.
Special character | URL encoding |
|---|---|
@ | %40 |
# | %23 |
& | %26 |
: | %3A |
/ | %2F |
? | %3F |
% | %25 |
Space | %20 |
For example, the encoded representation of the @ character in a sample password within a URL is %40.
URL encoding is not encryption and does not make a password secure.
Where possible, it is recommended that the username and password be entered in the separate authentication fields in the client software.
What Is the Difference Between an RTSP URL and an RTSPS URL?
While an RTSP URL refers to a standard RTSP control connection, an RTSPS URL refers to an RTSP connection secured over TLS.
Feature | RTSP URL | RTSPS URL |
|---|---|---|
Address prefix | rtsp:// | rtsps:// |
Control-channel encryption | No | TLS |
Standard port | 554 | 322 |
Certificate use | No | Yes |
Secure connection | Requires additional precautions | Control channel can be protected |
Device support | Common | Model-dependent |
Using RTSPS does not mean that all media packets carried over a separate channel are automatically encrypted. Media transport security must be assessed separately.
Can an RTSP URL Be Used Over the Internet?
RTSP connections can be used over both a local network and suitable remote-access infrastructure.
Exposing camera RTSP service ports directly to the internet can create significant cybersecurity risks.
The following measures are recommended in professional security system deployments:
VPN-based secure remote access
Configuring the camera network in a separate VLAN
Firewalls and access control lists
Strong, unique user passwords
User accounts with viewing-only permissions
TLS and secure media transmission on supported devices
Up-to-date camera firmware
Disabling unnecessary services
Secure storage of RTSP addresses and access credentials
RTSP addresses should be used only to access devices for which authorization has been granted.
Integrating AI Video Analytics with an RTSP URL
RTSP addresses can be used to integrate existing IP camera systems with AI-powered video analytics software.
The video analytics software connects to the camera's RTSP stream, receives video frames, and processes them using the relevant AI models.
RTSP-based video analytics applications include people counting, regional visitor analysis, queue analysis, density measurement, vehicle counting, license plate recognition, perimeter security, and object detection.
However, the ability to access camera footage over RTSP does not, by itself, show that the camera is suitable for an analytics application.
The main technical factors affecting analytics performance are camera mounting angle, lens selection, pixel density (PPM), resolution, frame rate, image compression level, and lighting conditions.
In professional analytics projects, camera placement, DORI requirements, and field validation should be assessed together.
Technical Checklist for RTSP URL Integration
Check item | Purpose of the check |
|---|---|
Camera make and model | Determining the correct address format |
Firmware version | Protocol compatibility |
IP address | Network access |
RTSP port | Service access |
RTSP stream path | Correct media profile |
User permissions | Secure access |
ONVIF support | Automatic profile discovery |
H.264/H.265 support | Video codec compatibility |
Main and substream | Viewing and recording configuration |
FPS and resolution | Image performance |
TCP/UDP transport method | Network and client compatibility |
Simultaneous connection limit | Camera resource management |
NVR output bandwidth | Stream distribution capacity |
VLC and FFprobe test | Connection verification |
VPN and VLAN | Network security |
Long-duration connection test | System stability |
Frequently Asked Questions
How can I find my IP camera's RTSP URL?
You can find the RTSP address by consulting the manufacturer's technical documentation, checking the media settings in the camera's web interface, or using the ONVIF GetStreamUri operation.
Do all IP cameras support RTSP?
No. RTSP support may be unavailable, particularly on some cloud-based, battery-powered, and consumer-grade cameras.
Is the RTSP URL port always 554?
No. 554 is the standard RTSP port, but the device manufacturer or user can change it.
Can an RTSP URL be discovered automatically?
On ONVIF-supported devices, the RTSP address can be discovered automatically by querying media profiles through compatible client software.
Can a camera password be obtained from an RTSP URL?
No. An RTSP address is not a method for obtaining a camera user's password or bypassing authentication.
Can an RTSP URL be opened in Chrome?
Google Chrome and other modern web browsers generally cannot play RTSP streams directly. Suitable media players such as VLC, or media servers that provide WebRTC and HLS conversion, can be used.
Can the same RTSP URL be used on multiple devices?
Yes. Multiple clients can connect to the same stream as long as the camera's simultaneous connection capacity and network bandwidth are sufficient.
Can camera footage be recorded using an RTSP URL?
Yes. Supported applications such as NVR, VMS, or FFmpeg can record a media stream received over RTSP. RTSP itself is not recording software.
Are NVR recordings affected if the RTSP URL is changed?
If the NVR is using the old RTSP address, the connection may be lost and new video recording may stop. Previously recorded footage is not normally affected by this change.
Can analog camera footage be viewed using an RTSP URL?
Analog cameras do not operate directly as RTSP servers. However, analog camera footage can be accessed through DVR or video encoder devices that support RTSP.
Does an RTSP URL support audio transmission?
Yes. Audio can be transmitted if the camera provides an audio stream and the client supports the relevant audio codec format.
Conclusion
An RTSP URL is one of the fundamental connection addresses that provide access to media streams from IP cameras and network video recorders.
Correctly identifying the RTSP address is essential when adding IP cameras from different manufacturers to NVR devices, creating centralized viewing systems, integrating video analytics, and resolving camera connection problems.
When identifying an RTSP address, manufacturers' technical documentation, ONVIF media services, camera configurations, and connection tests should be used.
In professional electronic security projects, image quality, codec compatibility, network capacity, cybersecurity, and system stability should be assessed alongside establishing the RTSP connection.
The correct RTSP URL is the starting point for successful camera integration. Technical compatibility and network security must also be ensured for reliable, sustainable video transmission.