Forum Moderators: phranque

Message Too Old, No Replies

ffmpeg not executing from php, apache problem?

exec() doesn't seem to work in php... possible reasons?

         

AndieR

5:55 pm on Sep 28, 2005 (gmt 0)

10+ Year Member



Hello,

I've been trying to call and run a binar called ffmpeg from php adn the exec()function with no success I'm afraid.

When I run this binar with the command line in telnet it works just fine but not when I try with php... The strangest part is that another binar called mencoder runs fine from php!...

The error I get is 6736 Segmentation fault but I'm really not sure why this only happens with this ffmpeg...

I'd appreciate any suggestions or ideas you may have... Could this be a file permission issue? I've tried changing this.. not sure I tried the right way. Could this have to do with the binar and in this case would I get this error? How can I check? I don't know...

Our dedicated server details: Fedora with Apache

Thank you!
AndieR

jdMorgan

10:04 pm on Sep 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AndieR,

I'd recommend a search for "ffmpeg segmentation fault" on your favorite search engine, or a visit to the ffmpeg support site or SourceForge.

Jim

AndieR

1:29 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



Hello,

I've followed your advice about the ffmpeg support forum... thank you. If anyone else has a suggestion on this I'd appreciate it too...

Regards,
AndieR