Install FFMPEG Debian 9/10
Install FFmpeg Debian. H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is the standard for HD video compression. It is currently one of the most commonly used formats for the recording, compression, and distribution of HD video.
The FFmpeg package provided by Debian repositories doesn’t support H.264 due to patent restrictions. But luckily, deb-multimedia.org provides a complete FFmpeg package compiled with full H.264 support and it’s very easy to install to your VPS server or dedicated server. You will need root access and a Debian based OS.
Add deb-multimedia.org to apt sources
First, add the deb multimedia source, We are adding the source for Debian 9 in this example.
Debian 9 FFmpeg Install
echo "deb http://www.deb-multimedia.org stretch main non-free" >> /etc/apt/sources.list
Debian 10 FFmpeg Install
echo "deb http://www.deb-multimedia.org buster main non-free" >> /etc/apt/sources.list
Update apt and install deb-multimedia keyring
Next update apt to get the new files list from the source you just added in the previous step.
apt-get update
apt-get install deb-multimedia-keyring
apt-get update
Remove the Debian FFmpeg package if you have already installed it.
You may have FFmpeg installed already. If you do remove it.
apt-get remove ffmpeg
Install FFmpeg and x264
Now, install FFmpeg. The total install is just over 200MB.
apt-get install ffmpeg x264
Check FFmpeg Version
ffmpeg -version
The output should be similar to this. If you can see “–enable-libx264”, you have H.264 support and the install is complete.
ffmpeg version 3.3.9 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 9.3.0-18+deb9u1) 20200516
configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
ffmpeg 0.7.13
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
How was this article? – Install FFMPEG Debian 9/10
More from Dedicated Servers
Cloud-init Modules That Automate and Customize Deployments
Cloud-init is a popular way to automate deployments of instances in a cloud or none cloud environment. To save having …
Install Ioncube Loaders In Ubuntu, Debian, CentOS and AlmaLinux
Ioncube Loaders are a piece of software that is used to protect the underlying code in PHP applications. Its aim …
Take Rdiff-Backup incremental backups of data in Linux Servers
Taking backups of your data in Linux is likely one of the most important things you can do. No one …