1、访问https://johnvansickle.com/ffmpeg/
2、下载地址:https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
3、下载 wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
4、tar.xz,这是两层压缩,外面是xz压缩,里层是tar压缩,所以分两步实现解压。
xz -d ffmpeg-release-amd64-static.tar.xz
tar -xvf ffmpeg-release-amd64-static.tar
或者一步到位
tar -xvJf ffmpeg-release-amd64-static.tar.xz
5、测试:
ffmpeg -i test.mp4