Click to See Complete Forum and Search --> : execute shell command and stream it's output


wasted
02-06-2008, 06:25 AM
We have exec(), system(), passthru(), functions in php to execute the shell commands via php.

All these script sends the shell command and waits till they are complete and return its output at the end. But, in my case a command takes almost 2 minutes to complete and it returns the command status in percentage which updates each second. So, what i need is. I want to stream the command output contineously .

(actually, i'm converting a video using ffmpeg and it takes while ffmpeg command returns the status of video conversion).

Rgds,
rubin

domino2800
03-25-2008, 09:59 AM
Did you find anything? I have the same problem. If you find anything can you please post it here.
Thanks
Simon

wasted
03-26-2008, 01:39 AM
Hey Buddy ! here's an open source link... i used it...

http://uber-uploader.sourceforge.net/