概述
1、下载ffmpeg
wget http://www.ffmpeg.org/releases/ffmpeg-3.1.tar.gz
2、解压
tar -zxvf ffmpeg-3.1.tar.gz
3、进入解压目录进行编译安装
./configure
make
make install
4、安装过程如果出现如下错误,说明需要安装yasm插件
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.
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make && make install
5、安装好yasm插件后,重新安装ffmpeg
./configure
make
make install
接着就是漫长的等待了。。。。。。。。可以去喝杯咖啡,听听音乐了o(∩_∩)o
最后
以上就是单薄灰狼为你收集整理的centos安装ffmpeg的全部内容,希望文章能够帮你解决centos安装ffmpeg所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复