Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Linux Chat (http://www.geekboards.com/forums/forumdisplay.php?f=4)
-   -   ffmpeg problem on CentOS 4.4 (http://www.geekboards.com/forums/showthread.php?t=795)

pitsug 01-01-2007 01:22 PM

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

John 01-02-2007 03:52 AM

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/

Lamer980 08-06-2008 07:34 AM

Give CenttOS 4.4 a whirl!
You will not be sorry!

AshleyJasmine 08-26-2008 10:53 PM

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!

AndraJoseph 08-28-2008 05:08 AM

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.

FedoraKarooz 09-09-2008 02:59 AM

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!

zach tyrl 09-11-2008 01:20 AM

Quote:

Originally Posted by FedoraKarooz (Post 5717)
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!

i use this and installing MMPEG succefully.

thanks man

FrankThomas 09-18-2008 10:51 PM

Quote:

Originally Posted by pitsug (Post 5280)
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


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.

FrankThomas 09-30-2008 03:24 AM

Quote:

Originally Posted by pitsug (Post 5280)
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 am suggesting you a tutorial regarding installation of ffmpeg, i think it will work for you,

http://www.thejoe.com/2007/04/12/cen...tall-with-yum/

lga1983 07-24-2009 02:29 AM

Thanks FrankThomas... I follow your steps and it worked!! :-)


All times are GMT -5. The time now is 05:16 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.