音/视频工具 FFmpeg 简易安装文档

作者: Anoyi

打开App

Mac 安装步骤

brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint \
    --with-fdk-aac \
    --with-game-music-emu \
    --with-libbluray \
    --with-libbs2b \
    --with-libcaca \
    --with-libgsm \
    --with-libmodplug \
    --with-librsvg \
    --with-libsoxr \
    --with-libssh \
    --with-libvidstab \
    --with-libvmaf \
    --with-libxml2 \
    --with-opencore-amr \
    --with-openh264 \
    --with-openjpeg \
    --with-openssl \
    --with-rtmpdump \
    --with-rubberband \
    --with-speex \
    --with-srt \
    --with-tesseract \
    --with-two-lame \
    --with-wavpack \
    --with-webp \
    --with-xvid \
    --with-zeromq \
    --with-zimg

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

提醒:CentOS 此方式安装 FFmpeg 的版本较低

FFmpeg 相关命令

查看当前版本

ffmpeg -version

相关文档

评论

评论

昵称
邮箱