views:

27

answers:

2

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

A: 

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

back2dos
A: 

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?

Wind Chimez
Well, basically you can do everything on the server side, however FMS is not designed for that to my knowledge. If you need a more elaborate answer, I suppose you should ask a new question.
back2dos