View Full Version : How to install FFMPEG on centos ?
gillboss 04-07-2010, 01:44 AM i have two dedicated centos server i want install FFMPEG i did try search google etc but could not get success there some links dead like lame etc i have a mobile wap site and want two show 3gp movies thumbnails before they download can some one help me please ?thanks in advance
semoweb 04-07-2010, 02:13 AM i have two dedicated centos server i want install FFMPEG i did try search google etc but could not get success there some links dead like lame etc i have a mobile wap site and want two show 3gp movies thumbnails before they download can some one help me please ?thanks in advancehttp://www.google.com/#hl=en&source=hp&q=ffmeg+centos&rlz=1W1GGLL_en&aq=f&aqi=g-sx1g-s2g-sx7&aql=&oq=&gs_rfai=&fp=ca6b5a4f84435186
:stickout:
ParagonHost 04-07-2010, 02:14 AM http://www.crucialp.com/resources/tutorials/server-administration/how-to-install-ffmpeg-centos-rhel-redhat-enterprise-easy-way.php
Or
How-To install ffmpeg on CentOS 5
First, edit /etc/yum.repos.d/CentOS-Base.repo and add those lines at bottom of the file:
[dag]
name=Dag RPM Repository for Centos
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
enabled=1
Then, run this command:
yum install ffmpeg
Or, you can install from svn:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --help
* if svn command is not found, type
yum install subversion
add some parameters, like --enable-gpl, --enable-libmp3lame, etc..
make && make install
gillboss 04-07-2010, 02:40 AM i dontknow why it doesnt work at end its say
Setting up Install Process
Package ffmpeg-0.5-3.el5.rf.i386 already installed and latest version
Package ffmpeg-devel-0.5-3.el5.rf.i386 already installed and latest version
Nothing to do
root@server [~]#
i have Whm cpanel even still confuse how it will work same script working at other servers such as shared hosting also in phpinfo doesnt show any thing about FFmpeg
Hostwaresupport 04-07-2010, 02:49 AM It seems you have installed ffmpeg using yum. You will have to edit php.ini in order to see ffmpeg in phpinfo page. You can use http://www.ffmpeginstaller.com/ script to install ffmpeg. It is pretty easy and install all codecs that are required for ffmpeg. But, do not forget to remove old installation..
gillboss 04-07-2010, 03:04 AM It seems you have installed ffmpeg using yum. You will have to edit php.ini in order to see ffmpeg in phpinfo page. You can use http://www.ffmpeginstaller.com/ script to install ffmpeg. It is pretty easy and install all codecs that are required for ffmpeg. But, do not forget to remove old installation..
yes i put extension=ffmpeg.so in php.ini i am puling my hair now i dont know command for uninstall FFmpeg for install new auto installer
thanks
Hostwaresupport 04-07-2010, 03:07 AM If you have installed ffmpeg using yum, then just use following command to remove it.
yum remove ffmpeg
gillboss 04-07-2010, 03:15 AM If you have installed ffmpeg using yum, then just use following command to remove it.
yum remove ffmpeg
let me try thanks alot i will post report here after i done all
gillboss 04-07-2010, 03:40 AM everything was going fine at end i get this error with that auto installer
Installation of subversion-1.2.0.tar.gz ....... Completed
Installation of mplayer.tar.gz ....... started
svn: Can't connect to host 'svn.mplayerhq.hu'
mplayer.sh: line 36: cd: mplayer/: No such file or directory
mplayer.sh: line 37: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot stat `etc/codecs.conf': No such file or directory
Installation of mplayer.tar.gz ....... Completed
Mplayer installation Failed :( , please visit the forum
root@server [~/ffmpeginstaller.4.1]#
and when i restart apache
its say from whm
Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
You should run /scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
Also be sure to examine apache's variouse log files.
Apache Restart Output:
httpd: Syntax error on line 38 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_dav_svn.so into server: libsvn_repos-1.so.0: cannot open shared object file: No such file or directory
BlaZeX 04-07-2010, 04:47 AM If you have YUM installed, then run this command
#yum update yum
#yum install ffmpeg
and then configure it
#cd ffmpeg
#./configure
gillboss 04-07-2010, 09:58 AM None method work and after long search at last i installed everything fine also it was auto and really very happy here is link if some one want install easy and auto thanks for all of you and that site admin who made that script
http://scriptmantra.info/ffmpeg.html
What the script delivers:*libogg
*libvorbis
*libvorbisenc
*libvorbisfile
*libamrnb
*libamrwb
*libgsm
*libtheora
*Lame
*libschroedinger
*twolame
*speex
*libtheoradec
*libtheoraenc
*libxvidcore
*libx264
*libnut
*liba52
*mplayer codecs at /usr/local/lib/codecs
*ffmpeg libraries at /usr/local/lib
*libdirac
*libdca
moomycow 04-09-2010, 12:33 PM I gave up on using packages for ffmpeg in the end; for some reason ffmpeg was having issues taking input from a URL. So, downloaded the latest version, sighed, compiled, installed, and I'm a happy boy again.
Always upsetting having to compile when everything else is nicely package-managed though.
ideamine 04-09-2010, 04:54 PM Please refer
http://servertune.com/kbase/entry/133
|