Koozali.org: home of the SME Server

How to install ffmpeg / ImageMagick

Offline EdelingF

  • *****
  • 215
  • +0/-0
How to install ffmpeg / ImageMagick
« on: September 17, 2006, 10:36:53 PM »
I need (want) to install ffmpeg and ImageMagick for gallery2.
I've allready installed ImageMagick but can't find the path to the ImageMagick/GraphicsMagick programs. I searched for it with MC but no luck.

I also wanted to install ffmpeg and found some RPM's by reading some topics about  Zoneminder. I found two Centos RPM's:

 ffmpeg-0.4.8-3.CTU.i386.rpm          29-Nov-2005 19:05  892K  
 ffmpeg-devel-0.4.8-3.CTU.i386.rpm    29-Nov-2005 19:05  846K    

But how am I to install them into SME7? And what will be the path to ffmpeg for gallery2?

Has anyone had any experience with it?
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: How to install ffmpeg / ImageMagick
« Reply #1 on: September 18, 2006, 12:02:35 PM »
Quote from: "EdelingF"
I need (want) to install ffmpeg and ImageMagick for gallery2.
I've allready installed ImageMagick but can't find the path to the ImageMagick/GraphicsMagick programs. I searched for it with MC but no luck.

I also wanted to install ffmpeg and found some RPM's by reading some topics about  Zoneminder. I found two Centos RPM's:

 ffmpeg-0.4.8-3.CTU.i386.rpm          29-Nov-2005 19:05  892K  
 ffmpeg-devel-0.4.8-3.CTU.i386.rpm    29-Nov-2005 19:05  846K    

But how am I to install them into SME7? And what will be the path to ffmpeg for gallery2?

Has anyone had any experience with it?

The ImageMagick binaries are (if I remember correclty, I have no access to my server at the moment) in the /usr/bin directory.
About installing RPM's, download them to your server and issue the following command:
Code: [Select]
yum localinstall /path/to/rpm1 path/to/rpm2 ... /path/to/rpmn
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 EdelingF

  • *****
  • 215
  • +0/-0
How to install ffmpeg / ImageMagick
« Reply #2 on: September 18, 2006, 12:45:33 PM »
Thanx cactus, that did it!

Installing the  ffmpeg RPM's wasn't the problem, I should have asked the question differently: which RPM or RPM's should I install, maybe both? And has anyone experience with possible dependencies?
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
How to install ffmpeg / ImageMagick
« Reply #3 on: September 18, 2006, 04:07:29 PM »
Quote from: "EdelingF"
Thanx cactus, that did it!

Installing the  ffmpeg RPM's wasn't the problem, I should have asked the question differently: which RPM or RPM's should I install, maybe both? And has anyone experience with possible dependencies?
To probe uninstalled RPM's for dependencies use
Code: [Select]
rpm -qp --requires packagenameIf the rpm is already installed we can leave out the p switch
Code: [Select]
rpm -q --requires packagename e.g.
Code: [Select]
rpm -q --requires ImageMagick I have no experience with the RPM's you are mentioning.
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 EdelingF

  • *****
  • 215
  • +0/-0
How to install ffmpeg / ImageMagick
« Reply #4 on: September 18, 2006, 09:12:27 PM »
Great, another step further!
I found out there were several dependencies of which I found all of them but one: libmp3lame.so.0
I've found several versions of libmp3lame.so.0 but no one for Centos.
Also no info to be found in the SME-forums.
So one again, can anyone help me?
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
How to install ffmpeg / ImageMagick
« Reply #5 on: September 18, 2006, 09:35:19 PM »
Quote from: "EdelingF"
Great, another step further!
I found out there were several dependencies of which I found all of them but one: libmp3lame.so.0
I've found several versions of libmp3lame.so.0 but no one for Centos.
I have installed a few RHEL 4 RPM's without problems. You need lame fix the libmp3lame.so.0 according to rpmfind.net. Usually RHEL4 RPM's work pretty well, a lot of them can be downloaded from the dag repository.

Unfortunately the FAQ is offline, but luckilly we have Google's cache. have a look at the cahced page of the FAQ explaining how to install 3rdParty Yum repositories
After you have performed the actions stated there you could install all rpm's like this:
Code: [Select]
yum localinstall /path/to/rpms --enablerepo=dag
This will install all rpm's specified from your local system, but in case it needs a few extra it will try to find all repositories enabled by default and also the dag repository. Be adviced: installing RPM's from third party repositories might brake your system. The developers advice only to use the repositories enabled by default: smeos, smeupdates and smeaddons.
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)