vlc: unknown option or missing mandatory argument `–rtsp-tcp’ after upgrading Ubuntu from 20.04 to 22.04

This is due to upstream (Debian) decision to disable rtsp in liblivemedia, because it includes non-free code from RFC 3550. The usual workaround is to install the vlc snap:

snap install vlc

and then use /snap/bin/vlc instead of /usr/bin/vlc.