sudo apt install vlc
sudo snap install vlc
两种方式安装的vlc都无法播放rtsp流
解决办法使用 flatpak来安装vlc
#第一步
sudo apt install flatpak
#或者在旧的Ubuntu系统中
sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt install flatpak
#第二步
sudo apt install gnome-software-plugin-flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
#第三部
sudo reboot
flatpak install vlc
完美解决因为依赖导致的vlc播放rtsp流失败问题
参考
https://flatpak.org/setup/Ubuntu
https://zhuanlan.zhihu.com/p/267160794
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/280726.html