Debian Jessie (8.0)
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 \
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 build-essential git-core yasm libgpac-dev \
libdirac-dev libgsm1-dev libschroedinger-dev libspeex-dev libvorbis-dev libopenjpeg-dev \
libdc1394-22-dev libsdl1.2-dev zlib1g-dev texi2html libfaac-dev libfaad-dev \
libmp3lame-dev libtheora-dev libopencore-amrnb-dev libopencore-amrwb-dev \
libvpx-dev libfreetype6-dev frei0r-plugins-dev librtmp-dev libaacplus-dev libx264-dev \
libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev
./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-libschroedinger --enable-libspeex \
--enable-libtheora --enable-libvpx --enable-libvo-amrwbenc \
--enable-libxavs --enable-bzlib --enable-openssl \
--enable-openal --enable-libutvideo --enable-libv4l2 --enable-libpulse \
--enable-libmodplug --enable-libass --enable-libcdio --enable-vdpau --enable-libbluray
Debian Wheezy
echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list
apt-get update
apt-get install deb-multimedia-keyring # if this aborts, try again
apt-get update
# Go to local source directory
cd /usr/local/src
# Install all dependencies we'll need
aptitude install \
-y \
libfaad-dev \
faad \
faac \
libfaac0 \
libfaac-dev \
libmp3lame-dev \
x264 \
libx264-dev \
libxvidcore-dev \
build-essential \
checkinstall
# Install all build dependencies for ffmpeg
apt-get build-dep ffmpeg
# Get the actual ffmpeg source code
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
# Go into the ffmpeg source directory
cd ffmpeg-*
# Configure it
./configure \
--enable-gpl \
--enable-nonfree \
--enable-libfaac \
--enable-libgsm \
--enable-libmp3lame \
--enable-libtheora \
--enable-libvorbis \
--enable-libx264 \
--enable-libxvid \
--enable-zlib \
--enable-postproc \
--enable-swscale \
--enable-pthreads \
--enable-x11grab \
--enable-libdc1394 \
--enable-version3 \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb
make
make install
Debian Squeze: ffmpeg
apt-get purge libx264-118 libx264-120 libx264-dev ffmpeg
- /etc/apt/sources.list
...
deb http://deb-multimedia.org squeeze main non-free
deb-src http://deb-multimedia.org squeeze main non-free
deb http://backports.debian.org/debian-backports squeeze-backports main
apt-get update
apt-get -y --force-yes install deb-multimedia-keyring; apt-get update
apt-get install subversion unzip frei0r-plugins-dev libdc1394-22-dev libfaac-dev \
libmp3lame-dev libx264-dev libdirac-dev libxvidcore4-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 build-essential git-core yasm libgpac-dev \
libdirac-dev libgsm1-dev libschroedinger-dev libspeex-dev libvorbis-dev libopenjpeg-dev \
libdc1394-22-dev libsdl1.2-dev zlib1g-dev texi2html libfaac-dev libfaad-dev \
libmp3lame-dev libtheora-dev libxvidcore4-dev libopencore-amrnb-dev libopencore-amrwb-dev \
libvpx-dev libfreetype6-dev frei0r-plugins-dev librtmp-dev libaacplus-dev libx264-dev \
libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev
echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
cd /usr/src
wget http://umezawa.dyndns.info/archive/utvideo/utvideo-11.1.1-src.zip
unzip utvideo-11.1.1-src.zip
cd utvideo-11.1.1
- GNUmakefile
...
CXXFLAGS=-g -O2 -Wall -Wextra -Wno-multichar -Wno-unused-parameter -Wno-sign-compare -fPIC
...
make
make install
cd ..
svn co https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs
cd xavs
./configure --enable-shared --disable-asm
make
make install
cd ..
git clone git://git.videolan.org/x264.git
cd x264/
./configure --extra-asflags=fPIC --disable-asm --enable-shared --enable-static
make
make install
cd ..
wget http://www.ffmpeg.org/releases/ffmpeg-1.1.tar.gz
cd ffmpeg-1.1.1/
make clean
./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-libutvideo --enable-libv4l2 --enable-libpulse \
--enable-libmodplug --enable-libass --enable-libcdio --enable-vdpau --enable-libbluray
make
make install
ffmpeg -version
ffmpeg -i movie.flv -vf "movie=logo.png [logo]; [in][logo] overlay=10:10 [out]" movie.avi