Install ffmpeg/ffmpeg-devel on CentOS 5.7 64bit

Installing FFMPEG , FFMPEG DEVEL.

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

2nd) 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




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

Code:Select all
#yum install ffmpeg ffmpeg-devel




4th ) 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

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

Code:Select all
#yum install mplayer mencoder




Installing FLVTool2

1st ) 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

2nd ) 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

Installation of cPanel on VPS/Dedicated Server.

Installation of cPanel on VPS/Dedicated Server.1st ) Login in SSH of VPS/Dedicated Server using...

Installation of kloxo Control Panel on CentOS 5/6 x86Bit

Hello,Today we will learn how to install kloxo control panel on the CentOS 5.8 Final x86bit...

Enable TUN/TAP in Solus VM

Hello,    TAP (as in network tap) simulates a link layer device and it operates...

How to install Fantastico on cPanel/WHM

You don't need to download any files in order to install Fantastico! Just SSH to your server...

How to install Latest RootKit Hunter

Hello All,Today we will learn how to install latest released version of RootKit Hunter . Below i...

Powered by WHMCompleteSolution