FFmpeg 4.4 “Rao” can now be easily installed on all current Ubuntu releases via Ubuntu PPA.
FFmpeg Is a free open source solution for recording, converting and streaming audio and video. The Major 4.4 version was released almost a month ago with a PGX decoder, AV1 encoding support SVT-AV1, an AV1 decoder that uses only hardware acceleration, an AV1 VAAPI decoder, and many other new features. It was.
Thanks to Rob Savoury, Ubuntu PPA Available Contains packages for all current Ubuntu releases.
Upgrading FFmpeg is not recommended for beginners unless you know what you are trying to do. Dependency issues can occur with some multimedia apps that depend on the specified version of the media library.
1.) Add PPA.
First, open a terminal from the System App Launcher or by pressing Ctrl + Alt + T on your keyboard. Once open, run the following command to add the PPA.
sudo add-apt-repository ppa:savoury1/ffmpeg4
Enter your user password (without asterisk feedback) when prompted and press Enter to continue.
2. ) (Optional) Add an optional PPA.
For the latest version of graphics and multimedia dependencies, you can also run the commands one at a time to add the following PPA:
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 is most often installed on your system. Therefore, you can run the command to upgrade in the terminal.
sudo apt full-upgrade
Note: We do not recommend using the Software Updater in this case. FFmpeg may be suppressed because some apps (and in some cases Pitivi) may require older libraries.
4.) Check the version of FFmpeg.
After installation, run the command to check the software version.
How to restore stock FFmpeg version:
Purging the Ubuntu PPA will downgrade the FFmpeg library to the stock version of Ubuntu. Also, removing FFmpeg PPA may remove some apps for unknown reasons :(.
First, use the command to install the ppa-purge tool.
sudo apt install ppa-purge
Then purge the PPA one by one.
sudo ppa-purge ppa:savoury1/graphics
sudo ppa-purge ppa:savoury1/multimedia
sudo ppa-purge ppa:savoury1/ffmpeg4