Wowza Community

How to create video stream from a sequence of bitmaps from Flash

Hi! Please suggest, googling failed.

I need to create video stream from a sequence of bitmaps (i.e Bitmapdata.draw() ). Is it possible?

Seems like I can put anything into Netstream.send(), but should I encode the images manually, or there’s some framework feature? I plan to use wowza server as backend.

Any links to examples would be helpful.

Thanks.

I don’t think you can do this with Wowza. With FFMPEG (or another 3rd party tool) it’s quite easy. I did a web search for “create video from image ffmpeg” and found several examples.

If you want so stay in the flash environment on the client side, I suppose you -could- send the bitmap data to Wowza using NetStream.send or NetConnection.call, and then use Xuggler in your Wowza application to encode the bitmaps into video frames.

How frequently do you plan to send bitmaps, and how large will they be? Efficiency might be an issue here. I suppose you could encode to a compressed jpg on the client side and send that data (which would certainly speed up the transfer, but would also slow down the client side process).