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-ffmpegyum -y install gstreamer-plugins-uglyyum -y install gstreamer-plugins-badyum -y install ffmpegyum -y install libvdpauyum -y install mpg123yum -y install mplayeryum -y install mplayer-guiyum -y install gstreamer1-libavyum -y install vlc
3、重启系统。
相关视频教程推荐:linux视频教程