vlc视频播放器安装的小问题
程序员文章站
2022-07-14 19:48:04
...
从vlc官网上查询,因为操作系统是centos7,所以使用如下指令:
$> su -
#> yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
#> yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
#> yum install vlc
#> yum install vlc-core (for minimal headless/server install)
#> yum install python-vlc npapi-vlc (optionals)
安装完成后怎么都启动不了,查找了半天,又是查日志又是找资料,最后查看版本发现了线索:不能用root权限打开vlc!
[aaa@qq.com Desktop]# vlc -v
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
官网就不能写清楚嘛,害我费了半天劲。小坑,大家引以为戒。
下一篇: 安卓VLC编译遇到的问题及解决办法