Updated to 21.04, VLC stopped working but worked in 20.10. Mplayer does
Used to open a security camera (EZVIZ) with VLC in 20.10 with the command:
rtsp://192.168.1.200:554
It fails and the log file says:
satip error: Failed to setup RTSP session
satip error: Failed to teardown RTSP session
```
nmap shows the device is present:
Starting Nmap 7.80 ( https://nmap.org ) at 2021-05-15 10:03 BST
Nmap scan report for TL-WA850RE.broadband (192.168.1.200)
Host is up (0.032s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
554/tcp open rtsp
8000/tcp open http-alt
8200/tcp open trivnet1
9010/tcp open sdr
```
mplayer works but gives error messages:
```
mplayer rtsp://admin:******@192.168.1.200:554
MPlayer 1.4 (Debian), built with gcc-10 (C) 2000-2019 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing rtsp://admin:******@192.168.1.200:554.
Resolving 192.168.1.200 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.200
Connecting to server 192.168.1.200[192.168.1.200]: 554...
librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
libavformat version 58.45.100 (external)
libavformat file format detected.
Apparently something has changed between 20.10 and 21.10 that is affecting VLC. I've tried various changes to the input/Codec settings that have been suggested on different websites but no effect.
Any ideas?
Thanks
When I run cvlc --no-one-instance -vv rtsp://192.168.1.200:554 on my desktop it just hangs:
VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
When I run it my laptop, also running ubuntu 21.04, it gives this error message:
[00007f00e0000c20] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac
[00007f00e0000c20] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art
[00007f00e0000c20] main art finder debug: no art finder modules matched
[0000563550b15a50] dbus interface debug: Getting All properties
[0000563550b15a50] dbus interface debug: Getting All properties
[00007f00e80015e0] main stream debug: connection succeeded (socket = 12)
[00007f00e80015e0] main stream debug: net: opening 0.0.0.0 datagram port 9338
[00007f00e80015e0] main stream debug: net: opening 0.0.0.0 datagram port 9339
[00007f00e80015e0] satip stream error: Failed to setup RTSP session
[00007f00e80015e0] satip stream error: Failed to teardown RTSP session
[00007f00e80015e0] main stream debug: net: connecting to 192.168.1.200 port 554
[00007f00e80015e0] main stream debug: connection succeeded (socket = 11)
[00007f00e80015e0] access_realrtsp stream warning: Cseq mismatch, got 1, assumed 0
[00007f00e80015e0] access_realrtsp stream debug: rtsp connected
[00007f00e80015e0] access_realrtsp stream warning: only real/helix rtsp servers supported for now
[00007f00e80015e0] main stream debug: no access modules matched
[00007f00f4000c80] main input error: Your input can't be opened
[00007f00f4000c80] main input error: VLC is unable to open the MRL 'rtsp://192.168.1.200:554'. Check the log for details.
[0000563550ad1940] main playlist debug: dead input
[0000563550ad1940] main playlist debug: changing item without a request (current 0/1)
[0000563550ad1940] main playlist debug: nothing to play
To get this working try the snap install.
RTSP streams would not work locally for me either. According to this post, Unable to play any rtsp Streams - in XUbuntu and Debian, Debian VLC builds do not support RTSP.
Here are directions for the snap install