tags:

views:

76

answers:

3

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

+1  A: 

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: https://secure.wikimedia.org/wikipedia/en/wiki/Shell_account

Claes
so its a comman line interface through which we can run the command line scripts to install ffmpeg right??
Rahul TS
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
can you suggest any other server which support ffmpeg and is preconfigured with the hosting account itself
Rahul TS
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
A: 

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

Rahul TS
A: 

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:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html 3. Once you have logged in, Download FFMPEG installer. This is the easiest way to install FFMPEG and with great codecs support.

wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg6/ffmpeginstaller.6.2.tar.gz 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.

fast-dev