How to Install FFMPEG 4.4 via PPA in Ubuntu 20.04, 18.04, & 21.04

May 11, 2021 — 2 Comments

FFMPEG

FFmpeg 4.4 “Rao” now can be installed in all current Ubuntu releases easily via an Ubuntu PPA.

FFmpeg is a free and open-source solution to record, convert and stream audio and video. The major 4.4 version was released almost a months ago with PGX decoder, AV1 encoding support SVT-AV1, AV1 decoder with hardware acceleration used only, AV1 VAAPI decoder, and so many other new features.

Thanks to Rob Savoury, an Ubuntu PPA is available contains the packages for all current Ubuntu releases.

Upgrading FFmpeg is not recommended for beginners unless you know what you’re going to do. It may cause dependency issue for some multi-media apps that depends on specified version of a media library.

1.) Add the PPA:

Firstly open terminal either from system app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:savoury1/ffmpeg4

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) (Optional) Add optional PPAs:

For newest versions of graphics and multimedia dependencies, you can also add the following PPAs by running commands one by one:

sudo add-apt-repository ppa:savoury1/graphics
sudo add-apt-repository ppa:savoury1/multimedia

3.) Finally install / update FFmpeg:

As a widely used media library, it’s mostly installed on your system. So you can run command to upgrade it in terminal:

sudo apt full-upgrade

NOTE: using Software Updater is not recommended in the case. It may keep back FFmpeg since old libraries may be required for some apps, Pitivi in the case.

4.) Check FFmpeg version:

Once installed, run command to check software version:

ffmpeg -version

How to Restore Stock FFmpeg version:

You can purge the Ubuntu PPA which will also downgrade FFmpeg libraries to the stock version in Ubuntu. Also purging the FFmpeg PPA may also remove some apps for unknown reasons :(.

Firstly install ppa-purge tool via command:

sudo apt install ppa-purge

Then purge the PPAs one by one:

sudo ppa-purge ppa:savoury1/graphics
sudo ppa-purge ppa:savoury1/multimedia
sudo ppa-purge ppa:savoury1/ffmpeg4

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

2 responses to How to Install FFMPEG 4.4 via PPA in Ubuntu 20.04, 18.04, & 21.04

  1. Tomáš Janata May 24, 2021 at 5:19 am

    Hello,

    I tried to upgrade FFmpeg to version 4.4 according to in the article mentioned instructions (running Bodhi Linux 5.1.0 64bit). Unfortunatelly, after installation of all 3 packages, I completely lost sound on my system (built-in audio analog stereo was no more available on the system). I spent a lot of hours trying to solve this problem. Finally, only PPA-purge (I purged all 3 packages) helped me to get sound back on my system. Maybe another users have the same experience?

    • I’m not using Bodhi Linux, but upgrading FFmpeg library should not affect the sound server.

      You may try adding only “ppa:savoury1/ffmpeg4” PPA, and skip this two optional PPAs in step 2.) which may cause the issue.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.