由网友(红提碗)分享简介:基本上,我想知道是否有任何图书馆那里,让我产生了Flash运行时的视频文件。我知道这样的过程需要占用大量的资源,但我仍想知道是否有可能?Basically I'd like to know if there are any libraries out there that lets me create a vid...
基本上,我想知道是否有任何图书馆那里,让我产生了Flash运行时的视频文件。我知道这样的过程需要占用大量的资源,但我仍想知道是否有可能?
Basically I'd like to know if there are any libraries out there that lets me create a video file in the flash runtime. I know such a process would take a lot of resources, but I would still like to know if it was possible?
我猜它可以工作就像刚好路过它的BitmapData对每一帧。
I would guess it could work like just passing it a bitmapdata for each frame.
推荐答案
尝试的这个。用法:
var myWriter:SimpleFlvWriter = SimpleFlvWriter.getInstance();
myWriter.createFile(myFile, 320,240, 30, 120);
myWriter.saveFrame( myBitmapData1 );
myWriter.saveFrame( myBitmapData2 );
myWriter.saveFrame( myBitmapData3 ); // etc.
myWriter.closeFile();
相关推荐
最新文章