- 安装ffmpeg
- 将下载的ffmpeg-4.1.tar.bz2(官网http://ffmpeg.org/download.html)拷贝至服务器目录下
- 解压:tar -xvzf ffmpeg-4.1.tar.bz2
- cd ffmpeg-4.1
- 配置:./configure
- 编译:make(耗时较长)
- 安装:make install
常见问题:
- 错误:yasm/nasm not found or too old. Use --disable-yasm for a crippledbuild
解决办法:①安装合适版本的yasm
https://blog.csdn.net/yzhang6_10/article/details/75635734
②配置时使用:./configure --disable-x86asm
2.编译ffmpeg过程报错gcc is unable to create an executable file. If gcc is a cross-compiler,