Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec library. An experimental streaming server for live broadcasts is also included.

Install  FFmpeg modules Mencoder, Mplayer, flvtool2, mediainfo, mp4box , neroAacEnc on centos to convert video to your favorite extension.

ffmpeg installation

Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2 etc.,

Update your rpmforge now.

for i386:
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpm
for x86_64:
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Install the utilites of ffmpeg.


# yum groupinstall -y "Development Tools"


yum install zlib-devel automake autoconf gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran gcc-c++ mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-devel freeglut libtool ncurses-devel


#apt-get install build-essential

Dynamic Linked Libraries Path

Linux uses a system of shared libraries, similar to Windows dlls, for the efficient use of space and resources, and modularity.

Add those  below entry in  /etc/



Install libogg

Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams.

cd /usr/local/src
# tar zxvf libogg-1.2.2.tar.gz
cd /usr/local/src/libogg-1.2.2
#./configure && make clean && make && make install

Install libvorbis

The libvorbis reference implementation provides both a standard encoder and decoder under a BSD license.

# cd /usr/local/src
tar zxvf libvorbis-1.3.3.tar.gz
cd libvorbis-1.3.3
./configure && make clean && make && make install

Install Yasm

Yasm is a software program that attempts to be a complete rewrite of the NASM assembler

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

Install libx264

x264 is a free software library for encoding video streams into the H.264/MPEG-4 AVC format. It is released under the terms of the GNU

General Public License.

cd /usr/local/src
wget`date -d “-1 days” +%Y%m%d`-2245-stable.tar.bz2
tar jxf x264-snapshot-`date -d “-1 days” +%Y%m%d`-2245-stable.tar.bz2
cd /usr/local/src/x264-snapshot-`date -d “-1 days” +%Y%m%d`-2245-stable
./configure –enable-shared && make clean && make && make install

Install amr

3GP is a simplified version of the MPEG-4 Part 14 (MP4) container format, designed to decrease storage and bandwidth requirements in order to accommodate mobile phones.

cd /usr/local/src
tar zxf opencore-amr-0.1.2.tar.gz
cd opencore-amr-0.1.2
./configure && make clean && make && make install

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution