The Gallery2 script uses SYSTEM() & EXEC() to call FFMPEG

For security reasons both those PHP functions appear to have been disabled on my shared web hosting server.

Is there another method to use for executing FFMPEG?

link|improve this question

69% accept rate
I doubt it, since it would be blocked for the same reason SYSTEM() and EXEC() are blocked. – Douglas Leeder Aug 21 '09 at 12:29
feedback

1 Answer

Can you upload your own CGIs? If so, upload a bash script (named something.cgi) that starts ffmpeg and visit it.

Try making a file called "foo.cgi" with this content:

#!/bin/bash
echo "Content-type: text/plain"
echo ""
ls -Fal

Upload that to your web root, then go to http://yoursite/foo.cgi

link|improve this answer
Sorry not understanding. This is a shared web server among 100 clients or so. None are granted ssh ability, but only ftp. – Clear.Cache Aug 21 '09 at 16:55
You could FTP a bash script (renamed to something.cgi) into your web root, then go to that page with a browser. The bash script will run on the server, and you can run whatever you want that way. For a start, try something like this: #!/bin/bash echo "Content-type: text/plain" echo "" ls If you see a directory listing when you go to that cgi, you're good. – Bill Weiss Aug 21 '09 at 19:18
argh, markup. I'll add the code I intended to my answer. – Bill Weiss Aug 21 '09 at 19:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.