[SOLVED] Unable to upload videos

Ocid

Joined: 2005-08-07
Posts: 4
Posted: Sun, 2005-08-07 11:14

Hey,

now having problems with G2 when trying to upload some videos to albums.

When trying to upload appr. 8.8MB AVI-file, file gets uploaded but then I got this error message:

MVI_0056.AVI: Error: Server contacted, but Gallery not found at this URL ( http://xxx.xxxxx.xxx/gallery2/main.php )

I then modified the .htaccess file to contain:
php_value post_max_size 128M
php_value upload_max_size 128M

and the error message changed to:

Upload error: Upload failed: ".

These videos worked great with 1.4.4-pl4-6 (found in Ubuntu repos), but suddenly that version started to give me all kind of weird errors, that's why I removed it and installed G2

----

Gallery URL (optional):
Gallery version: 2.0-rc-1 core 0.9.34
Webserver (with version): Apache/2.0.53 (Ubuntu) PHP/4.3.10-10ubuntu4
Datatabase (with version): mysql 4.0.23_Debian-3ubuntu2-log
PHP version (eg 4.2.1): 4.3.10-10ubuntu4 apache2handler
phpinfo URL (optional):
Graphics Toolkit(s): ArchiveUpload, Exif, ImageMagick, NetPBM, Ffmpeg
Operating system: Linux fubar 2.6.10-5-386 #1 Fri Jun 24 16:53:01 UTC 2005 i686
Web browser/version: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fi-fi) AppleWebKit/412.6 (KHTML, like Gecko) Safari/412.2
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-08-07 11:43

this Upload error: Upload failed: ". thing, is this an apache error or a g2 error with a error stack trace?

when you choose the add item from web browser method, what does it say is the maximal size of a single file you can add?

please also review the apache 2 instructions here:
FAQ Gallery:c.6

 
Ocid

Joined: 2005-08-07
Posts: 4
Posted: Sun, 2005-08-07 12:06
valiant wrote:
this Upload error: Upload failed: ". thing, is this an apache error or a g2 error with a error stack trace?

It comes when using the "Upload applet" after successfull transfer

valiant wrote:
when you choose the add item from web browser method, what does it say is the maximal size of a single file you can add?

Note: You can upload up to 2 megabytes at one time. No individual file may be larger than 2 megabytes.

Then I changed the php.ini according to http://marc.theaimsgroup.com/?l=gallery-users&m=102589601604892&w=2 and removed those lines from .htaccess and now it says Note: You can upload up to 128 megabytes at one time. No individual file may be larger than 128 megabytes.

Upload now succeeds, but no preview icon is shown nor the film won't start playing, when clicking it I only get Quicktime's Q and a question mark over it

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-08-07 12:11

ok, so your original problem was solved, it was a user error.

your new problem:
- you don't get thumbnails for movies
obviously you have the ffmpeg module installed. and active. maybe you need to use buffered debug mode to find out why you don't get a thumbnail.

- you can't view the movie embedded in your browser. if you could provide a link to your g2, i could tell you if it's your browser's problem.

 
Ocid

Joined: 2005-08-07
Posts: 4
Posted: Sun, 2005-08-07 12:33

also tried with:
- Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
- Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.7.10) Gecko/20050716 Firefox/1.0.6

neither will show the thumbnail, but IE 6.0 can play the video, Firefox doesn't have suitable plugin

ffmpeg module version 0.9.5 installed and activated

$gallery->setDebug(buffered);
gives me a lot of text, what I should look from there?

Also the video viewing worked with version 1.4.44

Gallery is now in buffered debug mode and can be found in (URL removed) and videos are in Album Testvideos

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-08-07 13:22

@thumbnail:
that's a problem with your ffmpeg / toolkits. i've added the same movie ( MVI_0078) to my G2 and it works

@embedded playing:
this is a weird mime type, "video/x-msvideo". in IE, it plays correctly. in FF not.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-08-07 13:29

and with IE, i can watch the movie on your website too.

 
Ocid

Joined: 2005-08-07
Posts: 4
Posted: Sun, 2005-08-07 13:41

hmmmm......

now also Safari plays the videos, but still no thumbnail

Didn't do anything else but disabled the debug mode

EDIT: actually deactivated and uninstalled module ffmpeg, now it plays ;) also in FF (not embedded, but it now launches wmp)

ffmpeg still exists in /usr/bin