1、官网下载 linux安装包 http://ffmpeg.org/download.html 2、然后参考如下:https://blog.csdn.net/thomaszhaoyc/article/details/78233555 进行包的编译和安装