23
June
2025
10:34

How to play the streaming video RTSP in the VLC player and others

23 June 2025 10:34

This article is only about DVRs Dahua. How to configure RTSP playback on a computer network?

Introduction

The task is to reproduce the RTSP protocol (rtsp://ip_addrESS ) Video with a determined IP address.

RTSP settings from the video recorder

1) Report the DVR to the computer network (DHCP setting or statatical IP).
2) create a user, for example, "Viewer", с правами "user" - limited rights only for watching video from cameras.
3) In the settings of the camera, replace additional flow : instead of the Codca H.265 (HEVC), specify H.264 , MPEG-4, MPEG4.

RTSP settings from the side of the router

  • Provide the DVR static IP address

RTSP playback setting from a personal computer

1) If the VLC player is installed from the repository, you need to remove it.

sudo apt remOve VLC

2) install VLC from SNap. (Версия Snap скомпилирована и размещена в магазине приложений SnaP with key support --enable-live555:

snap instaLL VLC

3) In VLC, select the Media menu item - "Open the URL" and create a string of connection:

rtsp://username:password@192.168.1.100:554/cam/realmonitor?channel=12&subtype=1

Where:
UsernamE is the name of the user of the highlight with video viewing rights
P.assword - пароль пользователя usernamE.
192.168.1.100 - Replace with the IP address of the highlight
554 - standard port of the RTSP protocol.
Channel - camera number (1-16).
Subtype - selection of the main (0) or additional (1) flow. An additional flow has a lower resolution and frame rate for transmission via wireless Wi-Fi network.

RTSP setting on a device running Android OS

There are several applications for questioning the RTSP flow. Search in the Appendix store by keywords "RTSP PLayer":

Examples of programs:
RTSP PLayer (автор Damian hoppe) - Play Market
Cameras (author Pen Vladislav Yuryevich) - RuStore

The setting programs is simple: you need to come up with and enter the camera name and fill out the connection line with the address of the RTSP connection. User name and password, IP address, port 554, camera number and additional stream No. 1.

The subscription line is exactly the same:

rtsp://username:password@192.168.1.100:554/cam/realmonitor?channel=12&subtype=1