Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please help me to guide me in how to install ffmpeg and ffmpeg-php extension in linux based server. I surfed a lot in the net. I got lots of answers, all of that says to give some command line script in the linux command promt. I am using the cpanel server and is confused how to do this, also I cant find where to gave these commands. Or is there another way to install it.

Please help me to solve this issue

share|improve this question

migrated from Oct 6 '12 at 13:25

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

You probably can't install ffmpeg with cpanel, but I must confess I have never used it. I think you will need shell access. If you're host doesn't provide shell access you will need to ask them to do the install.

You can see what shell access is here:

share|improve this answer
so its a comman line interface through which we can run the command line scripts to install ffmpeg right?? – Rahul TS Sep 9 '10 at 11:49
Yes, that's right. But you don't necessarily have the right to run a shell, or add new binaries. I always run my own webservers, mainly so that I can have shell access. – Claes Sep 9 '10 at 12:01
can you suggest any other server which support ffmpeg and is preconfigured with the hosting account itself – Rahul TS Sep 9 '10 at 15:19
I would unfortunately say that ffmpeg on a "mass-market" webserver is going to be unlikely. Not only because it's would rarely be used, but also because it could potentially kill the servers performance. Doing movie conversion would easily burn 100% cpu for extended periods of time. Having 20 customer sites slow to a crawl over this wouldn't be acceptable. I do have one client that might have use of this in the future. If that actually shows up, I would offer to set up a dedicated server for their site. – Claes Sep 10 '10 at 8:47

dreamhost is a best on for this. I trasfered my site to dreamhost and is working their. It has preinstalled ffmpeg and flvtool2. Other extensions are to be installed for advanced options. I am now using putty ssh client to do linux command line script. And is some how going well

share|improve this answer

I don't think you can install it without the command line, if you hosting provider doesn't offer out of the box support for FFMPEG.

First, you need to find a way to login to your server using SSH. This usually requires: 1. You need to enable SSH access for your server. You can ask your hosting provider how to do it for your particular case. 2. You need a SSh client in your computer. If you are on a Mac you can use Terminal (included). If you are on a Windows Pc you can use Puttu: 3. Once you have logged in, Download FFMPEG installer. This is the easiest way to install FFMPEG and with great codecs support.

wget sudo tar -xvf ffmpeginstaller.6.2.tar.gz cd ffmpeginstaller.6.2 sudo ./install

I will take a while, probably 30 minutes, depending on your server. after that just test it using:

ffmpeg -version

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.