Video Play

delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 08:57

I have an AVI movie in my gallery
http://testweb.web.coumans.ch/gallery/main.php?g2_itemId=216
But there is now "Donload move", instead of the video is displayed there. Nch what I need to activate in the Gallery?
If so what and where? I would like to AVI or FLV videos can load into the galery.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-11-07 15:20

You need the ffmpeg module activated.
http://codex.gallery2.org/Gallery2:Modules:ffmpeg
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 16:16

i reseved the error.
The ffmpeg ware in the directory of the gallery (modules)

FFMPEG Settings
path to "modules/ffmpeg\ffmpeg.exe"

FFMPEG binary test results
Binary Name Pass/Fail
ffmpeg Failed

Debug output (1 failed test) -
We gathered this debug output while testing your Ffmpeg installation. If you read through this carefully you may discover the reason why Ffmpeg failed the tests.

file_exists(modules/ffmpeg\ffmpeg.exe)
is_file(modules/ffmpeg\ffmpeg.exe)
Executing: cmd /c " "modules/ffmpeg\ffmpeg.exe" "-formats" 2>
"C:\Test\gallery\g2data\tmp\g2d3F1E.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(C:\Test\gallery\g2data\tmp\g2d3F1E.tmp)
filesize(C:\Test\gallery\g2data\tmp\g2d3F1E.tmp)
unlink(C:\Test\gallery\g2data\tmp\g2d3F1E.tmp)
Regular Output:
Error Output:
Status: 1 (expected 0)
Executing: cmd /c " "modules/ffmpeg\ffmpeg.exe" "-h" 2>
"C:\Test\gallery\g2data\tmp\g2d3F1F.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(C:\Test\gallery\g2data\tmp\g2d3F1F.tmp)
filesize(C:\Test\gallery\g2data\tmp\g2d3F1F.tmp)
unlink(C:\Test\gallery\g2data\tmp\g2d3F1F.tmp)
Regular Output:
Error Output:
Status: 1 (expected 0)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-11-07 16:26

The path to ffmpeg needs to be the full system path. C:\path\to\ffmpeg\binary\file.exe
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 16:36

with the whole path do not slide off

C:\Test\gallery\modules\ffmpeg\ffmpeg.exe

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-11-07 16:45

"do not slide off" What does that mean?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 16:48

i have given the fmeg the whole path, where it is stored on the srver, but it komt still the same error message as in post 1

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-11-07 17:04

I see you're running IIS. Make sure that the IIS user has access to that path an execute permissions on the ffmpeg binary.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 17:44

the user have permission on the directory of ffmpeg, then the directory are in the gallery directory

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2010-11-07 17:49
Quote:
Executing: cmd /c " "modules/ffmpeg\ffmpeg.exe" "-formats" 2>

That's not the full path to the file.

Go to Site Admin > FFMPEG and set it to: C:\Test\gallery\modules\ffmpeg\ffmpeg.exe

If that continues to not work, try installing ffmpeg into a different directory outside of the G2 directory structure, like c:\ffmpeg and try that.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sun, 2010-11-07 18:07

same problem, although I do have to "c: \ ffmpeg" have

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Mon, 2010-11-08 16:53

what else can I try it

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-11-08 17:07

A linux server? :)

Sorry, but it's been ages since I've tried running Gallery on Windows and even longer since I tried getting binaries like ImageMagick (never tried ffmpeg) on Windows working with Gallery.

Oh, wait, maybe also make sure that the path ffmpeg is installed in is in your %PATH% environment variable.

I'd also try going to the command line and try c:\ffmpeg\ffmpeg.exe -h and see what you get.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Tue, 2010-11-09 06:23

I have other options to enable other videos in my gallery that they can also be considered and be available not only to download?
or know someone in order to enable ffmpeg on a windows srv 2003 device?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-11-09 06:24
Quote:
Oh, wait, maybe also make sure that the path ffmpeg is installed in is in your %PATH% environment variable.

I'd also try going to the command line and try c:\ffmpeg\ffmpeg.exe -h and see what you get.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Tue, 2010-11-09 22:15

I have the registered c:\ffmpeg\ffmpeg.exe in my variable %path%

but the error are the same.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-11-09 22:26
Quote:
try going to the command line and try c:\ffmpeg\ffmpeg.exe -h and see what you get.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Wed, 2010-11-10 18:46

now run the command (c:\ffmpeg\ffmpeg.exe -h), see the link on the results.
what should I say this

i have now run

http://testweb.web.coumans.ch/ffmpeg.jpg

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-11-10 19:14

ok so try going to Site Admin > Ffmpeg and enter c:\ffmpeg\ffmpeg.exe and click Test Settings.

Does it pass or fail?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Wed, 2010-11-10 21:56

ist the same error "post from Joined: 2009-07-24"

 
delfin78

Joined: 2009-07-24
Posts: 26
Posted: Sat, 2010-11-13 09:34

So no one can help further

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2010-11-13 14:27

Busy all weekend, will check back in a few days.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here