

Before proceeding any further, run a quick upgrade. Next, quite a few upgrades are available for the dependencies required. Once imported, run an APT update to reflect the new addition to your sources list. echo 'deb jammy main' | sudo tee -a /etc/apt//ffmpeg-5-rob-savoury.list echo 'deb jammy main' | sudo tee -a /etc/apt//ffmpeg-4-rob-savoury.list

The FFmpeg 5 requires packages from the existing 4 FFmpeg PPA, import this first. If you have issues importing the GPG key, please see the end section on GPG troubleshooting at the end of the article. The first task is to import the GPG key needed for all the repositories. The current version is FFmpeg 5, but the tutorial requires both to be imported. The best method for installing FFmpeg is to install the FFmpeg PPA by Rob Savoury, whose PPA repositories are well known for supporting multiple software spread across various versions of Ubuntu and its family distributions. sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y Import FFmpeg PPA Many of these will likely be installed if unsure, run the command. sudo apt update & sudo apt upgrade Install Required Packagesīefore you continue, run the following command to install the following packages. FFmpeg Extract Audio from Video Exampleįirst, update your system to avoid any conflicts.
