There was a problem loading the comments.

How to install the transcoding tools on Ubuntu 12.04

Support Portal  »  Knowledgebase (FAQ)  »  Viewing Article

Editions: Light, Community, Professional, Enterprise, Ultimate, Corporate
Versions: all


For an update to VIMP 3.2.0+ you just have to install exiftool additionally. Mplayer/mencoder can be uninstalled:

This HowTo describes how to install the transcoding tools under Ubuntu 12.04

For Open Source Transcoding you have to install the Transcoding Tools (MPlayer, mencoder, FFmpeg, flvtool2, faststart). As the Ubuntu packages do not support all required formats we compile the needed tools. Please just copy & paste the code into your shell and execute the commands as root.


First we do some maintenance and remove some packages (if existing):

cd /usr/src
apt-get update
apt-get upgrade
apt-get remove x264 ffmpeg mplayer mencoder


We install the easy to use editor joe and some tools:

apt-get install joe make automake g++ bzip2 unzip patch subversion


We have to extend the search path in /etc/

joe /etc/      

... and check, if the following lines exist within the file. If not, please add:



We install some codecs:

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 


We need yasm (Minimum-Version: yasm-1.2.0) to compile x264:

tar xzf yasm-1.2.0.tar.gz
cd yasm-1.2.0/
./configure && make install
cd ..


We install x264:

git clone
cd x264/ ./configure --enable-shared --enable-pic make && make install
ldconfig cd ..


We install libvpx:

tar xvjf libvpx-v1.2.0.tar.bz2
cd libvpx-v1.2.0
./configure --enable-shared --enable-pic
make install
cd ..


We install MPlayer/mencoder (only VIMP <=3.1.9) :

tar xvzf MPlayer-1.1.tar.gz
cd MPlayer-1.1/
make && make install
cd ..


...and FFmpeg and FFprobe:

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 install
cd ..


We install or copy qt-faststart (only VIMP <=3.1.9):

  • Please download qt-faststart from our website.
  • Copy the script that meets your needs (32-Bit: faststart ; 64-Bit: faststart_64) to /usr/local/bin/
  • make executable:
chmod +x /usr/local/bin/faststart




chmod +x /usr/local/bin/faststart_64


Since and for an update to VIMP 3.2.0+ you have to install exiftool:

apt-get install libimage-exiftool-perl

Finally, create the required cron job.


Share via

Related Articles