当我在 RHEL 上安装 ffmpeg 时,出现了这样的错误
> Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libopenal.so.1()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libva.so.1()(64bit) Error: Package: ffmpeg-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libvdpau.so.1()(64bit) Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libSDL-1.2.so.0()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libass.so.5()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libschroedinger-1.0.so.0()(64bit) Error: Package: ffmpeg-2.6.8-3.el7.nux.x86_64 (nux-dextop) > Requires: libSDL-1.2.so.0()(64bit
RHEL7 未注册。
最佳答案
您可以使用提供多媒体包的第 3 方存储库之一,例如 negativo17 (需要启用常规 EPEL 存储库):
# yum 安装 https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum-config-manager --add-repo https://negativo17.org/repos/epel-multimedia.repo
# yum 安装 ffmpeg
顺便说一句,未注册的 RHEL 安装不是一个好主意——没有安全更新,软件安装不方便等。我建议要么购买订阅,要么使用免费的替代品,例如 CentOS。
关于linux - 如何在 rhel7 上安装 ffmpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51078472/