云迈博客

您现在的位置是:首页 > 其他 > 正文

其他

Centos 8 安装 ffmpeg

wsinbol2021-05-19其他504
场景描述ffmpeg是著名的流媒体工具,CentOS8上安装ffmpeg却提示如下所示的错误!![](http://blog.yunmell.vip/zb_users/upl<

场景描述

ffmpeg是著名的流媒体工具,CentOS 8 上安装 ffmpeg 却提示如下所示的错误!

解决过程

Q:

I was trying to install erlang package on CentOS8 box from EPEL8. And I got this message -> - nothing provides libSDL2-2.0.so.0()(64bit) needed by wxGTK3-3.0.4-10.el8.1.x86_64

Which I found weird, I rarely see dependencies errors on a vanilla centos box with EPEL. But I couldnt find the SDL2 package.. RHEL 8 does have it.
SDL2, SDL2-devel, SDL2-static

A:

Nevermind! I found them in the powertools c8 repos. http://mirror.leaseweb.com/centos/8/PowerTools/x86_64/os/Packages/

R:

I’ve enable repo:
sudo dnf config-manager –set-enabled PowerTools

List your repos:
sudo dnf repolist all

命令历史:

2021-05-19 12:20:48 sudo dnf install epel-release dnf-utils
2021-05-19 12:20:59 sudo yum-config-manager –set-enabled PowerTools
2021-05-19 12:21:09 sudo yum-config-manager –add-repo=https://negativo17.org/repos/epel-multimedia.repo
2021-05-19 12:21:17 sudo dnf install ffmpeg
2021-05-19 13:09:10 sudo dnf repolist all
2021-05-19 13:09:42 sudo dnf repolist all | grep power
2021-05-19 13:09:51 sudo dnf config-manager –set-enabled PowerTools
2021-05-19 13:09:59 sudo dnf config-manager –set-enabled powertools
2021-05-19 13:10:05 sudo dnf install ffmpeg

测试结果

发表评论

评论列表

  • wsinbol(2021-07-12 11:59:19)回复取消回复

    源码编译安装方式:https://www.cnblogs.com/javabianhua/p/13256281.html