You are on page 1of 5

10/02/2017 Installing Ffmpeg on Debian GNU/Linux Version 8.

0 (Jessie)

News updates Support Blog Resources Contact

Features Pricing Hosting Clients Uses Try a Demo 

Support Documentation Admin Resources Services

Installing Ffmpeg on Debian


GNU/Linux Version 8.0 (Jessie)

Support » Installing Ffmpeg on Debian GNU/Linux Version 8.0 (Jessie)

For Asset Bank to be able to create thumbnails and previews for video and audio files Asset
Bank uses Ffmpeg (http://ffmpeg.mplayerhq.hu).

The following instuctions explain how to install Ffmpeg from source (and so they require a
compiler such as gcc). Please note:

Ffmpeg will be installed into /usr/local/bin


These instructions are specifically for version 8.0 (Jessie) of Debian GNU/Linux. Use
these instructions instead if you are using another GNU/Linux distribution.

1. Configure APT to use the deb-multimedia


repository
Note: the commands in this section must be run as root

1.1) Add the following to the bottom of /etc/apt/sources.list:

deb http://www.deb-multimedia.org jessie main non-free


deb-src http://www.deb-multimedia.org jessie main non-free

1.2) Refresh apt's package database, by typing:

https://www.assetbank.co.uk/support/documentation/install/ffmpeg­debian­squeeze/ffmpeg­debian­jessie/ 1/5
10/02/2017 Installing Ffmpeg on Debian GNU/Linux Version 8.0 (Jessie)

apt-get update

1.3) Allow apt to trust deb-multimedia's key, by typing:

apt-get install deb-multimedia-keyring

1.4) Refresh apt's package database again, by typing:

apt-get update

2. Remove ffmpeg Debian packge


Note: the commands in this section must be run as root

2.1) Remove the ffmpeg package, if it is installed, to avoid confusion caused by having two
versions of ffmpeg installed and potential conflicts with the packages that will be installed in
the next step:

apt-get remove ffmpeg

3. Install Libraries
Note: the commands in this section must be run as root

3.1) Install library packages and build tools:

apt-get install build-essential libmp3lame-dev libvorbis-dev lib


theora-dev libspeex-dev yasm pkg-config libfaac-dev libopenjpeg-
dev libx264-dev

4. Install Ffmpeg
Note: we recommend that the commands in this section are run as a non-root user (although
they should still work if run as root)

4.1) Download and extract the ffmpeg source code:

https://www.assetbank.co.uk/support/documentation/install/ffmpeg­debian­squeeze/ffmpeg­debian­jessie/ 2/5
10/02/2017 Installing Ffmpeg on Debian GNU/Linux Version 8.0 (Jessie)

mkdir software

cd software

wget http://ffmpeg.org/releases/ffmpeg-2.7.2.tar.bz2

cd ..

mkdir src

cd src

tar xvjf ../software/ffmpeg-2.7.2.tar.bz2

4.2) Move into the source directory:

cd ffmpeg-2.7.2

4.3) Configure, build and install:

./configure --enable-gpl --enable-postproc --enable-swscale --en


able-avfilter --enable-libmp3lame --enable-libvorbis --enable-li
btheora --enable-libx264 --enable-libspeex --enable-shared --ena
ble-pthreads --enable-libopenjpeg --enable-libfaac --enable-nonf
ree

make

sudo make install

4.4) Run "/sbin/ldconfig" as root.

https://www.assetbank.co.uk/support/documentation/install/ffmpeg­debian­squeeze/ffmpeg­debian­jessie/ 3/5
10/02/2017 Installing Ffmpeg on Debian GNU/Linux Version 8.0 (Jessie)

“Browse our extensive


knowledgebase for quick and easy
solutions.”
WARREN, CUSTOMER SUPPORT

Request a  Try a demo  Get in touch 


quote Book a guided Call us now on:
Answer a few demo, set up a +44 (0) 1273
simple 14 day trial or 923150
questions for a watch a demo.
tailor made Or, send us a
quote. message.

Sign up for news updates


Keep up to date with new features and more. Previous news.

Your email address 

Getting Started Services About Us Contact Us

Personal Demo Support Uses Enquiry Form


Free Trial Hosting Case Studies Request a Quote
Online Demos Installation Client List Customer Support
Video Demo Blog Client Reviews Call us: +44 (0) 1273
923150

https://www.assetbank.co.uk/support/documentation/install/ffmpeg­debian­squeeze/ffmpeg­debian­jessie/ 4/5
10/02/2017 Installing Ffmpeg on Debian GNU/Linux Version 8.0 (Jessie)

Sitemap Warranty Privacy CSR Policy Cookies Security

https://www.assetbank.co.uk/support/documentation/install/ffmpeg­debian­squeeze/ffmpeg­debian­jessie/ 5/5

You might also like