安装FFmpeg
编译安装
0.环境
CentOS Linux release 7.3.1611 (Core)
1.下载安装文件,解压
下载地址 http://ffmpeg.org/download.html
wget http://ffmpeg.org/releases/ffmpeg-3.4.tar.bz2
tar -xvf ffmpeg-3.4.tar.bz2
2.安装
cd ffmpeg-3.4
./configure
此时可能报错:
nasm/yasm not found or too old. Use --disable-x86asm for a crippled
build.
发现本机没有安装 yasm,那么安装它
yum install yasm
make
时间略长,需要好几分钟时间
make install