Centos 7 下利用yum安装ffmpeg

1、安装补充的yum仓库

#yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm

2、安装

#yum -y install ffmpeg

3、测试

#ffmpeg

如果结果如上图所示,则说明ffmpeg安装成功