CentOS7下安装ffmpeg

1、安装epel库

yum -y install epel-release

2、使用第三方源(Nux Dextop)

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-5.el7.nux.noarch.rpm

# CentOS6使用以下地址:
#rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

3、安装ffmpeg

yum -y install ffmpeg ffmpeg-devel

 

你可能感兴趣的:(linux)