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).
Install rpmforge repository
Install epel repository
yum install gcc make automake bzip2 unzip patch subversion zlib-devel libjpeg-devel yasm php-process
yum remove ffmpeg x264
joe /etc/ld.so.conf
... and check, if the following lines exist within the file. If not, please add:
/usr/lib /usr/local/lib
yum install faac-devel lame-devel amrnb-devel opencore-amr-devel amrwb-devel libvorbis-devel xvidcore-devel
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2 tar xvjf last_stable_x264.tar.bz2 cd x264-snapshot-XXXXXXXX-XXXX-stable/ ./configure --enable-shared --enable-pic make && make install cd ..
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2 tar xvjf libtheora-1.1.1.tar.bz2 cd libtheora-1.1.1/ ./configure make make install cd ..
wget http://webm.googlecode.com/files/libvpx-v0.9.7-p1.tar.bz2 tar xvjf libvpx-v0.9.7-p1.tar.bz2 cd libvpx-v0.9.7-p1 ./configure --enable-shared make make install cd ..
wget http://ffmpeg.org/releases/ffmpeg-0.7.12.tar.bz2 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 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.
yum install perl-Image-ExifTool
yum install mplayer mencoder