centos 安装ffmpeg
官方地址下载
wget http://www.ffmpeg.org/releases/ffmpeg-4.0.tar.gz
如无法下载或者下载慢请使用下面的地址
wget https://zxdowncom.oss-cn-shanghai.aliyuncs.com/package/ffmpeg-4.0.tar.gz
tar -zxvf ffmpeg-4.0.tar.gz
cd ffmpeg-4.0
./configure
make && make install
接着就是漫长的等待了。。。。。。。
查看一下版本
ffmpeg -version

如果安装过程中出现以下错误:
yasm/nasm not found or too old. Use –disable-yasm for a crippled build.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file “config.log” produced by configure as this will help
solve the problem.
需要先进行安装yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
如无法下载或者下载慢请使用下面的地址
wget https://zxdowncom.oss-cn-shanghai.aliyuncs.com/package/yasm-1.3.0.tar.gz
tar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make && make install
期待你的留言
已有( 0 )条评论*验证码: