Groups | Blog | Home
all groups > macromedia flash flashcom > april 2006 >

macromedia flash flashcom : Fake Live Streaming with delay


ujteinor
4/12/2006 7:54:48 PM
Hello,

I'm thinking about to do a fake live streaming this way:

1. My capture card (not seem by flash as a camera) saves an avi file to a
folder in my server (Red Hat);
2. Use ffmpeg to encode this file as flv and copy this flv to the stream
folder under my FMS2 application folder - every 5 minutes with a server script;
3. Using File Class and setInterval , I want to list the folder and pick the
most recently flv file and play it as a stream to record (append) it as one flv
file.
4. This last flv file is the only stream my clients will see in the
videoplayer...

Is there a chance that this whole thing works?:confused;
JayCharles
4/13/2006 2:27:49 AM
I don't see why you couldn't do that.

I wouldn't subscribe the client directly to the recorded .flv's, but rather,
subscribe them to a new stream and play the .flv's over that. That way, it's
just a single connection... and the backend would be kind of like a video
switching application.
AddThis Social Bookmark Button