撰于 阅读 77

在 CentOS 8 上安装 FFmpeg

Negativo17软件源依赖EPEL 和 PowerTools 软件源。以 root 或者其他有 sudo

权限的用户身份运行下面的命令,启用必须的软件源:

sudo dnf install epel-release
sudo dnf config-manager --set-enabled PowerTools
sudo dnf-config-manager --add-repo=https://negativo17.org/repos/epel-multimedia.repo

一旦软件源被启用,安装FFmpeg:

sudo dnf install ffmpeg

通过检测版本号,验证FFmpeg安装:

ffmpeg -version

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (GCC) ...