0

有谁知道是否存在以及执行此操作的最佳工具是什么:

  1. 我有一个racing_car_game.swf
  2. 我想在服务器端运行它并通过视频输出(例如使用 red5 或其他媒体服务器)
  3. (我想在服务器端运行多个实例)

非常感谢。

4

1 回答 1

1

check my name. I guess you don't have a way to do so.

You could build the functionality (in flash) to render each frame to a BitmapData-object, and then send that encoded as JPEG to a (local) service (either through URLLoader or via TCP/IP sockets) which saves them as images on file and then converts that into a movie once all frames are rendered.

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

DB

于 2012-06-22T23:45:59.267 回答