cd /usr/src apt-get update apt-get upgrade apt-get remove x264 ffmpeg mplayer mencoder
apt-get install joe make automake g++ bzip2 unzip patch subversion yasm
joe /etc/ld.so.conf
... and check, if the following lines exist within the file. If not, please add:
/usr/lib /usr/local/lib
apt-get install libsdl1.2-dev zlib1g-dev libfaad-dev libfaac-dev libgsm1-dev libtheora-dev libvorbis-dev libspeex-dev libopencore-amrwb-dev libopencore-amrnb-dev libxvidcore-dev libxvidcore4 libmp3lame-dev libjpeg62 libjpeg62-dev
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2 tar xvjf last_stable_x264.tar.bz2 # VORSICHT: Pfad im nächsten Befehl bitte ersetzen: cd x264-snapshot-XXXXXXXX-XXXX-stable/ ./configure --enable-shared --enable-pic make && make install cd ..
wget http://webm.googlecode.com/files/libvpx-v1.2.0.tar.bz2 tar xvjf libvpx-v1.2.0.tar.bz2 cd libvpx-v1.2.0 ./configure --enable-shared --enable-pic make make install cd ..
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.gz tar xvzf MPlayer-1.1.tar.gz cd MPlayer-1.1/ ./configure make && make install ldconfig cd ..
wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.bz2 tar xvjf ffmpeg-2.0.1.tar.bz2 cd ffmpeg-2.0.1/ ./configure --enable-gpl --enable-version3 --enable-shared --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid make make install ldconfig cd ..
chmod +x /usr/local/bin/faststart
or
chmod +x /usr/local/bin/faaststart_64
apt-get install libimage-exiftool-perl
Finally, create the required cron job.