Koozali.org: home of the SME Server

class "ffmpeg_movie"

Offline calisun

  • *
  • 620
  • +0/-1
class "ffmpeg_movie"
« on: May 05, 2008, 11:31:41 PM »
I have an web application installed on my server that asks for "ffmpeg_movie"
The message I get is:
Missing class "ffmpeg_movie". Please make sure FFMpeg and FFMpeg-php is properly installed.

has anybody installed these items?
If yes, please let me know how to.
Thank you
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
Re: class "ffmpeg_movie"
« Reply #1 on: May 06, 2008, 12:10:25 AM »
found solution by searching  :)

the solution is:
--------------------------

Code:

db yum_repositories delete dag
db yum_repositories delete dries


Code:

/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/$basearch/dag \
 MirrorList http://apt.sw.be/redhat/el4/en/mirrors-rpmforge \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled



Code:

expand-template /etc/yum.conf



Code:

yum --enablerepo=* --disablerepo=smedev install ffmpeg
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
Re: class "ffmpeg_movie"
« Reply #2 on: May 06, 2008, 01:11:13 AM »
looks like previous step installed ffmpeg,  but my program is asking for ffmpeg and FFMpeg-php both.


I found a site where they have FFMpeg-php for fedora

http://rpm.pbone.net/index.php3/stat/4/idpl/4577386/com/ffmpeg-php-0.5.1-1.fc7.remi.i386.rpm.html

and they have links to all the dependancies.

My question is:
Should I dare to install fedora rpm on SME Server?

Also some dependencies give me an option Fedora 5, 6, 7 or 8  which one should I use?
« Last Edit: May 06, 2008, 07:48:04 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
Re: class "ffmpeg_movie"
« Reply #3 on: May 07, 2008, 01:47:09 AM »
Has anybody installed FFMpeg-php before?
Please advise
Thanks
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: class "ffmpeg_movie"
« Reply #4 on: May 07, 2008, 10:23:38 AM »
found solution by searching  :)

the solution is:
--------------------------

Code:

db yum_repositories delete dag
db yum_repositories delete dries


Code:

/sbin/e-smith/db yum_repositories set rpmforge repository \
 BaseURL http://apt.sw.be/redhat/el4/en/$basearch/dag \
 MirrorList http://apt.sw.be/redhat/el4/en/mirrors-rpmforge \
 EnableGroups 1 \
 GPGCheck 0 \
 Name rpmforge \
 Visible yes \
 status disabled



Code:

expand-template /etc/yum.conf



Code:

yum --enablerepo=* --disablerepo=smedev install ffmpeg
DO NOT DO THAT seriously that might harm your SME Server. Please only use the configuration for ATrpms, Dries and Dag from the wiki as they are certain to exclude packages that should not be upgraded from their as they have some modifications for SME Server.

You should never instruct users to enable all repositories, you should instruct them to use the minimal set required as bad things may happen. You should, in that case, also have no need to disable the smedev repository as it should never be enabled by default.

I seriously suggest you check your information before posting such dangerous information to the forums even without a proper warning.

Never use fedora RPMs on your SME Server, they do (not always) have the same architecture. Your best bet is to see if the package is in ATrpms, Dries or Dag for RHEL4 or CentOS 4, if available there but not in the proper format request a build for RHEL4/Centos4.

On my test server I was able to install ffmpeg using only the ATrpms repository, which I configured according to the wiki:

Code: [Select]
yum install ffmpeg --enablerepo=aterpms
If you want to install php-ffmpeg you have bad luck as to my knowledge rpm.pbone.net does not list any for RHEL4/Centos4, the ones for fedira are build by an source which is not known to me, and I consider untrusted in cpmparison to Dag, Dries and ATrpms.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline calisun

  • *
  • 620
  • +0/-1
Re: class "ffmpeg_movie"
« Reply #5 on: May 07, 2008, 05:47:01 PM »
The code I have posted was a copy/ paste from the forums here, since there were no warnings by other users, I assumed that it was ok.
Unfortunately your warning come too late, I have already done the install. What do you suggest I do now?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: class "ffmpeg_movie"
« Reply #6 on: May 07, 2008, 09:31:14 PM »
The code I have posted was a copy/ paste from the forums here, since there were no warnings by other users, I assumed that it was ok.
Unfortunately your warning come too late, I have already done the install. What do you suggest I do now?

Delete the rpmforge repository and regenerate the yum configuration file
Code: [Select]
db yum_repositories delete rpmforge
expand-template /etc/yum.conf

If you need the dag, atrpms, or dries have a look at the wiki, configuration instrcutions are listed there.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: class "ffmpeg_movie"
« Reply #7 on: August 05, 2008, 09:17:49 PM »
Code: [Select]
yum install ffmpeg --enablerepo=aterpms
Which should read (off course):
Code: [Select]
yum install ffmpeg --enablerepo=atrpms
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)