ffmpeg and Windows/IIS "Can't find binaries"

biggziff

Joined: 2006-04-09
Posts: 8
Posted: Mon, 2006-04-10 18:32

I have a new working install of latest G2 on a new windows 2003 server box, IIS6, etc. I downloaded the FFMPEG binaries and extracted them into a dir, pointed G2 at the dir and tried to activate that module. G2 just complains that it can't find the binaries.

I've tried the package both from the FFMPEG site and from a link here to sourceforge. Neither helps.

Any thoughts?

 
biggziff

Joined: 2006-04-09
Posts: 8
Posted: Tue, 2006-04-11 17:23

OK...pointed it to the c:\mplayer\ffmpeg.exe file and got this when tested:

file_exists(c:\mplayer\ffmpeg.exe)
is_file(c:\mplayer\ffmpeg.exe)
Executing: cmd /c " "c:\mplayer\ffmpeg.exe" "-formats" 2>
"e:\g2data\tmp\g2dA9E.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(e:\g2data\tmp\g2dA9E.tmp)
filesize(e:\g2data\tmp\g2dA9E.tmp)
unlink(e:\g2data\tmp\g2dA9E.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
Executing: cmd /c " "c:\mplayer\ffmpeg.exe" "-h" 2>
"e:\g2data\tmp\g2dA9F.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(e:\g2data\tmp\g2dA9F.tmp)
filesize(e:\g2data\tmp\g2dA9F.tmp)
unlink(e:\g2data\tmp\g2dA9F.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)

Does anyone have any idea what is going on here??

Thanks

 
mrcolj
mrcolj's picture

Joined: 2004-01-06
Posts: 79
Posted: Thu, 2006-10-12 12:59

bump. Same problem

--Colin Jensen
www.colinandbethany.com

 
Cryos

Joined: 2006-10-13
Posts: 2
Posted: Fri, 2006-10-13 18:05

Hi Gents,

I had the same problem, but eventually figured it out! Its a Windows Command Line Permission.

goto %Windir%\system32, find your cmd.exe right click > Properties > Security > Add Click Locations (if running off domain) and that local computer name, Find your IIS Domain user (as an example it could be IUSR_God) double click, give it read and Execute permissions.

If you run without such user set the Everybody Permission instead althought its not reccomended.

Click Test Settings in the FFMPEG module in gallery and hey presto you should be ok :D

Michael O'Brien
HP TSG EMEA

 
biggziff

Joined: 2006-04-09
Posts: 8
Posted: Fri, 2006-10-13 18:22

Thanks, but I already have those privleges applied to my system and that account. Still no joy. I've even added "everyone" as having read and execute with no success.

 
Cryos

Joined: 2006-10-13
Posts: 2
Posted: Fri, 2006-10-13 19:56

Hmm thats strange

My config for FFMPEG and CMD Settings are here, included aswell is my IIS Anon Account just for clarity.

[img]http://oracle.themobtrix.com/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=158&g2_serialNumber=1[/img]

If you would like i can remote into your box and have a look for you ?

mail me at [img]http://oracle.themobtrix.com/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=161&g2_serialNumber=1[/img]

 
biggziff

Joined: 2006-04-09
Posts: 8
Posted: Sat, 2006-10-14 01:05

Yup..same here. Dunno what the issue is. I'm sure it's permissions related, but can't figure it out.

 
mrcolj
mrcolj's picture

Joined: 2004-01-06
Posts: 79
Posted: Wed, 2006-10-18 23:07

I also have IUSR_SERVER permissions set to Read & Execute on c:\windows\system32\cmd.exe, and get the same error.

 
milansingh@econ...

Joined: 2008-04-19
Posts: 1
Posted: Mon, 2008-04-21 08:55

I am trying to embed FFmpeg by using ASP at the site so that whenever a vedio file is uploaded that file should be converted to .flv and starts playing. So, can anybody please help how to embed FFmpeg to my site.

thanks in advance.
Milan