Rumah > Artikel > Operasi dan penyelenggaraan > centos无法播放视频
1、安装epel、elrepo、nux-dextop源
epel地址: wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
elrepo地址: rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
nux-dextop地址: yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
(推荐教程:centos使用教程)
2、root账户下安装以下解码器:
yum -y install gstreamer-ffmpeg yum -y install gstreamer-plugins-ugly yum -y install gstreamer-plugins-bad yum -y install ffmpeg yum -y install libvdpau yum -y install mpg123 yum -y install mplayer yum -y install mplayer-gui yum -y install gstreamer1-libav yum -y install vlc
3、重启系统。
相关视频教程推荐:linux视频教程
Atas ialah kandungan terperinci centos无法播放视频. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!