[SOLVED] Video File Support

CGreenTX

Joined: 2004-12-20
Posts: 51
Posted: Mon, 2004-12-20 18:53

I'm trying out Gallery2a4 and I've attempted to upload a few AVI files. This hasn't yet worked. I compiled ffmpg and provided the path to it. Is this feature working yet? Is it compatible with AVI files? Am I wasting my time so early in the development process? :lol:

Thanks!

Chris Green

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2004-12-20 20:08

this should work.
we need a little more info.. can you describe what "this hasn't yet worked" means?
you can't upload files at all? you aren't getting thumbnails? you can't download the files? you expected inline view of movie but got just a link to download? you can see there are a few interpretations of "not working"...

what mime types does Test Settings report from your site admin / ffmpeg page?

 
CGreenTX

Joined: 2004-12-20
Posts: 51
Posted: Tue, 2004-12-21 00:28

Supported MIME Types

The FFMPEG module can support files with the following MIME types
video/x-ms-asf video/x-msvideo video/quicktime video/mpeg video/x-ms-wmv

When uploading via the applet I get this error: http://www.greenfam.org/temp/video-error.PNG

When i upload via the form it just doesn't show up. Wish I had more info. Is there something i can do to get more informative errors?

Chris Green

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2004-12-21 01:40

let's stick to uploading from web browser for now, as there may be other problems with the applet. "just doesn't show up" means what? you pick the file, submit, the resulting page says.... ?
you can turn on debug output in config.php to get more info.
you can PM me your G2 url and a G2 user/passwd i can use to try adding items if you'd like.

 
CGreenTX

Joined: 2004-12-20
Posts: 51
Posted: Tue, 2004-12-21 01:54

I just noticed the limitation of 2MB for uploads through the form. Most of my video files are 5-6MB. Could this be my issue?

Chris

 
CGreenTX

Joined: 2004-12-20
Posts: 51
Posted: Tue, 2004-12-21 02:00

That was it. I upped the limit in php.ini to 25M, but Gallery seems to only allow up to 8M. That should be plenty though since I don't think I really have anything larger. :)

Chris Green

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2004-12-21 02:50

There are a few limits you need to look at, the upload limit, post limit and memory limit. These limits can also be set in your .htaccess files, so check there as well. But if 8M is enough, don't worry about it :)

 
etech2000

Joined: 2004-12-21
Posts: 4
Posted: Tue, 2004-12-21 03:05

[G2] Bug Report: I get the following error when trying to login with default admin/password:

[G2] Fatal error: Call to undefined function: iscorrectpassword() in
/home/gardenin/.panel/web/gallery/modules/core/UserLogin.inc on line 55

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2004-12-21 03:48

What does this have to do with the thread? There is no "default" admin password, you pick it during the installation of gallery. You probably need to make a new thread for your problem if you want any real help.

 
pictureshow

Joined: 2005-03-07
Posts: 9
Posted: Wed, 2005-03-09 03:14

Hi i am trying to upload a quicktime .mov to my gallery and i get this error message.

Error (ERROR_BAD_PATH)
• in modules/core/classes/GalleryDataItem.class at line 129 (gallerystatus::error)
• in modules/core/classes/GalleryUnknownItem.class at line 77 (gallerydataitem::create)
• in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 221 (galleryunknownitem::create)
• in modules/core/classes/GalleryCoreApi.class at line 1382 (galleryitemhelper_medium::additemtoalbum)
• in modules/core/ItemAddFromBrowser.inc at line 84 (gallerycoreapi::additemtoalbum)
• in modules/core/ItemAdd.inc at line 72 (itemaddfrombrowser::handlerequest)
• in main.php at line 166 (itemaddcontroller::handlerequest)
• in main.php at line 46
• in main.php at line 39

Jpeg files work fine..
How do i fix this ? Thanx in Advance YO YO

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-09 05:08

pictureshow, please don't repeat your question in other topics.