How to Install FFmpeg on Centos 7- 2021

How to Install FFmpeg on Centos 7

FFmpeg is an all-in-one multimedia codex that can convert audio and video into different formats. It is available as a command-line tool. FFmpeg supports most audio and video formats. It can also edit and stream multimedia files. Here’s how you can install it onto your Linux-based machine or VPS.

Here are some other FFmpeg features you can look forward to:

  • Extract audio from a series of video files
  • Extract only video with no audio
  • Resize video files
  • Cut existing video into a smaller clip
  • Merge videos
  • Convert audio and video

CentOS does not provide an official repository for FFmpeg installation. This can be installed using a third-party nux dextop yum repo.

To install using CentOS 7, update the system using:

yum install epel-release -y
yum update -y
rpm --import
rpm -Uvh
yum install ffmpeg ffmpeg-devel -y

This completes the installation.

And you’re done! FFmpeg should be successfully added to your Centos 7 machine. To verify the installation, execute:

ffmpeg -version


Installing FFmpeg on a Linux machine is easy, and takes only a few minutes. Just log in as a root user and follow the guidelines and start using this powerful codex!

What's your reaction?