Mutimedia/Ffmpeg debian jessie
De GeRgOsNet
- Configure APT to use the deb-multimedia repository
Note: the commands in this section must be run as root
- 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
- Refresh apt's package database, by typing:
apt-get update
- Allow apt to trust deb-multimedia's key, by typing:
apt-get install deb-multimedia-keyring
- Refresh apt's package database again, by typing:
apt-get update
- Remove ffmpeg Debian packge
Note: the commands in this section must be run as root
- 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
- Install Libraries
Note: the commands in this section must be run as root
- Install library packages and build tools:
apt-get install build-essential libmp3lame-dev libvorbis-dev libtheora-dev libspeex-dev yasm pkg-config libfaac-dev libopenjpeg-dev libx264-dev
- 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)
- Download and extract the ffmpeg source code:
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
- Move into the source directory:
cd ffmpeg-2.7.2
- Configure, build and install:
./configure --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads --enable-libopenjpeg --enable-libfaac --enable-nonfree
make sudo make install
- Run "/sbin/ldconfig" as root.