Install ffmpeg/ffmpeg-devel on CentOS 5.7 64bit

Installing FFMPEG , FFMPEG DEVEL.

1 ) Login in SSH using putty.exe software . With VPS or dedicated server IP and root Logins

2) use the nano command to create dag.repo file

Code:                                                                                      Select all
#nano /etc/yum.repos.d/dag.repo

- Add below code in the dag.repo

Code:                                                                                      Select all
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

- Press Ctrl+X and Enter

- Now add below command and press enter

Code:                                                                                                            Select all
#rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

3) Use the Yum command to install the ffmpeg and related development modules

Code:Select all
#yum install ffmpeg ffmpeg-devel

4 ) Add the ffmpeg extension in php.use the nano command to edit php.ini file

#nano /usr/local/lib/php.ini

- Put the below two lines at the end of the php.ini file

Code:                                                                                                 Select all
[ffmpeg]
extension=ffmpeg.so

- Thus the FFMPEG installation Completed.

- Now ffmpeg related modules installation procedure.
Installing Mplayer + Mencoder

1) Just issue the following yum commands to install the rest of the packages.

Code:Select all
#yum install mplayer mencoder

Installing FLVTool2 :

1) To install flvtool2 you require ruby installed the vps or dedicated server
- If you have cpanel installed on the VPS or dedicated server use the below command 
to install ruby.

Code:                                                                                                             Select all
#/scripts/installruby

- after installing ruby
2) Download the flvtool2 source file using wget command

Code:                                                                                                      Select all
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz

 - extract the tar file.

Code:                                                                                                     Select all
#tar zxvf flvtool2-1.0.6.tgz

- After that proceed with below commands one by one.

Code:                                                                                                       Select all
#cd flvtool2-1.0.6

#ruby setup.rb config

#ruby setup.rb setup

#sudo ruby setup.rb install

This is the latest tutorial on how to install FFMPEG and other development modules.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Install ConfigServer

Install ConfigServer Security & Firewall rm -fv csf.tgz wget...

Data Loss

Backups and Data Loss :         Leasedlayer is not responsible for...

DirectAdmin Introduction

DirectAdmin is a graphical web-based web hosting control panel designed to make...

Install Latest RootKit Hunter

Here we instruct that how to install latest released version of RootKit Hunter . Below we have...

Install IIS 7.5 on Windows Server 2008 R2

IIS is one of the Windows Server® server roles. IIS 7 can be installed through the graphical...

Powered by WHMCompleteSolution