centos 安装ffmpeg

2018-09-03

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 )条评论

昵称*
快评短语
写的太好了,正好为我解惑 一般般,不详细 无感觉,然并卵 没啥事,就来灌一下水 还有其它的吗?