WindowsMacLinuxGames
How-To'sLinuxHow to install FFmpeg in Ubuntu 20.04

How to install FFmpeg in Ubuntu 20.04

May 17.2021Linux written by Razvan Iancu
A large and powerful collection of video and audio processing tools

FFmpeg is a library of functions used to process video and audio files. With FFmpeg you can do a lot of things, such as encoding videos or transcoding audio into different formats. FFmpeg also offers a simple command line terminal interface to perform a large number of tasks of managing, editing and analyzing audio and video files.

In this guide we will show you how to install FFmpeg in Ubuntu 20.04

1. Install FFmpeg from the Ubuntu repository

The fastest and easiest way to install FFmpeg on Ubuntu is to use the command to download it from the Ubuntu software store. To do this, open a terminal and type the following two commands:

$ sudo apt update
$ sudo snap install ffmpeg

How to install FFmpeg in Ubuntu 20.04 - screenshot 01

Once the process is complete, you can check if it is installed and check the version number with this command:

$ ffmpeg -version
How to install FFmpeg in Ubuntu 20.04 - screenshot 02

2. All available encoders and decoders

You can use the following commands to see all the encoders and decoders available through FFmpeg:

$ ffmpeg -encoders
$ ffmpeg -decoders

How to install FFmpeg in Ubuntu 20.04 - screenshot 03

3. Directories where you can find FFmpeg binary applications

After installation you can find the binary applications in the following directories:

ffmpeg -> /snap/bin/ffmpeg>
ffprobe -> /snap/ffmpeg/1286/bin/ffprobe
ffplay -> /snap/ffmpeg/1286/bin/ffplay

4. Uninstall ffmpeg

If you want to uninstall FFmpeg, use the following command:

$ sudo snap remove --purge ffmpeg
How to install FFmpeg in Ubuntu 20.04 - screenshot 04

5. In conclusion

In this presentation you saw how to install FFmpeg on Ubuntu 20.04. FFmpeg is a powerful collection of video and audio processing tools that you can use to manipulate video and audio files in any way you can imagine. Check out the official documentation on the FFmpeg website to see what it can do.

Documentation ffmpeg