Gallery 3.0.3 - video - can't play video in my website

orobin

Joined: 2014-01-27
Posts: 5
Posted: Mon, 2014-02-03 17:03

Hello,

I have a shared hosted server (hosted by Hostinger.com)
the phpinfo return :
- Linux server40.hostinger.fr 2.6.32-458.23.2.lve1.2.45.el6.x86_64 #1 SMP Fri Nov 22 08:02:49 EST 2013 x86_64
- php 5.2, apache 2.0

- I deployed the gallery 3.0.3
- I got ffmpeg 64 bits, static, using the website available in the Settings/Movies config of the gallery.
- I placed the ffmpeg executable file in /home/u686322407/public_html/Gallery3/bin/, and set 755 to the executable properties.

- I set the variable to : ffmpeg_path /home/u686322407/public_html/Gallery3/bin/
- when I click in the menu Settings/Movies, I have this :
FFmpeg (of unknown version) was found in /home/u686322407/public_html/Gallery3/bin

I checked "Rebuild all movie thumbnails (once FFmpeg is installed, use this to update existing movie thumbnails)" and select "allows movies upload..." to always. then click save.

- when I add a video, in mp4 :
codec video : h264 - mpeg-4 AVC part 10 avc1
resolution 716x576
rate : 25 frames / sec
uncompressed format : 4:é:0 YUV
Audio : MPEG AAC mp4a, stereo, 44100hz.

I have no error returned.
I can see a place holder in the gallery instead of a thumbnail of the video.
I have no thumbnail generated : nothing visible in my website (belonging the mp4 file for example)
when I click on the video place holder image, a web player run (Flowaplayer I think), but the video never start. no image no sound.

I cannot see anything in the logs (var/logs)

if anyone has an idea to help me, I would be happy :o)

thanks
Olivier

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-02-03 18:48

did you test your ffmpeg binary?
from commandline: /home/u686322407/public_html/Gallery3/bin/ffmpeg -version

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
orobin

Joined: 2014-01-27
Posts: 5
Posted: Tue, 2014-02-04 12:42

Hi,

I have a shared hosting server, then I cannot run command directly, like that.
may be ffmpeg cannot be launnched in this case, in php ???

thanks
Olivier

 
orobin

Joined: 2014-01-27
Posts: 5
Posted: Tue, 2014-02-04 12:44

Hi,

My hosting is shared, it mean I cannot do what I want on it.

I can' run the command line, in a shell. I have limited command available.

may be it is the same for all the shared hosting ? or only for mine ?
I was thinking that using directly ffmpeg in php was possible also in shared hosting server.

thanks
Olivier

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2014-02-04 13:42

I have a script you can try to execute commands

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
orobin

Joined: 2014-01-27
Posts: 5
Posted: Tue, 2014-02-04 15:07

Thank you.

my server report :
Sorry exec() is disabled

so I think I am blocked now :o(

thanks
Olivier