ActionScript 3 将视频帧捕获到BitmapData(额外 - 将位图添加到PV3D材质)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ActionScript 3 将视频帧捕获到BitmapData(额外 - 将位图添加到PV3D材质)相关的知识,希望对你有一定的参考价值。

// Grab the Frame from the Video()
_vidBitmapHolder = new BitmapData(_screenWidth, _screenHeight, false, 0x000000);
_vidBitmapHolder.draw(videoFile); // draw the Video() Object

// Extra - Turn it into a BitmapMaterial for Papervision3D
_tempVideoScreen = new BitmapMaterial(_vidBitmapHolder, false); // Create the BitmapMaterial

以上是关于ActionScript 3 将视频帧捕获到BitmapData(额外 - 将位图添加到PV3D材质)的主要内容,如果未能解决你的问题,请参考以下文章