06 Nov
Posted by: admin in: Linux/Plesk
I was looking so many times in the net how to install ffmpeg and all codecs + ffmpeg-php and make it working from the first time …
Well … I found a solution
. It’s very simple and easy.
1. You have to have installed PHP on your server. It’s better to install the latest version which is now 5.2.9 i think.
2. After you are done with this just follow these steps in the linux console (most of the times we use putty)
mkdir ~/ffmpeg-packages
cd ~/ffmpeg-packages
wget <a title="http://trulymanaged.com/ffmpeg/ffmpeginstall.tar.gz" href="http://trulymanaged.com/ffmpeg/ffmpeginstall.tar.gz">http://trulymanaged.com/ffmpeg/ffmpeginstall.tar.gz</a>
tar -xvzf ffmpeginstall.tar.gz
cd ffmpeginstall
If you don’t want the author to be emailed upon a successful installation, comment out line 47 of install.sh Here is how…
At the command prompt
# nano install.sh
Now comment out line 47
From
echo `hostname -i `|mail -s " FFmpeg installed $_version " vps @ esds.com
To
# echo `hostname -i `|mail -s " FFmpeg installed $_version " vps @ esds.com
Once you have done with this (if you want of course) just run the install script
./install.sh
After everything is done, just reboot your server and check your php configuration (create a php file and use phpinfo() function to get the config of php) if everything is ok and you have installed ffmpeg properly.
2 Responses
Jonson
19|Nov|2009 1Nice script! Thanks a lot!!!
Network appliance
28|Jul|2011 2Hi there , Thank you for your amazing blogs write-up, how do you come up with so many articles and it not be boring!
Leave a reply