一、ffmpeg是什么
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.
FFmpeg是领先的多媒体框架,能够解码、编码、转码、复用、解复用、流处理、过滤和播放几乎人类和机器创造的任何内容。它支持从最古老、最小众到最新的格式。无论是由标准委员会、社区还是公司设计的,FFmpeg都可以处理。它还具有高度的可移植性:在Linux、Mac OS X、Microsoft Windows、BSD、Solaris等各种构建环境、机器架构和配置下,FFmpeg可以编译、运行,并通过我们的测试基础设施FATE。
二、windows安装
我选择第二个进行下载安装
点击红框下载
解压至文件夹中
配置环境变量
三、linux安装(ubuntu)
1、命令安装
sudo apt install ffmpeg
博主使用命令安装时此命令安装的版本为4.4.2
而官网的版本已经更新到了7.6.1
2、包安装
因为上述版本已经满足了博主的使用需求,就没有再选择包安装,如果有需要的小伙伴可自行搜索一下如何使用包安装~