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

**URL:** <https://community.wowza.com/t/how-to-create-video-stream-from-a-sequence-of-bitmaps-from-flash/38688>\
**Category:** Wowza Streaming Engine\
**Created:** [May 16, 2012, 8:14am UTC](https://community.wowza.com/t/how-to-create-video-stream-from-a-sequence-of-bitmaps-from-flash/38688 "2012-05-16T08:14:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vit\_tam](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@vit\_tam](https://community.wowza.com/u/vit_tam)\
**Post date:** [May 16, 2012, 8:14am UTC](https://community.wowza.com/t/how-to-create-video-stream-from-a-sequence-of-bitmaps-from-flash/38688/1 "2012-05-16T08:14:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [May 16, 2012, 1:18am UTC](https://community.wowza.com/t/how-to-create-video-stream-from-a-sequence-of-bitmaps-from-flash/38688/2 "2012-05-16T01:18:49Z")

</div>

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](http://electron.mit.edu/~gsteele/ffmpeg/).

---

<div class="post-metadata">

**Author:** ![Jay\_Charles](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@Jay\_Charles](https://community.wowza.com/u/Jay_Charles)\
**Post date:** [May 16, 2012, 7:20am UTC](https://community.wowza.com/t/how-to-create-video-stream-from-a-sequence-of-bitmaps-from-flash/38688/3 "2012-05-16T07:20:52Z")

</div>

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).
