Académique Documents
Professionnel Documents
Culture Documents
How to perform an up
Compile MPlayer/Men
An example of a "vho
confixx specifics
How to perform an up
This HowTo describes how to install the transcoding tools under Ubuntu 14.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 have
to compile the required tools.
In most cases please just copy & paste the code into your shell and execute the commands
as root.
... and check, if the following lines exist within the file. If not, please add:
/usr/lib
/usr/local/lib
We install x264:
wget
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2
tar xvjf last_stable_x264.tar.bz2
# VORSICHT: Pfad im nchsten Befehl bitte ersetzen:
cd x264-snapshot-XXXXXXXX-XXXX-stable/
./configure --enable-shared --enable-pic
make && make install
cd ..
We install libvpx:
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 ..
We install MPlayer/mencoder :
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 ..
...and ffmpeg:
wget http://ffmpeg.org/releases/ffmpeg-2.2.1.tar.bz2
tar xvjf ffmpeg-2.2.1.tar.bz2
cd ffmpeg-2.2.1/
./configure --enable-gpl --enable-version3 --enable-shared --enable-nonfree
--enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencoreamrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxvid
make
make install
ldconfig
We install qt-faststart
qt-faststart is part of ffmpeg. Were still in the ffmpeg-2.2.1/ 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
We install flvtool2:
flvtool2 is not part of the Ubuntu 14.04 repositories. And flvtool2 has to be compiled with ruby1.8.6 that is not part of Ubuntu 14.04, too. To make it even more complicate we have to solve an
error in the ruby package, before we compile. So please stay attentive with the next steps:
cd /usr/src
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.bz2
tar xvjf ruby-1.8.6.tar.bz2
cd ruby-1.8.6
Theres a typo in the math.c file. Open the file with your preferred editor (we use joe here):
joe math.c
/usr/local/bin/mplayer
/usr/local/bin/mencoder
/usr/local/bin/ffmpeg
/usr/local/bin/flvtool2
faststart:
/usr/local/bin/qt-faststart