Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server side convert videos

Status
Not open for further replies.

neisye

Programmer
Mar 5, 2008
11
AU
hi guys,
been working on a dedicated server and i've just moved to a shared server.

ive got ffmpeg installed but i keep getting

this errors


Warning: exec() [function.exec]: Unable to fork [ffmpeg -y -i /kiq_video/18.mov -vframes 1 -ss 00:00:03 -an -vcodec png -f rawvideo -s 400x220 /main_photos/tbv_18.png]



is there a way around----
calling ffmpeg from php by using system() function.

thanks arden
 
I suppose the first thing to find out is if the fork is failing because it cant see the ffmpeg command or it is running out of memory etc.
I think when you establish what is going wrong the linux (or whatever) forums might be able to help.
It looks like PHP is doing its job here
 
hey,
the same code was running perfectly on a dedicated server same hosting any more ideas???

is it because of security reasons the .exe files dont have Read&Execute permissions for the IUSR_servername anonymous account ???
arden
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top