redirect a shell command to stdout in real time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I want to redirect the stdout of an executing shell command to stdout of
php called by browser
The command some stream like command like
ffmpeg -i rtmp://192.....     -
rtmpdump -v  -r rtmp://192  -a app -y stream -o -
so its live video, and the execution not stops,  till the user navigate out
with browser.

What I want loading this php from web based,  to print the live video
content to the stdout of php,
So the call result of  php is video and starts almost with
header("Content-Type: video/x-flv");

Hope there's solution in php
Thanks
Zocs

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux