centos 安装ffmpeg

来源:互联网 发布:淘宝网买东西的步骤 编辑:程序博客网 时间:2024/06/11 15:12

安装前先安装epel扩展源

yum -y install epel-release

CentOS 6: 安装yum源之后直接安装即可:

su -c ‘yum localinstall –nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm’

yum -y install ffmpeg ffmpeg-devel

CentOS 7 : 安装扩展源:

su -c ‘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’

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

yum -y install ffmpeg ffmpeg-devel

原创粉丝点击