There was a problem loading the comments.

How to install the transcoding tools on Redhat / CentOS 5

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 the Transcoding Tools installation under RedHat / CentOS 5.9.

The FFmpeg packages for RedHat-based Distributions (RHEL, CentOS) don´t support transcoding to all HTML5 formats. In detail there are problems with transcoding to m4v.

This tutorial describes how to compile FFmpeg in order to support all HTML5 formats.

In this tutorial we assume that you´re in /usr/src (cd /usr/src).


We install the rpmforge and epel repository.

Install rpmforge repository
Install epel repository


Now let's install some basic packages. Existing packages will be updated or ignored:

yum install gcc make automake bzip2 unzip patch subversion zlib-devel libjpeg-devel yasm php-process 


If you have already installed the packages FFmpeg and x264, remove them

yum remove ffmpeg x264


Next, on both systems 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

yum install faac-devel  lame-devel amrnb-devel opencore-amr-devel amrwb-devel  libvorbis-devel xvidcore-devel 


We install x264

tar xvjf last_stable_x264.tar.bz2
cd x264-snapshot-XXXXXXXX-XXXX-stable/
./configure --enable-shared --enable-pic
make && make install
cd ..


We install libtheora

tar xvjf libtheora-1.1.1.tar.bz2
cd libtheora-1.1.1/
make install
cd ..



We install libvpx:

tar xvjf libvpx-v0.9.7-p1.tar.bz2
cd libvpx-v0.9.7-p1
./configure --enable-shared
make install
cd ..


... and FFmpeg and FFprobe:

tar xvjf ffmpeg-0.7.12.tar.bz2
cd ffmpeg-0.7.12/
./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 --enable-x11grab --extra-cflags="-I/usr/local/include" --extra-ldflags="-L/usr/local/lib" 
make install




- execute ldconfig


# ldconfig


- download the presets-package here and copy the presets to /usr/local/share/ffmpeg

- tell VIMP the path to FFmpeg in the backend (administration -> configuration -> transcoder -> ffmpeg: /usr/local/bin/ffmpeg

- check if qt-faststart is installed (which qt-faststart). If not, you can download it here.



We install exiftool (VIMP 3.2.0 and greater):

yum install perl-Image-ExifTool


Up to VIMP <= 3.1.9 you need MPlayer/mencoder:

yum install mplayer mencoder


Share via

Related Articles