Centos 7.3 Install ffmpeg 3.1

下载
wget -c ftp://195.220.108.108/linux/dag/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

安装
rpm -Uhv rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

依赖
yum install automake autoconf make gcc gcc-c++ libtool zlib zlib-devel curl curl-devel alsa-lib alsa-lib-devel gettext gettext-devel expat expat-devel nasm pkgconfig bzip2 -y

安装 yasm,gnutls, lame,faac
yum install yasm yasm-devel gnutls gnutls-devel  lame lame-devel faac faac-devel -y


卸载系统自带的,如果不卸载,可能在安装ffmpeg时会出现版本问
yum remove x264 x264-deve


安装最新的x264
wget -c ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-20120718-2245-stable.tar.bz2

解压
tar jxvf x264-snapshot-20120718-2245-stable.tar.bz2
cd x264-snapshot-20120718-2245-stable
./configure --enable-shared  --enable-static
make
make install


wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.g

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 精致技术 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览

应支付9.90元
点击重新获取
扫码支付

支付成功即可阅读