FFmpeg is a popular multimedia framework. Its detailed functions are not described much. For more information, see Wikipedia. The latest ffmpeg 2.2.2 version has been released recently. For release information, see the announcement on the official website.
This article will teach you how to install FFmpeg 2.2.2 On Debian Jessie, Debian Sid, and Debian Wheezy systems.
------------------------------------------ Split line ------------------------------------------
Recommended reading:
Compile FFmpeg in Linux to download and compile the source file
Linux compiling and upgrading FFmpeg
Install FFMPEG on CentOS 5.6
Install FFmpeg in Ubuntu
Install FFmpeg 2.2.2 In PPA in Ubuntu 14.04
------------------------------------------ Split line ------------------------------------------
Install On Debian Sid
The installation is very convenient because the library is available. Open the terminal and enter the following command:
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
Debian Jessie user installation
Because there is a database source, it is still very simple. Open the terminal and enter the following command:
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
Debian Wheezy installation is a little effort-consuming.
Use the installation Source:
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 deb-multimedia-keyring and update the local repository index:
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
Install the dependency package:
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.2 source code package, decompress the file, and run the CD command to go To the decompressed directory:
wget http://www.ffmpeg.org/releases/ffmpeg-2.2.2.tar.gz
tar -xzvf ffmpeg-2.2.2.tar.gz
cd ffmpeg-2.2.2
Configuration:
./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
Installation command:
make
sudo make install
This article permanently updates the link address: