Updating ImageMagick and FFMPEG

joecooper84

Joined: 2013-08-22
Posts: 7
Posted: Sat, 2013-08-24 13:34

I've read the FAQ but needed a clarification.

I'm using Arvixe to host Gallery 3.0.9 and do not get root access. They use CentOS release 5.8 (final).
When updating ImageMagick and/or FFMPEG the FAQ says to place the binary in a path and then go in to Advanced Settings and update the absolute path listed.
My question is, do I download the rpm and leave it as it is in a folder? I don't have to extract it or anything to get it to work?
I tried already, but the Admin > Settings > Graphics did not update.

Sorry if this is answered in the FAQ, but I read it several times and did not find that answer.

 
MikeLFD

Joined: 2013-03-22
Posts: 79
Posted: Mon, 2013-08-26 02:15

Not to be dismissive but,
Have you turned a ticket in to Arvixe about this?
They are normally very helpful and accommodating

 
joecooper84

Joined: 2013-08-22
Posts: 7
Posted: Mon, 2013-08-26 13:15

I asked them and they said since it is a shared server (non-dedicated) they are not allowed to do updates, since it would update everyone on the server.

The tech did say they do updates every few months, but I'm more of the latest-and-greatest type of guy when it comes to software, especially since some of my pictures load fine with my local imagemagick, but cannot be rendered on the server.

 
joecooper84

Joined: 2013-08-22
Posts: 7
Posted: Fri, 2013-08-30 18:35

I'm wondering if I should put this in a different subforum?

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Fri, 2013-08-30 22:14

Seems like a host issue. I'm not sure what anyone here can do for you.

 
joecooper84

Joined: 2013-08-22
Posts: 7
Posted: Sat, 2013-08-31 18:36

The FAQ I was referring to http://codex.galleryproject.org/Gallery3:Modules:ffmpeg
states
==================
Installation

You do not need to FFmpeg *installed* on your server! This seems to be a common misconception in the forums. Correctly *installing* ffmpeg requires root access, which many shared hosting accounts don't have. Rather, all you need to do is:

check if you have a recent copy of FFmpeg installed on your server (type "which ffmpeg" in shell)
if yes, go your Gallery, then go to Settings -> Advanced and change "ffmpeg_path" to the path found above (e.g. "/usr/bin/ffmpeg")
if no, download an FFmpeg binary from one of the links below, copy it to a known path (e.g. the "lib" directory of your Gallery), set its permissions to 0755, then set "ffmpeg_path" to its location

This means that even most shared hosting accounts should be able to do it without issue.
==================

I'm not a Linux admin, so my main question here is do I just put the rpm in whatever directory and point Gallery > Settings > Advanved > ffmpeg_path to the rpm or do I extract the rpm and then point ffmpeg_path to that directory.
I assume the same is done for ImageMagick.

 
joecooper84

Joined: 2013-08-22
Posts: 7
Posted: Tue, 2013-09-03 19:28

So I found the answer to the original problem.
I do not put the RPM's in the directory.
I have to download static builds of the files (as far as I can tell think of them like portable or stand-alone executables for Windows users).
Link: http://ffmpeg.gusari.org/static/ > download the .tar.gz and extract it to a directory on the server.

I did so, and updated the ffmpeg_path variable and Gallery3 detected the "unknown version". I told it to update the thumbnails and the only video I have uploaded lost its thumbnail and went to being blank. I set the ffmpeg_path variable back to the original /usr/bin/ffmpeg and updated the thumbnails again and the original thumbnail worked. Since, from the documentation, I don't need ffmpeg for anything other than generating the thumbnail I don't need to bother with this anymore. It just helped me understand what was going on.

Now though I need to find a static x64 build of ImageMagick to upload and test out. Hopefully for some of my images with the current version running on the server can't process, this will be the fix.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-09-03 20:39

Glad you got your ffmpeg issue sorted. If the docs are not clear, can you suggest some better wording? It might help others in the future.

Dave