Render AS3 Flash (swf) for a video server

Does anyone have an idea how to do this? Or a product?

I have a SWF timeline animation that captures XML / images dynamically, and then I need to output / encode this as a video.

+4
source share
2 answers

You can create functionality (in flash memory) for rendering each frame to a BitmapData object and then send it as a JPEG to the (local) service (via URLLoader or via TCP / IP sockets), which saves them as images in a file, and then converts them into a movie when all frames are rendered.

EDIT: you can use the AS3 Core Lib part ( https://github.com/mikechambers/as3corelib ) to convert BitmapData to a JPEG file (in memory).

+1
source

If you want to get FLV as an output, you can use an FLV encoder like this: http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs/

+1
source

All Articles