Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: EdelingF on September 17, 2006, 10:36:53 PM

Title: How to install ffmpeg / ImageMagick
Post by: EdelingF 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?
Title: Re: How to install ffmpeg / ImageMagick
Post by: cactus 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
Title: How to install ffmpeg / ImageMagick
Post by: EdelingF 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?
Title: How to install ffmpeg / ImageMagick
Post by: cactus 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.
Title: How to install ffmpeg / ImageMagick
Post by: EdelingF 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?
Title: How to install ffmpeg / ImageMagick
Post by: cactus 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 (http://rpmfind.net//linux/RPM/dag/redhat/el4/i386/lame-3.96.1-5.el4.rf.i386.html). 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 (http://66.249.93.104/search?q=cache:ZSxt4pSjRcYJ:no.longer.valid/phpwiki/index.php/3rdPartyYumRepositories%3FPHPSESSID%3Dd572+contribs.org+3rd+party+yum+repositories&hl=en&ct=clnk&cd=1)
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.