We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,624 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

FFMPEG permission problems IIS 7

I seem to be having a major problem with FFMPEG on my local test server everything seems to work fine the videos encode and everything. I moved all of this onto my new Windows 2008 Web Server, which uses IIS 7 and everything works I get no errors or anything but the exec command will not run ffmpeg.

I have tried all the solutions that people have suggested with changing the permissions and the permission for cmd.exe but nothing seems to make it work. I know the code works as it has all been tested.

If anyone can shed any light on this I would be very grateful, the only other solution I can currently think of is getting a linux server.

2
Contributors
4
Replies
1 Day
Discussion Span
1 Year Ago
Last Updated
6
Views
Chub97
Newbie Poster
15 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Are you sure exec() is enabled? In php.ini file you can set a list of functions to disable.
Besides: +1 for linux ;p

cereal
Veteran Poster
1,144 posts since Aug 2007
Reputation Points: 344
Solved Threads: 221
Skill Endorsements: 22

Yeah I am pretty sure that it is enabled as the disable_functions = "". If I am looking to go the linux root what would you recommend as I kind of want to be guaranteed that it will work. As honestly so far I am just fed up with Window's IIS security permissions and all of that.

Chub97
Newbie Poster
15 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Then try to run system() instead of exec() you will get ffmpeg output, so you can see what is going wrong, maybe is just the path or the permission with directories.

You can use Debian, Ubuntu or CentOS (or whatever you like), here there is the Ubuntu server guide for 11.10: https://help.ubuntu.com/11.10/serverguide/C/index.html

Bye.

cereal
Veteran Poster
1,144 posts since Aug 2007
Reputation Points: 344
Solved Threads: 221
Skill Endorsements: 22

Then try to run system() instead of exec() you will get ffmpeg output, so you can see what is going wrong, maybe is just the path or the permission with directories.

You can use Debian, Ubuntu or CentOS (or whatever you like), here there is the Ubuntu server guide for 11.10: https://help.ubuntu.com/11.10/serverguide/C/index.html

Bye.

Okay thanks for the reply I am going to have a go at using the system() function instead of exec() to see what is going on, but from what I have heard so far the permissions set up on IIS is awful.

Chub97
Newbie Poster
15 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0735 seconds using 2.85MB