步骤如下:

  1. fedora源: rpm -Uh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm


  2. ElRepo源(地址:http://elrepo.org/tiki/tiki-index.php):

        导入公钥:rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

        导入源:rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm (适用于RHEL-7, SL-7 or CentOS-7)

  [[  for RHEL-6, SL-6 or CentOS-6:   rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm   ]]



   3.My RPM repositories for EL (RHEL, CentOS, ScientificLinux etc) (地址:http://li.nux.ro/repos.html)

    EL7: 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

  [[ EL6: yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm  ]]
  


    4.  yum repolist (用来确定源 epel, elrepo, nux-dextop 是否安装正确)


    5.   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


    6.  yum install mplayer


    7.  yum install vlc (安装之后,若有黑影无声或choppy video,须调preference audio 和video setting)


 

 


  ^_^