RTSP URL generator Build the stream address for your recorder or camera, then test it

An RTSP URL generator turns a recorder's brand, address, port, login, channel and stream into the address a player or monitoring service opens. Choose the firmware, fill in the fields and copy the result, then play it in VLC with Media, Open Network Stream. The address is built in your browser and nothing is sent.

Free forever for 1 camera · no card · uses your cameras

Free: app and email alerts. WhatsApp from Starter (₹999 a month in India), phone calls from Pro. See plans

RTSP URL generator

RTSP address

-

Built in your browser; nothing you type here is sent anywhere. Test the address in VLC (Media, Open Network Stream) before using it elsewhere.

How do you use the RTSP URL generator?

Work down the form; the address updates as you type.

  1. Firmware: choose the family your recorder or camera belongs to. The list below says which brands each covers.
  2. Address or IP: the device's local address, such as 192.168.1.64, or its public address or DDNS name if you'll open it from outside.
  3. RTSP port: 554 unless someone changed it in the device's network settings, or the router forwards a different outside port.
  4. Username and password: the device's own login, not a phone app account. Leave the username empty only if the device asks for no login.
  5. Channel: the camera's number on the recorder, from 1. A single camera is channel 1.
  6. Stream: sub for the smaller, lighter stream, main for full quality.
  7. Copy address, then test it in VLC before using it anywhere else.

Which firmware should you choose for your brand?

Pick by the firmware inside the box, which is often not the name on the front. These are the families the generator builds, and the brands each one covers:

  • Hikvision firmware: Hikvision, Prama.
  • Dahua firmware: Dahua, CP Plus, most Honeywell recorders.
  • Uniview: Uniview.
  • Ezviz: Ezviz.
  • TP-Link Tapo and VIGI: TP-Link Tapo, VIGI.
  • Axis: Axis.

Why are the channel and stream boxes sometimes greyed out?

Because that firmware's address has no place for them. A TP-Link Tapo or VIGI camera is one camera with its own address, so the path has no channel and the channel box switches off. The Axis path names the camera but not a stream, so the stream box switches off instead. Every other family takes both.

Other things change the address too. If the username box is empty, the generator leaves the login out entirely: rtsp://192.168.1.108:554/cam/realmonitor?channel=1&subtype=1. Most recorders refuse that, so it's only for devices with authentication switched off.

What do generated RTSP links look like?

Here are worked examples, with PASSWORD in place of a real password:

  • Hikvision NVR at 192.168.1.64, camera 5, full quality: rtsp://admin:PASSWORD@192.168.1.64:554/Streaming/Channels/501
  • Dahua or CP Plus recorder at 192.168.1.108, camera 2, sub stream: rtsp://admin:PASSWORD@192.168.1.108:554/cam/realmonitor?channel=2&subtype=1
  • Uniview NVR at 192.168.1.30, camera 3, sub stream: rtsp://admin:PASSWORD@192.168.1.30:554/unicast/c3/s1/live
  • Tapo camera at 192.168.0.21 with the camera account tapocam: rtsp://tapocam:PASSWORD@192.168.0.21:554/stream2
  • Axis camera at 192.168.1.90: rtsp://viewer:PASSWORD@192.168.1.90:554/axis-media/media.amp?camera=1
  • A Dahua-type recorder reached from outside on a DDNS name, with the router passing port 8554: rtsp://USER:PASSWORD@shop.example.net:8554/cam/realmonitor?channel=4&subtype=1

What does the generator do with symbols in a password?

It percent-encodes them. Characters such as @, :, # and / mean something inside an address, so a raw password containing them cuts the address in the wrong place and the login fails. The generator replaces each with its code, so the password P@ss:word#1 on a Hikvision sub stream becomes rtsp://admin:P%40ss%3Aword%231@HOST:554/Streaming/Channels/102.

That is the most common reason a hand-typed address fails when the password is right. The password stays in your browser: the page builds the address with JavaScript and sends nothing to a server.

How do you test a generated RTSP URL in VLC?

Copy the address, open VLC, choose Media, then Open Network Stream, paste it on the Network tab and click Play. Test first from a computer on the same network as the device, which takes the router and internet out of the question.

  • A picture appears: the address is right. Wave at the camera to confirm the channel.
  • VLC asks for a login: the username or password was refused, or it's the phone app's account.
  • It waits, then fails: the address or port is wrong, RTSP is off, or a firewall is in the way. Open the device's web page at the same address to check it answers.
  • It connects but shows nothing, or another camera: the channel or stream is wrong. Try the other firmware family if the brand is rebadged.
  • The picture breaks up: the network can't carry the stream. Try the sub stream. VLC's advanced settings also have an option to use RTP over RTSP (TCP), which helps on networks that block UDP.

Should you generate the main stream or the sub stream?

Generate the sub stream for anything that runs all day or leaves the building, and the main stream for close-up review on the local network. The main stream is the full-resolution picture the recorder saves; the sub stream is a smaller copy that uses a fraction of the upload. The generator starts on sub for that reason.

If you aren't sure which one an address gives, play it in VLC and open Tools, then Media Information. The codec details show the picture size: the camera's full resolution means main, a much smaller size means sub.

Where are the brand-by-brand guides?

Each guide lists every channel's address, the maker's own notes where we could read them, and the failures specific to that brand: Hikvision, Dahua, CP Plus, Uniview, Ezviz and Tapo. For a brand with no preset, the guide to finding any RTSP URL explains how to work out the path.

Do you need the generator to use GoKavach?

No. GoKavach builds the same addresses from the same presets when you add a camera: you choose the brand and enter the address, port, login and channel. Use the generator to test the address in VLC before you start, or to give the address to other software.

If the address works inside the building but you'll monitor from elsewhere, the site has to be reachable. The guide to viewing CCTV remotely without a static IP covers the options, including GoKavach's site connector. To check the line can carry the streams, use the CCTV bandwidth calculator.

RTSP URL generator: key facts

Address shape
rtsp://USER:PASSWORD@HOST:PORT/PATH
Firmware families
6, each with its own path
Default port
554
Passwords
Percent-encoded automatically; never sent anywhere
Brand link
Add ?brand=dahua (or hikvision, uniview, ezviz, tplink, axis) to open with that firmware chosen
Test
VLC: Media, Open Network Stream

What GoKavach is, and isn't

GoKavach is AI monitoring for the CCTV cameras you already have. It watches Hikvision, Dahua, CP Plus and almost any other brand around the clock and, when someone is where they shouldn't be, alerts you within seconds: in the app and by email on every plan, by WhatsApp and SMS on paid plans, and by phone call on the larger ones.

  • The generator can't tell whether the address works; only a test against the device can.
  • It builds the formats of its six firmware families; any other path has to be written by hand.
  • It can't find a device's address or recover a lost password.

RTSP URL generator FAQ Questions, answered

What owners ask before they connect their first camera.

Is it safe to type my recorder's password into an RTSP generator?

This one builds the address in your browser and sends nothing, so the password doesn't leave your computer. The finished address does contain the password, though, so treat it like one and share it only with software you trust.

Why does the generated address work on my laptop but not from my phone outside?

A local address such as 192.168.1.64 exists only inside the building. From outside, use the public address or DDNS name with the port the router forwards, or a connector at the site. The address's path stays the same.

Which firmware do I pick for a Prama or Honeywell recorder?

Prama is covered by Hikvision firmware, and most Honeywell recorders by Dahua firmware. If one doesn't play, try the other, since rebadged recorders often run one of the two.

Can I link someone to the generator with their brand already chosen?

Yes. Add ?brand= and the preset's name to the address, for example the generator with Dahua chosen. The names are hikvision, dahua, uniview, ezviz, tplink and axis.

What port should I enter if I don't know it?

Start with 554, the standard RTSP port and the generator's default. If nothing answers, look in the device's network settings for an RTSP port; installers sometimes move it. From outside, enter the port the router forwards, which can differ from the device's own.

Does the generator work for a DVR with analogue cameras?

Yes. The DVR gives each analogue camera a channel, so you enter the DVR's address and login and change the channel number for each camera. The cameras themselves have no network address.

Why do two brands give such different RTSP paths?

Each maker chose its own way of naming the camera and stream in the path, and RTSP leaves that to them. The address shape before the path, rtsp://login@address:port, is the same for every brand.

My brand isn't in the list. Can I still use the generator?

Try the Hikvision and Dahua families first, because many rebadged recorders run one of the two. If neither plays, the maker's manual or support page gives the path, and you can type the whole address by hand.

Still have questions? connect@gokavach.com

Related Read next

GoKavach pricing Start free. Move up a plan as you add cameras.

Every plan watches every camera around the clock, with intruder alerts in the hours you set. Bigger plans add cameras, people, phone-call alerts and longer storage of alert clips.

Free

Try it on one camera, for as long as you like.

$0

The same in every country

Free forever

  • 1 camera
  • 1 team member
  • Checks every 10 seconds, and every second while something moves
  • Email and app alerts
  • Alert pictures and clips kept 30 days
Start free

Starter

For one shop or home.

$19 /month

₹999/month in India

Renews until you cancel

  • 2 cameras
  • 2 team members
  • Checks every 5 seconds, and every second while something moves
  • WhatsApp, SMS, email and app alerts
  • Alert pictures and clips kept 60 days
  • 1 AI check in your own words
Choose Starter

Business

For many locations and larger teams.

$129 /month

₹6,999/month in India

Renews until you cancel

  • 16 cameras
  • 10 team members
  • Checks every 5 seconds, and every second while something moves
  • Phone calls, WhatsApp, SMS, email and app alerts
  • Alert pictures and clips kept 180 days
  • 10 AI checks in your own words
Choose Business

Enterprise

For more than 16 cameras, chains and guard companies.

Let's talk
  • More than 16 cameras and as many team members as you need
  • Checks every camera as often as every 5 seconds
  • Help setting up at each location
  • A named contact and agreed response times

Every plan includes

  • Areas, lines and hours you choose
  • A picture and clip with every alert
  • Live view on phone and computer
  • Camera offline and DVR disk alerts
  • Arming by your shop hours
  • Counter-left-empty alerts
  • Daily and weekly summaries
  • Reports on alerts and busy hours
  • A panic button for owners, admins and operators

Paid plans start the day you upgrade. Switch or cancel any time from Settings; after cancelling, your plan runs to the end of the paid period, then moves to Free. Prices exclude taxes.

Book a free demo Prefer we set it up with you?

In a free 15-minute call we connect one of your cameras and send a live test alert to your phone. Or start free on your own.

  • Works with the DVR or NVR you already have
  • We help with the connection, public IP or not
  • A live WhatsApp and phone-call alert to your phone
  • Free forever for 1 camera, no card needed

Book your free demo

Leave your number and we'll call to pick a time.

We reply within a day. No spam, no card. By submitting you agree to be contacted on WhatsApp/phone and to our privacy policy.