Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install FFmpeg on CentOS8

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "how to install FFmpeg on CentOS8". In the operation of practical cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Step 1: install the RPMfusion Yum repository

The RPM Fusion repository was created to provide software that is not available in Fedora and Red Hat-based distributions. All software applications available in the repository are provided as precompiled RPM files. We will install FFmpeg on CentOS 8/RHEL 8 from the RPMfusion repository.

Before enabling RPM Fusion for EL, you need to enable EPEL on RHEL or a compatible distribution, such as CentOS.

[linuxidc@localhost ~ / www.linuxidc.com] $sudo dnf-y install https://download.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Use the following command to add it to your system.

[linuxidc@localhost / www.linuxidc.com] $sudo dnf localinstall-- nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm [linuxidc@localhost ~ / www.linuxidc.com] $sudo dnf install-- nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfee-release-8.noarch.rpm

Accept the installation.

Step 2: install FFmpeg on CentOS 8/RHEL 8

After adding the EPEL and RPM Fusion repositories, run the following command from the terminal to install FFmpeg on the CentOS 8 / RHEL 8 Linux system.

[linuxidc@localhost ~ / www.linuxidc.com] $sudo dnf install http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.10-1.l7.x86_64.rpm [linuxidc@localhost ~ / www.linuxidc.com] $sudo dnf install ffmpeg

Install the development library by running the following command:

[linuxidc@localhost ~ / www.linuxidc.com] $sudo dnf-y install ffmpeg-devel

Step 3: check the FFmpeg version on CentOS/RHEL 8

Use the following command to check the version of FFmpeg installed on the RHEL/CentOS system.

[linuxidc@localhost ~ / www.linuxidc.com] $rpm-qi ffmpeg

[linuxidc@localhost ~ / www.linuxidc.com] $ffmpeg-version ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (GCC)

Help for using FFmpeg

[linuxidc@localhost ~ / www.linuxidc.com] $ffmpeg-- help

OK . That's all for now.

This is the end of "how to install FFmpeg on CentOS8". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report