In most cases please just copy [&] paste the code into your shell and execute the commands as root.
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 git 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
then please execute
# ldconfig
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
git clone http://git.videolan.org/git/x264.git
cd x264/ ./configure --enable-shared --enable-pic make && make install cd ..
git clone https://chromium.googlesource.com/webm/libvpx cd libvpx ./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.8.8.tar.bz2 xvjf ffmpeg-2.8.8.tar.bz2 cd ffmpeg-2.8.8 ./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
qt-faststart is part of FFmpeg. We´re still in the FFmpeg directory and change into the tools/ folder. Here we make qt-faststart and copy it to /usr/local/bin/:
cd tools make qt-faststart cp qt-faststart /usr/local/bin/ cd /usr/src
apt-get install libimage-exiftool-perl
Finally, create the required cron job.