upload video G3

pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Mon, 2012-05-28 13:12

Hi friends,
i'm just upgraded from G2 to G3, and would like to create a little video section.
..but if i try to upload the video (on flv, 12,46 MB), the upload fails with this message:Server error: Error #2038 (IO) (and link: http://codex.gallery2.org/Gallery3:Troubleshooting:Uploading)

I've contacted my isp for the memory limit and they answered: 32MB Memory limit.
I've reduce to 1 the "simultaneous_upload_limit" as suggested.

I've installed the "Videos" module version 4. This give me not error messages but the video doesn't shown on site.
The isp doesn'permit ffmpeg executable, and i've installed NoFFMPEG (version 1) module.
Installed HTML Uploader module, but nothing.

Watching the error log: [Mon May 28 16:24:07 2012] [error] [client 2.224.191.17] FastCGI: incomplete headers (0 bytes) received from server "/home/wxxxxx/php-fpm"

Have you any other idea?

many many thanks!

davide
Italy

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7936
Posted: Mon, 2012-05-28 16:50

Memory limit is only one setting required for uploading large files
post_max_size
upload_max_filesize

try using the server add method

Keep the noffmpeg module, but dump the videos module(unless you are trying to upload other types of movies)

-s

 
pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Tue, 2012-05-29 10:58

ok, i've dumped videos module, installed and activated "server add method",
uploaded the flv video on "server add method"path,

but if i try to select the video it is not recognized/seen..

[img]http://www.cosmogonia.org/cosmogoniA/tmp/server_module.png[/img]

many thanks for your help ;-)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7936
Posted: Tue, 2012-05-29 11:53

Was video working for you in G2?

Lets make sure your server recognizes our allowed video types, add these 2 lines to your .htaccess

AddType video/x-flv                    flv
AddType video/mp4                      mp4 m4v f4v

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Tue, 2012-05-29 12:40
Quote:
suprsidr: Was video working for you in G2?

yes, but no ffmpeg on the server was and so no automatic video icon on gallery2;

i've added the your code on .htaccess for gallery3, but nothing change..

I've converted my video on mp4 and so i can upload it (and gallery3 see it) by "upload photo" ("add server" nothing see ).

BUT

No preview video icon:

[img]http://www.cosmogonia.org/cosmogoniA/tmp/Schermata_video_nopreview.png[/img]

and no video play (infinite loop):

[img]http://www.cosmogonia.org/cosmogoniA/tmp/Schermata_flowplayer.png[/img]

Normally, gallery3 is it able to manage videos? Or is it necessary moore hack?

many thanks again!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7936
Posted: Tue, 2012-05-29 13:30

there is no way for G3 to detect the video height x width without ffmpeg.
The noffmpeg module can detect height x width on most flv, but not on mp4.
So you need a way to add height x width.... http://codex.gallery2.org/Gallery3:Modules:videodimensions

This is the same type of problem you ran into w/ G2.
Better hosts allow ffmpeg.

Also for G2 I replaced my flashvideo and mp3audio modules w/ my new Multimedia module.
Multimedia module provides better support for different audio and video media types.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Tue, 2012-05-29 14:16
Quote:
there is no way for G3 to detect the video height x width without ffmpeg.

ok, my isp and my money...GASP!..

Quote:
So you need a way to add height x width.... http://codex.gallery2.org/Gallery3:Modules:videodimensions

done, but nothing, the mpeg4 video doesn't play..

i've uploaded one smaller flv video, uploaded with "upload photo" and finally the video now play..

I've found many broken links on Gallery page (many on G3 theme page) that someone should correct..
In the same way, i think that a little bit software testing, should be done for G3 modules;

although I'll admit I have a very limited isp..but here in Italy we have become poor all of a sudden .. :-)

many thanks again

..ah, the last question: there is a method for modifying the preview image associated with the video?

ciao!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 7936
Posted: Tue, 2012-05-29 14:39
Quote:
ah, the last question: there is a method for modifying the preview image associated with the video?

You can replace /var/thumbs/album_name/video_name.jpg

Funny that no one has created a Custom Thumb module.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26100
Posted: Tue, 2012-05-29 15:22
Quote:
I've found many broken links on Gallery page (many on G3 theme page) that someone should correct..

Please start a new thread with your specific findings so we can correct. I can't see any that are broken at this time. Please be specific.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
pergraziaricevuta
pergraziaricevuta's picture

Joined: 2007-06-13
Posts: 14
Posted: Tue, 2012-05-29 16:35

ok i've done: http://gallery.menalto.com/node/106739

thanks for all!