1 yasm依赖安装
http://yasm.tortall.net/Download.html
下载 wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
解压 tar -xvf yasm-1.3.0.tar.gz
进入目录,进行安装
cd yasm-1.3.0/
./configure && make && make install
2 下载地址 https://ffmpeg.org/ 下载4.3.1
wget http://www.ffmpeg.org/releases/ffmpeg-4.3.1.tar.gz
3 安装
chmod +x ./configure
tar -xvf ffmpeg-4.3.1.tar.gz
cd ffmpeg-4.3.1/
./configure && make && make install
4 检查
ffmpeg -version
[root@localhost local]# ffmpeg -version
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (GCC)
configuration:
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
[root@localhost local]#