ffmpeg problem on CentOS 4.4
hello everyone! need some help here..
im having trouble on installing ffmpeg on centos 4.4 :confused: does centos support this (ffmpeg)? im always getting this error :mad: Fatal error: Cannot instantiate non-existent class: ffmpeg_movie in /home/username/public_html/domain/upload.php on line 83 |
I don't know much about ffmpeg, it doesn't appear to be available via the yum package manager. From what I could find, it seems that the ffmpeg homepage is at http://ffmpeg.mplayerhq.hu/
RPMs for ffmpeg are available at http://dag.wieers.com/packages/ffmpeg/ |
Give CenttOS 4.4 a whirl!
You will not be sorry! |
I seen where a lot of server management companies are charging big bucks for this, so this might save you some time and money.
First nano -w /etc/yum.repos.d/dag.repo Insert [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Then yum update and search for ffmpeg and install all ffmpeg packages including devel. Seems there is some lib problems along the way so in /etc/ld.so.conf add /usr/local/lib then ldconfig -v To install the php extension follow the simple directions on http://ffmpeg-php.sourceforge.net/ Then you should be all set! |
Thanks Ashley it helped me a lot, very useful information to be shared.I have follow the the directions and it worked for me.Keep writing these posts.
|
seen where a lot of server management companies are charging big bucks for this, so this might save you some time and money. First
nano -w /etc/yum.repos.d/dag.repo Insert [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Then yum update and search for ffmpeg and install all ffmpeg packages including devel. Seems there is some lib problems along the way so in /etc/ld.so.conf add /usr/local/lib then ldconfig -v To install the php extension follow the simple directions on Then you should be all set! |
Quote:
thanks man |
Quote:
Here is some guideline for you You'll have to rebuild ffmpeg if you want that, so you'll need ffmpeg src.rpm[1], amr-nb[2] and amr-wb source[3]. [1]http://dl.atrpms.net/all/ffmpeg-0.4....524.at.src.rpm or http://dag.wieers.com/packages/ffmpe...918.rf.src.rpm [2]http://www.3gpp.org/ftp/Specs/archiv.../26104-510.zip [3]http://www.3gpp.org/ftp/Specs/archiv.../26204-510.zip It's been years since I used rpm-based distros, so you'll have to work out details yourself[4][6], but procedure is as follows: install src.rpm with rpm -ivv and check the output to see where it installed sources and spec file. In this case source is ffmpeg-0.4.9 tar.bz2. Extract it with 'tar -xjf ffmpeg-0.4.9.tar.bz2'. Then unzip [2] to ffmpeg-0.4.9/libavcodec/amr_float, and [3] to ffmpeg-0.4.9/libavcodec/amrwb_float. After that, recreate ffmpeg tarball with 'tar -cjf ffmpeg-0.4.9.tar.bz2 ffmpeg-0.4.9'. Now, you'll have to edit spec file. Open it in editor, and find %build section in it. Add '--enable-amr-wb' as ./configure switch(amr_float is enabled by default)[5]. Save spec file. Build and install it: rpm -ba ffmpeg.spec That's it.Hopefully ;) > > PS. Would you know of any guide/tutorial that explains how to > create/modify RPM's, where files are stored and where spec files can be > found, once they are installed on a system? http://dag.wieers.com/howto/rpm/ http://www-106.ibm.com/developerworks/library/l-rpm1/ http://www.centos.org/modules/newbb/index.php man rpm [4]http://www.rpm.org/max-rpm/s1-rpm-mi...nia-srpms.html [5] According to avcodec/amr.c [6]http://www.rpm.org/max-rpm/ch-rpm-b-command.html HTH. |
Quote:
http://www.thejoe.com/2007/04/12/cen...tall-with-yum/ |
Thanks FrankThomas... I follow your steps and it worked!! :-)
|
I have faced the same problem, that i found in this thread, really thanks for the members who solved the problem. Good contribution
|
All times are GMT -5. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.