Install ffmpeg in Debian 8 Jessie


Configure APT to use the deb-multimedia repository

rm /etc/apt/sources.list.d/deb-multimedia.list
echo 'deb http://www.deb-multimedia.org jessie main non-free deb-src http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list.d/deb-multimedia.list
apt update
apt-get install deb-multimedia-keyring
apt update

 

Install liblaries:

apt-get install build-essential libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libfaac-dev libopenjpeg-dev libx264-dev

 

Install fmpeg which is part of libav-tools:

apt-get install libav-tools