Question: How can install FFmpeg on Fedora 34/33/32/31/30/29?. FFmpeg is a free and open source multimedia framework that can encode, decode, stream, transcode, mux, demux, play and filter almost any multimedia file created by humans and machines.

install ffmpeg fedora 29

FFmpeg is a cross-platform application which runs on Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc, under wide variety of build environments, configurations and machine architectures

FFmpeg Tools

There are three main components of FFmpeg.

  • ffmpeg – A command line tool to convert multimedia files between formats
  • ffplay – A simple media player based on SDL and the FFmpeg libraries
  • ffprobe – A simple multimedia stream analyzer

FFmpeg also contain Libraries for developers – libavutil, libavcodec, libavformat, libavdevice, libavfilter, libswscale and libswresample.

The transcoding process in ffmpeg for each output can be described by the following diagram:

ffmpeg transcode process

Install FFmpeg on Fedora 34/33/32/31/30/29

There are two steps to installing FFmpeg on Fedora.

Step 1: Configure RPMfusion Yum Repository

FFmpeg packages are available in RPMfusion repository. Add it to your Fedora using the commands below.

sudo dnf -y install$(rpm -E %fedora).noarch.rpm
sudo dnf -y install$(rpm -E %fedora).noarch.rpm

Step 2: Install FFmpeg on Fedora 34/33/32/31/30

After the repository has been added, proceed to install FFmpeg on Fedora.

sudo dnf -y install ffmpeg

Install development libraries by running the command\:

sudo dnf -y install ffmpeg-devel

Step 3: Check FFmpeg Version

Check the version of FFmpeg installed on your Fedora system using the command.

$ ffmpeg -version
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (GCC)

libavutil      56. 14.100 / 56. 14.100
libavcodec     58. 18.100 / 58. 18.100
libavformat    58. 12.100 / 58. 12.100
libavdevice    58.  3.100 / 58.  3.100
libavfilter     7. 16.100 /  7. 16.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  1.100 /  5.  1.100
libswresample   3.  1.100 /  3.  1.100
libpostproc    55.  1.100 / 55.  1.100

Step 4: Using FFmpeg

The usage of ffmpeg depends on individual projects and desired output. Refer to the official FFmpeg documentation for an in-depth description of its features and examples.

Other example is Converting mp4/mkv/WebM to mp3 on Linux with FFmpeg

If you want to download Videos from YouTube, check:

Annie – Fastest YouTube Video Downloader for Linux

You can also get all command line options from:

$ ffmpeg --help

Thank you for using our guide to install FFmpeg on Fedora.

For CentOS 8 / RHEL 8, use: How To Install FFmpeg on CentOS 8 / RHEL 8

Other Fedora articles:

How to Install TeamViewer on Fedora

How to Install PHP on Fedora

Install and Configure phpMyAdmin on Fedora

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.



Please enter your comment!
Please enter your name here