ffmpeg & GoDaddy Shared Hosting
|
TravisBogard
Joined: 2006-09-20
Posts: 3 |
Posted: Wed, 2006-09-20 20:37
|
|
I've setup Gallery using GoDaddy hosting (Linux) and have nearly everything setup that I need to with the exception of ffmpeg. I've seens lots of discussion on this one, but no resolution (that I have seen). I did see somewhere, people were suggesting a help section for hosting provider specific issues. Does that exist now? I could not find it? Anyway, GoDaddy support has given me conflicting answers saying the standard install does have ffmpeg binaries installed as part of the environment, but then they won't give me the path to them. Does anyone have the path to the ffmpeg binaries on GoDaddy hosting? If it isn't in the install, is it possible to run from my home directory? Where do I find the ffmpeg binaries? I've only found them for Windows. |
|
| Login or register to post comments |

Posts: 15
I found this thread today, which contains a generic i386 ffmpeg for most linux distributions.
http://gallery.menalto.com/node/51420
It points you to this link, which seems to be working for me on my GoDaddy host.
http://www.mikeserv.org/files/ffmpeg_slackwarebinary.zip
Good luck.
-Lance
Posts: 1
upload the ffmpeg binary above and then use this trick to find the path: http://www.quest4.org/etc/godaddy_path.htm
Posts: 5
hmmm... that doesnt seem to work for me. Does it matter where we put the ffmpeg binary? I just put it in my base directory and when I ran this it did not show a location.
<?php
echo __FILE__;
?>
Just to double check it should be:
<?php
echo ffmpeg;
?>
correct?
Posts: 46
I just did this successfully by doing the following:
1) create a sub directory in the root (I called it "tools")
2) copy ffmpeg listed above to that directory
3) use FTP program to CHMOD 755 on the directory (note: mine said it was at 755 but ffmpeg in gallery reported it was not)
4) create the pwd.php file (attached) and put it in your root
5) got to your site url: http://yoursitename.com/pwd.php
6) copy that path, this is the path you use to configure ffmpeg
7) open Gallery Site Admin, install/activate the ffmpeg toolkit
8) paste in your path name eg: /home/content/X/X/X/username/html/tools (add tools to the end to point to the ffmpeg binary)
You should be good to go at that point...hope it helps
Posts: 5
Thanks camimenko! This worked like a charm for me.
Godaddy's prices are nice, but I hate their "behind the scene"
Everything is such a pain to just DO, if you know what I mean.
I'd personally run back to my old hoster (www.webhostfreaks.com) if they'd come up with some better prices. They're service is great and the support is awesome.
For now though, Godaddy will just have to do..can't beat the prices.
Posts: 46
Glad that it worked for you. I share your frustrations, because you still cannot do everything with ffmpeg that you would be able to do if you had full shell access. But then again, we're not paying for it ;)
Posts: 33
Hi.
I switched over to GoDaddy yesterday and I have my gallery all working, except for the ffmpeg thing. I've tried 15 different binaries and I followed the 8 step process listed above, but it still fails. Here is the debug info. Any suggestions?
file_exists(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/tools/ffmpeg)
is_file(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/tools/ffmpeg)
Executing: (
"/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/tools/ffmpeg"
"-formats" )
2>"/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbgbgaomR"
file_exists(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbgbgaomR)
filesize(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbgbgaomR)
unlink(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbgbgaomR)
Regular Output:
Error Output:
Status: 139 (expected 0)
Executing: (
"/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/tools/ffmpeg"
"-h" )
2>"/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbg2OFNB6"
file_exists(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbg2OFNB6)
filesize(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbg2OFNB6)
unlink(/home/content/r/o/d/rodentkj/html/gallery2_backup/gallery2/g2data/tmp/g2dbg2OFNB6)
Regular Output:
Error Output:
Status: 139 (expected 0)
Posts: 3
This didn't work for me, so after much more searching I finally found this page: http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html
The third compiled ffmpeg binary claims to work on Godaddy and, lo and behold, is does! (the file link to download is labeled "download ffmpeg without lame") At least, for me. I'm on a shared Godaddy account and it worked for me. Make sure to make it executable. You won't even be able to configure the ffmpeg plugin if it's not executable (it'll tell you it's not if it's not). It didn't automatically create the thumbnails of existing videos I had already uploaded, but it did create them for me on demand when I told it to for each one individually. It also didn't pre-fill in the dimensions of each video file, but once I did it worked okay. Perhaps it would work fine after setting the ffmpeg up correctly and then uploading the files, I haven't checked yet.
Posts: 7
I plan to keep that page with ffmpeg Linux binaries updated with newer versions of ffmpeg from SVN (will do next update within a week, I think), also keeping older versions available for download.
Within a day or two I might also add a working ffmpeg binary for FreeBSD 6.2 hostings... still have to compile and test the binary on client's FreeBSD hosting.