Mac 安装步骤
brew install homebrew-ffmpeg/ffmpeg/ffmpeg
Ubuntu 安装步骤
apt update && \
apt-get install -y software-properties-common && \
apt update && \
add-apt-repository -y ppa:jonathonf/ffmpeg-4 && \
apt install -y ffmpeg
Centos7 安装步骤
yum install epel-release -y && \
yum update -y && \
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro && \
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm && \
yum install ffmpeg ffmpeg-devel -y
FFmpeg 相关命令
查看当前版本
ffmpeg -version