Skip to content

feat(linux): Add ffmpeg #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/linux/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
- [安装mongodb](linux/soft/mongodb.md)
- [安装minio](linux/soft/minio.md)
- [安装nginx](linux/soft/nginx.md)
- [安装oracle](linux/soft/oracle.md)
- [安装oracle](linux/soft/oracle.md)
- [安装ffmpeg](linux/soft/ffmpeg.md)
25 changes: 25 additions & 0 deletions docs/linux/soft/ffmpeg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
> Tencent Centos 8

FFmpeg 在默认的CentOS 8 源仓库中没有提供。你可以选择通过源文件编译安装 FFmpeg,或者使用dnf工具从Negativo17源仓库中安装。我们将会使用第二个选项。

完成下面的步骤,在 CentOS 8 上安装 FFmpeg:

1.Negativo17软件源依赖EPEL 和 PowerTools 软件源。以 root 或者其他有 sudo 权限的用户身份运行下面的命令,启用必须的软件源:

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

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

```shell
sudo dnf install ffmpeg
```

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

```shell
ffmpeg -version
```