How to Install FFmpeg on CentOS 8, 7 or6 – VPS or Dedicated

H

How to Install FFmpeg on CentOS 8, 7 or6 – VPS or Dedicated

FFmpeg is a popular open-source solution to record, convert, and stream audio and video, which is widely used in all kinds of online streaming services. This guide has been tested on CentOS 6, 7, and 8.

This tutorial walks you through installing FFmpeg on CentOS 8, 7, 6

  • Deploy a new CentOS cloud server instance.
  • Login to root ssh download Bitvise SSH Client

Installing FFmpeg on CentOS 8

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
yum install http://rpmfind.net/linux/epel/7/x86_64/Packages/s/SDL2-2.0.10-1.el7.x86_64.rpm

Install the FFmpeg and FFmpeg development packages.

yum install ffmpeg ffmpeg-devel -y

Installing FFmpeg on CentOS 7

The RPM Fusion repository depends on the EPEL software repository. If the EPEL is not enabled on your system, enable it by typing:

yum install epel-release

Next, enable the RPM Fusion repository by installing the rpm package :

yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

Once the repository is enabled, install FFmpeg:

yum install ffmpeg ffmpeg-devel

Installing FFmpeg on CentOS 6

Install the Nux Desktop repository.

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

Install the FFmpeg and FFmpeg development packages.

yum install ffmpeg ffmpeg-devel -y

Test the FFmpeg Installation

Confirm the installation of FFmpeg:

ffmpeg -version

Conclusion

We have shown you how to install FFmpeg on CentOS 7 machines. You can now visit the official FFmpeg Documentation page and learn how to use FFmpeg to convert and your video and audio files.

If you hit a problem or have feedback, leave a comment below.

Add Comment

tutsfx

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.