Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Linux Chat
FAQ Community Calendar Today's Posts Search

Linux Chat Linux geeks unite! Discuss anything related to the Linux operating system here.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2007, 02:22 PM
pitsug pitsug is offline
Junior Member
GB Beginner
 
Join Date: Apr 2006
Posts: 15
Default ffmpeg problem on CentOS 4.4

hello everyone! need some help here..

im having trouble on installing ffmpeg on centos 4.4

does centos support this (ffmpeg)?
im always getting this error

Fatal error: Cannot instantiate non-existent class: ffmpeg_movie in /home/username/public_html/domain/upload.php on line 83
Reply With Quote
  #2  
Old 01-02-2007, 04:52 AM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

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/
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote
  #3  
Old 08-06-2008, 08:34 AM
Lamer980's Avatar
Lamer980 Lamer980 is offline
Junior Member
GB Newbie
 
Join Date: Jul 2008
Posts: 8
Default

Give CenttOS 4.4 a whirl!
You will not be sorry!
__________________
Link Building Packages
Reply With Quote
  #4  
Old 08-26-2008, 11:53 PM
AshleyJasmine AshleyJasmine is offline
Junior Member
GB Newbie
 
Join Date: Aug 2008
Posts: 3
Thumbs up

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!
__________________
Love Text Messages EID SMS
Reply With Quote
  #5  
Old 08-28-2008, 06:08 AM
AndraJoseph AndraJoseph is offline
Junior Member
GB Newbie
 
Join Date: Aug 2008
Posts: 3
Thumbs up

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.
__________________
Myrtle Beach Condos
Reply With Quote
  #6  
Old 09-09-2008, 03:59 AM
FedoraKarooz FedoraKarooz is offline
Junior Member
GB Newbie
 
Join Date: Sep 2008
Posts: 8
Default

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!
__________________
Internet Phone
Reply With Quote
  #7  
Old 09-11-2008, 02:20 AM
zach tyrl zach tyrl is offline
Junior Member
GB Newbie
 
Join Date: Sep 2008
Posts: 7
Default

Quote:
Originally Posted by FedoraKarooz View Post
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
__________________
swords BMC Software
Reply With Quote
  #8  
Old 09-18-2008, 11:51 PM
FrankThomas FrankThomas is offline
Junior Member
GB Newbie
 
Join Date: Sep 2008
Posts: 3
Post

Quote:
Originally Posted by pitsug View Post
hello everyone! need some help here..

im having trouble on installing ffmpeg on centos 4.4

does centos support this (ffmpeg)?
im always getting this error

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.
Reply With Quote
  #9  
Old 09-30-2008, 04:24 AM
FrankThomas FrankThomas is offline
Junior Member
GB Newbie
 
Join Date: Sep 2008
Posts: 3
Thumbs up

Quote:
Originally Posted by pitsug View Post
hello everyone! need some help here..

im having trouble on installing ffmpeg on centos 4.4

does centos support this (ffmpeg)?
im always getting this error

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/
Reply With Quote
  #10  
Old 07-24-2009, 03:29 AM
lga1983 lga1983 is offline
Junior Member
GB Beginner
 
Join Date: Jul 2009
Posts: 21
Default

Thanks FrankThomas... I follow your steps and it worked!! :-)
__________________
Pensjon | Arv | Testament
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 11:31 PM.


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