# 安装

# Windows

官网下载安装,下载 build 包,安装后配置环境变量即可

# 举例
FFMPEG_PATH:D:\Software\FFmpeg\bin
Path:D:\Software\FFmpeg\bin

# Linux

# 添加软件源
apt install wget
wget https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm 2
wget https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm 1
apt install rpm
rpm -ivh *.rpm
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro 2
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm 2
# 或者使用更新
apt update
# ubuntu
apt install ffmpeg