CentOS 7
 
安裝 Nux Dextop repository
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
 
安裝 ffmpeg
yum --enablerepo=nux-dextop install ffmpeg
 
語法文件
https://www.ffmpeg.org/ffmpeg.html
  • RPMForge
    rpm -Uhv http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
    yum install ffmpeg
     
    Mirror
    rpm -ivh http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
    yum install ffmpeg
  • apt repository
    rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
    yum install ffmpeg
    
  • artpms
    rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
    rpm -ivh http://dl.atrpms.net/el6-x86_64/atrpms/stable/atrpms-repo-6-7.el6.x86_64.rpm
    安裝
    yum -y --enablerepo=atrpms install ffmpeg
  1. 安裝 tms 時需另外建立 link :  ln -s /usr/bin/ffmpeg /var/www/tms/sys/bin/ffmpeg-linux
  • 如果之前已經裝過 dag 的 ffmpeg 會裝不起來
    先下 yum remove ffmpeg 然後重裝一次就可以了
Facebook 討論區載入中...