

Let’s attempt extracting metadata or audio from a video and converting a video or audio file to another format. You can see that FFmpeg is installed and operating correctly. You have successfully installed FFmpeg on your Ubuntu OS. ffmpeg -encodersįrom the outputs, you can tell the existing decoders and encoders. Use the instructions below to learn about FFmpeg’s available encoders and decoders. Step 4: Decoders and EncodersĮncoders and Decoders are the fourth and last step. ffmpeg -version ffmpeg versionįrom the above output, you can tell that FFmpeg was successfully installed in our Ubuntu operating system. Use the following code to verify that FFmpeg was successfully installed. Note: I had already installed it hence you see the output above displays ffmpeg has already been installed. Press’ Y’ to continue with the installation process. sudo apt install ffmpeg Install ffmpegĭuring the installation process, you will get a prompt. The following command line is used to install FFmpeg on Ubuntu 22.04.

Step 2: Download and install FFmpeg.įFmpeg packages are included by default in Ubuntu repositories and may be installed with the apt package manager. Once the above command has been duly executed, you can proceed to step 2 below. sudo apt update & sudo apt upgrade update system Before deploying anything on your os, it is a good idea to update both the system and the current packages.
