转:centos 7 安装音频视频解码器
(原文:https://blog.csdn.net/zhou1519/article/details/39035233/)
1.安装额外的软件源epel和nux-dextop
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel//RPM-GPG-KEY-EPEL-7
2.安装所需的文件
yum -y --enablerepo=nux-dextop install gstreamer-ffmpeg vlc gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-plugins-ugly ffmpeg libvdpau mpg123 mplayer mplayer-gui gstreamer-plugins-bad-nonfree gstreamer1-libav gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly
ps:其中有些是系统安装时可能自带了的,安装过程会自动忽略;默认情况下nux-dextop
是失效的,所以要加上--enablerepo