G2-Increase max file size.....&....install ffmpeg. Arcan

mporter88

Joined: 2005-02-21
Posts: 5
Posted: Wed, 2005-02-23 08:18

It all works. Beautifully. Great job. I am going to use the installation to help my wife expand her services by showing some of the short videos that are part of her work. I have tested small versions of her videos (wmv and mov) and it all works great. Larger fies of 6 - 8 meg are rejected. Searching this board points me at increasing the php file upload limit (now 2 meg?). I have opened and searched the text in htaccess (all the ones I can find...there are a few, and any files names anything to do with php and ini. I cannot find any variables that appear to apply. Can anyone give me specific guidance as to how to search for this answer? Any magic keywords? Alternatively, I suppose you could just tell me how to do it. I dont want to beg for it but I will if I have to.

Similarly, but not as crucial; I have no idea how to install the "binary?" ffmpeg. Its total greek to me from beginning to end. I can follow instructions though. I suppose that I am asking for a primer. Feel free to enlighten me (or guide me to a resource? Maybe a keyword again?). It would be really appreciated as thumbnails of the videos would be killer. Eventually I suppose that this stuff will be more automated but I dont want to wait (who would?) In any event I will be sending a donation. I pay for all software.

In any event I appreciate all the work that the dev.s did on this project. It really is beautiful.

mporter88


Gallery URL (optional):
Gallery version: G2 Alpha-4+
Webserver (with version):i686 apache 1.3.33 (unix)
Datatabase (with version):mysql 4.0.23
PHP version (eg 4.2.1):4.3.10
phpinfo URL (optional):??
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
volksport
volksport's picture

Joined: 2002-10-06
Posts: 239
Posted: Wed, 2005-02-23 13:33

in your .htaccess the two settings you want are upload_max_filesize and post_max_size. These should be set to a little above whatever you think is the max filesize you want to upload. You can add these to the server's php.ini or as I said the .htaccess in your gallery's root album. If you change the php.ini you need to restart apache.

You can also check your active php settings by going to:
http://www.yourdomain.com/gallery2/lib/tools/phpinfo.php

Then type in your gallery 2 administrator password. Then look for the 2 settings I mentioned above. The settings on the right are the default in php.ini, the settings on the left are specific to the phpinfo's current location. (from an override in .htaccess)

[I don't think I can be anymore confusing...]

As for ffmpeg... maybe someone else can help you :)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2005-02-24 01:51

You should ask your system administrator to install ffmpeg for you, and have him or her tell you the exact path to the binary. Then enter that path on the configuration page for ffmpeg and you should be all set.