[Red5devs] Streaming real-time generated content (not captured video)

Rui Pereira rfapereira at gmail.com
Mon Mar 31 02:12:31 PST 2008


Hi all,

I just started playing around with Red5, so I apologize in advance if I'm
missing something...

I went through the docs, got my first sample app running, and I understand
how to stream FLVs and even the ideas behind publishing a web camera video
stream from the Flash client to the server (so that others can subscribe).

But I have a different scenario in mind, and I'm stuck on how to do it.
Suppose I have a Java application that generates graphics and sound by
itself (for instance, using Java2D). I would like to publish this through
Red5 so that anyone with the Flash client could subscribe and watch it live.
How would this be achieved?

I figure that there are two possibilities:

1) The code that generates the graphics and sound is built into the Red5
application directly
2) Do it on a separate application, and publish it to Red using RTMP (same
way a Flash client would do using a webcam)

For both approachs, the main problem is how to "video stream" something that
is not video in the first place (like FLVs or capture cards, etc...). For
instance, I know that FFMPEG can be used to generate FLV, but in this case,
I have no file to serve as input. And even if that was possible, how to
"grab" the output in such a way that could be streamed real time in Red5?

For approach 2 (which seems better because it doesn't put extra load on Red5
itself), the problem is that I can't seem to find any RTMP client (except
for Flash itself).

Any tips or ideas would be great.

(Btw, congratulations on Red5 - this is one cool project ;)

Thanks,
Rui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080331/cf46598f/attachment.html 


More information about the Red5devs mailing list