Hello Linux Geeksters. As you may know, FFmpeg is a popular multimedia framework, that enables the users to easily ncode, transcode, mux, demux, stream, filter and play audio and video content. The latest version avaiable is FFmpeg 2.2.3 “Muybridge”, which has been recently released. For information about this release, see the announcement on the official site.
In this article I will show you how to install FFmpeg 2.2.3 on Debian Jessie, Debian Sid and Debian Wheezy.
How to install FFmpeg 2.2.3 on Debian Sid:
Because it is available via the Multimedia Repository, installing FFmpeg 2.2.3 on Debian Sid is easy. All you have to do is add the repository to your system, update the local repository index and install the ffmpeg and deb-multimedia-keyring packages. Like this:
$ sudo sh -c 'echo "deb http://www.deb-multimedia.org sid main" >> /etc/apt/sources.list'
$ sudo apt-get update
$ sudo apt-get install deb-multimedia-keyring
$ sudo apt-get install ffmpeg
How to install FFmpeg 2.2.3 on Jessie:
Also, FFmpeg 2.2.3 is available via the Multimedia Repository, so we have to add the repo to our system, update the local repo index and install the deb-multimedia-keyring and ffmpeg packages. Like this:
$ sudo sh -c 'echo "deb http://www.deb-multimedia.org jessie main" >> /etc/apt/sources.list'
$ sudo apt-get update
$ sudo apt-get install deb-multimedia-keyring
$ sudo apt-get install ffmpeg
How to install FFmpeg 2.2.2 on Debian Wheezy:
For Debian Wheezy, we have to install FFmpeg 2.2.3 from sources.
Follow the below instructions exactly, in order to get a successful installation:
$ sudo sh -c 'echo "deb http://deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list'
$ sudo sh -c 'echo "deb-src http://deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list'
Install the deb-multimedia-keyring package and update the local repository index:
$ sudo apt-get install deb-multimedia-keyring
$ sudo apt-get update
Install the needed dependencies:
$ apt-get install subversion unzip frei0r-plugins-dev libdc1394-22-dev libfaac-dev libmp3lame-dev libx264-dev libdirac-dev libxvidcore-dev libfreetype6-dev libvorbis-dev libgsm1-dev libopencore-amrnb-dev libopencore-amrwb-dev libopenjpeg-dev librtmp-dev libschroedinger-dev libspeex-dev libtheora-dev libva-dev libvpx-dev libvo-amrwbenc-dev libvo-aacenc-dev libaacplus-dev libbz2-dev libgnutls-dev libssl-dev libopenal-dev libv4l-dev libpulse-dev libmodplug-dev libass-dev libcdio-dev libcdio-cdda-dev libcdio-paranoia-dev libvdpau-dev libxfixes-dev libxext-dev libbluray-dev
Download and compile the libxavs library:
$ svn co https://svn.code.sf.net/p/xavs/code/trunk xavs
$ cd xavs
$ ./configure --enable-shared --disable-asm
$ make
$ sudo make install
Download the ffmpeg 2.2.3 sources, extract the archive and cd into the extracted folder:
$ wget http://www.ffmpeg.org/releases/ffmpeg-2.2.3.tar.gz
$ tar -xzvf ffmpeg-2.2.3.tar.gz
$ cd ffmpeg-2.2.3
Configure:
$ ./configure --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-x11grab --enable-swscale --enable-version3 --enable-shared --disable-yasm --enable-filter=movie --enable-frei0r --enable-libdc1394 --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvpx --enable-libvo-amrwbenc --enable-libvo-aacenc --enable-libaacplus --enable-libxavs --enable-bzlib --enable-openssl --enable-gnutls --enable-openal --enable-libv4l2 --enable-libpulse --enable-libmodplug --enable-libass --enable-libcdio --enable-vdpau --enable-libbluray
Install FFmpeg 2.2.3:
$ make
$ sudo make install
Leave a Reply