0

I basically need to record a video of the flash stage, and save it as a video file on the webserver. I don't have FMS or the luxury of Java based servers like Red5 to stream to, so I am pretty much stuck with HTTP post to a php script. Now I can grab invidual snapshots (bitmapDatas) Just fine, but how can I convert them to a video file? Any help is appreciated.

PS: This is not an AIR app, so I am using flash runtime. And the video would be couple seconds long so there shouldn't be much of a performance concern at this point.

4

1 回答 1

1

Flex 提供了一个 JPEG 编码器。您可以使用它来压缩位图图像并将它们发送到服务器,在那里您可以使用 ffmpeg 将它们拼接在一起。

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/graphics/codec/JPEGEncoder.html

于 2012-08-13T10:33:37.497 回答