开发者

How can i do chroma keying in flex/actionscript

I need to develop a flex component which can take two videos and 开发者_运维知识库mix them using chroma keying. Is there library support in adobe flex for chroma keying. How can i get it done . Is there a sample code snippet for reference


Basically, the idea is, you don't play the "blue-box-video". Rather than that, every frame, you copy it's content into a BitmapData using BitmapData::draw. Then with BitmapData::threshold or other methods, you try to cut out the background. The resulting BitmapData is put on top of the other video.

You might wanna have a look at PixelBender to get better results.

greetz
back2dos


Is it possible to do chroma keying in the server side. For example, if we use flash media server, does it have features to do the mixing?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜