How to Install FFmpeg on Debian 9

Install FFmpeg on Debian 9

In this article, we will have explained the necessary steps to install and configure FFmpeg on Debian 9. 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 one the free and open source cross-platform solution for converting, recording and streaming media. FFmpeg is also used for converting media files to different formats, resize video, change sample rates for video and audio files.

Install FFmpeg on Debian

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

Step 2. Install FFmpeg.

To install FFmpeg type following command in the terminal:

Confirm the installation and check FFmpeg version typing below command:

The output should be:

Step 3. FFmpeg Basic Commands.

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

Congratulation, you have learned how to install and configure FFmpeg on Debian 9 Stretch. If you have any question, please leave a comment below.