Copy link to clipboard
Copied
Hi ,
How to make chroma key effect in as3.0. I am building an application in that while recording a video user can remove the solid background and inserts some other image it is done by chroma keying..
Any ideas please
Thanks
Copy link to clipboard
Copied
do you want to save the video with the user's background or just display it while the video is playing in flash?
are you building an air for desktop app?
Copy link to clipboard
Copied
I want both i need to dispplay in playing video and have to save it. yes I was building an air for desktop app
Copy link to clipboard
Copied
if there's no sound you can use the flvrecorder: https://code.google.com/p/flvrecorder/
otherwise, you'll need to extend that class yourself.
Copy link to clipboard
Copied
Not exactly it is simply recording the video I can make that, The main target is to remove the solid color background from video
Copy link to clipboard
Copied
your video should start with no background. otherwise, flash will have a lot of work to do removing it during run-time. that's inefficient.
Copy link to clipboard
Copied
what i mean exactly is user starts recording the video in solid background environment so he can eliminate the background with chroma key and replaces with some image. The chrom key will hide the background show the user and in background he can place some image
this is chroma key effect
Copy link to clipboard
Copied
if you want to dynamically remove the background, use the bitmapdata class but that's going to be problematic because of the computational power required.
Copy link to clipboard
Copied
Yes, I know . I was searching in google but I didn't good solution for that. I came to know that we can do that using pixel binder shader.. But I don't how to use pixel binder and it is based on some algorithms
Copy link to clipboard
Copied
Here is a as2-Version of what you are searching for. If you are having difficulties to convert it to as3 report back.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now