From 3e4bae5cabded078736f7797d5292cadf7f3c3ea Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Wed, 4 May 2022 09:43:01 +0200 Subject: [PATCH] add vlc/ubuntu notice --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 515d8d22..d7fff5af 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,8 @@ Features: * [From a Raspberry Pi Camera](#from-a-raspberry-pi-camera) * [From OBS Studio](#from-obs-studio) * [From OpenCV](#from-opencv) +* [Read from the server](#read-from-the-server) + * [From VLC and Ubuntu](#from-vlc-and-ubuntu) * [RTSP protocol](#rtsp-protocol) * [RTSP general usage](#rtsp-general-usage) * [TCP transport](#tcp-transport) @@ -582,6 +584,25 @@ while True: sleep(1 / fps) ``` +## Read from the server + +### From VLC and Ubuntu + +The VLC shipped with Ubuntu 21.10 doesn't support playing RTSP due to a [license issue](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982299). + +To overcome the issue, remove the default VLC instance and install the snap version: + +``` +sudo apt purge -y vlc +snap install vlc +``` + +Then use it to read the stream: + +``` +vlc rtsp://localhost:8554/mystream +``` + ## RTSP protocol ### RTSP general usage