How To Install FFmpeg on Debian

This guide is described how to install FFmpeg for the following Debian versions: 8, 9, 10. FFmpeg is a free utility for decoding and encoding video or audio. Converting audio and video becomes very easy with this FFmpeg utility. It also provides a cross-platform solution for recording, converting and streaming audio and video. Before starting the installation, we recommend that you update Debian to the latest packages and connect to the server

Using with Debian 9 and 10

Install FFmpeg

$ sudo apt-get install ffmpeg

Check your installation

ffmpeg -version

After entering this code, you should see information about installing FFmpeg. This completes your setup correctly.

Using Debian 8

Editing the original list

$ sudo nano /etc/apt/sources.list

Then you need to add to the end of the file

# deb-multimedia
deb jessie main non-free
deb-src jessie main non-free

# jessie-backports
deb jessie-backports main

After that, you need to save and close the file. Next, update the package list and install the deb-multimedia keychain

$ sudo apt-get update
$ sudo apt-get install deb-multimedia-keyring
$ sudo apt-get update

Install FFmpeg

$ sudo apt-get install ffmpeg

You can finally check the installation using the following command:

ffmpeg -version

If everything is completed correctly, then you should be able to see information about the successful installation of FFmpeg. At this stage, the configuration is complete.

Was this article helpful?

Related Articles

Leave A Comment?