How to Install FFmpeg on Ubuntu 18.04 Bionic Beaver

Install FFmpeg on Ubuntu 18.04 Bionic Beaver

In this article, we will have explained the necessary steps to install and configure FFmpeg on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

FFmpeg is a source command line application for transcoding multimedia documents. It comprises a set of video libraries and shared audio like libavcodec, libavformat, and libavutil. Between different video and audio formats, sample prices that are placed and resize videos, you can convert with FFmpeg.

Install FFmpeg on Ubuntu 18.04

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install FFmpeg on Ubuntu.

To install the latest version of FFmpeg, you need to configure PPA on your system:

Verify the installation by running the ffmpeg -version command which will print the FFmpeg version:

The output should look something like this:

Step 3. FFmpeg Basic Commands.

Here is the list of the ffmepg basic command options used with ffmpeg command line tool:

Congratulation, you have learned how to install and use FFmpeg on Ubuntu 18.04. If you have any question, please leave a comment below.