美文网首页Linux
音/视频工具 FFmpeg 简易安装文档

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

作者: Anoyi | 来源:发表于2019-09-26 16:31 被阅读0次

    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
    

    相关文档

    相关文章

      网友评论

        本文标题:音/视频工具 FFmpeg 简易安装文档

        本文链接:https://www.haomeiwen.com/subject/ejovuctx.html