How to Install FFMPEG on CentOS (6.3, 6.4) Print this Article
Ok, so you just got a Webhostpython.com VPS or Dedicated Server and want to set it up with FFMPEG but do not know where to start. (We will be more than happy to install it for you, our customer, free of charge!) You can order a VPS from us, and during checkout simply put "Please install FFMPEG and related tools for me" in the checkout notes if you would like to have your server deployed with FFMPEG, FLVtools, MP4Box, and the related tools. This way your VPS will be ready for clipbucket and the other scripts out there that require these tools for streaming video and audio. This has been one of the most popular request we receive. Here are the steps needed to take for the installation of FFMPEG on your CentOS/cPanel server.
Ok, Get ready. Start putty & login to your server as root.
The first thing we want to do is enable the RPMforge repository so that we are able to install FFMPEG via yum. This will keep you from having to compile FFMPEG yourself. The configuration of the RPMforge repository is quoted right from the Centos.org wiki.
The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default.
You can find a complete listing of the RPMforge package packages at http://packages.sw.be/
Download the rpmforge-release package. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the command uname -i
So if you are on a 64 bit architecture, you would download the file to your server using the wget command:
The preferred rpmforge-release package to retrieve and to install in order to enable that repository is one of the two listed above.
Install DAG's GPG key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
If you get an error message like the following, then the key has already been imported:
error: http://apt.sw.be/RPM-GPG-KEY.dag.txt: key 1 import failed.
Verify the package you have downloaded
rpm -K rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the md5sum of the key injection package, and trust Dag, et al., then it should be as safe as your trust of them extends.
Install the package
rpm -i rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
This will add a yum repository config file and import the appropriate GPG keys. Now you're ready to install FFMPEG via yum!
Now, type 'yum install ffmpeg'. You will be asked to confirm the download. Press 'y' for yes. This will install ffmpeg for you and configure it so that it is ready to use. Now, most of you will also want to install Mplayer. When the above is done installing ffmpeg, simply type
yum install mplayer
This will now install mplayer for you and configure it for use.That's it! You can even type in 'which ffmpeg' and it will verify that ffmpeg is installed for you.
Was this answer helpful?
Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and...
Addon domain turned into a separate cPanel Download the content of your addon domain to your...
You have just ordered a VPS from Webhostpython.com with the Ubuntu OS. However, by default the...
To install MP4Box, you would do the following:cd /usr/local/src/wget...
To install MediaInfo, login to your server via putty. Download the latest...
Powered by WHMCompleteSolution