Latest

How to view IP cameras in VLC over RTSP (Hikvision, Dahua, Reolink, Tapo)

With the right RTSP address you can watch your cameras on a PC in VLC, without the manufacturer's app. RTSP paths for the most common brands, how to cut latency, and why you should never open port 554 to the Internet.

By Flavio Ciaranfi 5 min read

Camera manufacturers’ apps are convenient until they stop being convenient. One day the app asks for a subscription, or the vendor’s cloud is unreachable, or you simply want to see the images on the office PC without installing yet another program. In all these cases there’s a solution few people know about: almost every IP camera exposes its video over RTSP, and to watch it you only need VLC, the free media player you probably already have.

Here’s how to find your camera’s address, the RTSP paths for the most common brands and how to fix latency and grey, smeared images, the two problems you’ll almost certainly run into.

What you need

  • the camera’s IP address on your home network (something like 192.168.1.64);
  • a username and password for the camera, not your cloud account;
  • RTSP enabled on the camera (some brands ship with it off);
  • your PC on the same network as the camera.

Step 1: find the IP address

The quickest way is your router’s admin page: look for the list of connected devices (usually under DHCP or Devices), where the camera appears with its brand or model name. Many apps also show the IP in the device information.

If you have several cameras or can’t identify them, on Windows ONVIF Device Manager is very useful: this free tool finds every ONVIF camera on the network and, once you enter the credentials, shows the RTSP address of the stream directly. For Hikvision there’s also the official SADP tool.

Step 2: enable RTSP if it’s off

  • Hikvision and Dahua: normally already on.
  • Reolink: in the client or web interface, go to network settings, Advanced > Port Settings, and enable RTSP.
  • TP-Link Tapo: in the app, open the camera, go to Advanced Settings > Camera Account and create a username and password. These are the credentials to use in VLC, not your TP-Link account.

Where possible, create a view-only user without admin rights. If that password ever leaks, nobody can change the camera’s settings.

Step 3: build the RTSP address

The structure is always the same: rtsp://user:password@IP:554/path. 554 is RTSP’s default port. Only the final path changes by manufacturer:

Brand Main stream (high quality) Sub stream (light)
Hikvision /Streaming/Channels/101 /Streaming/Channels/102
Dahua and many compatibles /cam/realmonitor?channel=1&subtype=0 /cam/realmonitor?channel=1&subtype=1
Reolink /h264Preview_01_main /h264Preview_01_sub
TP-Link Tapo /stream1 /stream2

Full example for a Hikvision: rtsp://viewer:Password123@192.168.1.64:554/Streaming/Channels/101. On 4K Reolink models using H.265 the main path is often /h265Preview_01_main. On a Hikvision NVR the channel changes with the camera: 201 for the second, 301 for the third and so on.

Watch out for special characters. If the password contains @, : or #, VLC misreads the address. Replace them with their codes: @ becomes %40, : becomes %3A, # becomes %23.

Step 4: open the stream in VLC

  1. open VLC and go to Media > Open Network Stream (or press Ctrl + N; on a Mac, File > Open Network);
  2. paste the RTSP address;
  3. click Play.

If the image appears after a few seconds, you’re done. If you get an error, check in this order: credentials (the most common cause), RTSP enabled, IP address, and the right path for your model.

The two problems you’ll meet (and how to fix them)

The image is 1 to 2 seconds behind

VLC buffers some video before showing it to avoid stutter. For a camera that delay is annoying. In the open dialog, tick Show more options and lower Caching from 1000 to about 300 ms. If the video starts stuttering, go back up to 500.

Grey, blocky or “melting” images

This happens mostly with Wi-Fi cameras: some video packets get lost on the way. The fix is to force TCP transport: in Tools > Preferences, select Show settings: All at the bottom left, then go to Input / Codecs > Access modules > Live555 and enable RTP over RTSP (TCP). Alternatively, use the much lighter sub stream.

Bonus: record a clip from the stream

If you need to save ten minutes of video, for example to keep evidence of an incident, you can do it with ffmpeg without re-encoding anything:

ffmpeg -rtsp_transport tcp -i "rtsp://viewer:Password123@192.168.1.64:554/Streaming/Channels/101" -c copy -t 00:10:00 recording.mp4

The -c copy option copies the video as is, so the PC barely works and the quality is identical to the original.

The rule not to break: no port 554 open to the Internet

RTSP is not encrypted: username, password and video travel in clear text. That’s fine inside your home network and dangerous outside it. There are search engines that constantly scan the Internet for cameras with port 554 open. If you want to watch your cameras when you’re away, the right way is a VPN into your home network (many recent routers include WireGuard): connect to the VPN and use the same RTSP address as if you were at home.