In this tutorial, we will show you how to install FFmpeg on Fedora 36. For those of you who didn’t know, FFmpeg is open-source and free software for managing video, audio, and other multimedia files and streams. FFmpeg compiles and runs on Linux, macOS, Microsoft Windows, BSD systems, and Solaris.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of FFmpeg on a Fedora 36.
- A server running one of the following operating systems: Fedora 36.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install FFmpeg on Fedora 36
Step 1. Before proceeding, update your Fedora operating system to make sure all existing packages are up to date. Use this command to update the server packages:
sudo dnf upgrade sudo dnf update sudo dnf install dnf-plugins-core
Step 2. Installing FFmpeg on Fedora 36.
By default, the FFmpeg package come in the default repository of Fedora 36. Now run the following command below to install the latest version of FFmpeg to your Fedora system:
sudo dnf install ffmpeg ffmpeg-devel
You can verify the installed version of FFmpeg with the following command:
Step 3. FFmpeg Basic Commands.
Here is the list of a few FFmpeg basic command line options. These commands will help you to work with the FFmpeg:
ffmpeg -version: show version ffmpeg -formats: show available formats ffmpeg -codecs: show available codecs ffmpeg -decoders: show available decoders ffmpeg -encoders: show available encoders ffmpeg -bsfs: show available bit stream filters ffmpeg -protocols: show available protocols ffmpeg -filters: show available filters ffmpeg -pix_fmts: show available pixel formats ffmpeg -layouts: show standard channel layouts ffmpeg -sample_fmts: show available audio sample formats
Refer to the official FFmpeg documentation for an in-depth description of its features and examples. If you want to learn more about FFmpeg, input:
Congratulations! You have successfully installed FFmpeg. Thanks for using this tutorial for installing FFmpeg on your Fedora 36 system. For additional help or useful information, we recommend you check the official FFmpeg website.