CentOS 6/7安装ffmpeg

时间:2022-03-02 03:28:25

环境

  CentOS 6/7

安装

导入GPG key

rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms

安装ATRPMS Repo

rpm -ivh http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm

选择ATRPMS Repo安装ffmpeg

yum -y --enablerepo=atrpms install ffmpeg ffmpeg-devel

验证ffmpeg版本

ffmpeg -version

参考:http://www.scalescale.com/tips/nginx/ffmpeg-php-ffmpeg-centos-6-7/