我google找到这个方法可以简单快速安装 mplayer 和 vlc,centos 7 only。
Please google the latest release for the following packages.
1. sudo rpm -ivh epel-release-7-0.2.noarch.rpm
2. sudo rpm -Uvh elrepo-release-7.0-2.el7.elrepo.noarch.rpm
3. sudo rpm -Uvh nux-dextop-release-0-1.el7.nux.noarch.rpm (有人把其他所须相关的软体全放在这个rpm裏面)
4.
sudo yum -y --enablerepo=nux-dextop install gstreamer-ffmpeg vlc
gstreamer-plugins-ugly gstreamer-ffmpeg 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
5. yum repolist (用来确定repo软体epel, elrepo, nux-dextop 安装正确)
6. sudo yum install mplayer (mplayer should play mp4, mkv...)
7. sudo yum install vlc (安装之后,若有黑影无声或choppy video,须调preference audio 和video setting)
http://pkgs.org/上面全部都能搜到