How to install the transcoding tools on Redhat / CentOS 6
Editions: all
Versions: all
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 RedHat / CentOS 6.4.
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 explains 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).
First, 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
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/ld.so.conf
joe /etc/ld.so.conf
... and check, if the following lines exist within the file. If not, please add:
/usr/lib /usr/local/lib
We install some codecs:
yum install faac-devel lame-devel amrnb-devel opencore-amr-devel amrwb-devel libvorbis-devel libtheora-devel xvidcore-devel
We install x264:
git clone http://git.videolan.org/git/x264.git cd x264 ./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 ..
... and FFmpeg and FFprobe:
wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.bz2 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 make install
IMPORTANT:
- execute ldconfig
# ldconfig
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
Last update on 2017/05/15 by Admin.