Skip to main content
Inspiring
July 16, 2017
Question

Good Chroma Key?

  • July 16, 2017
  • 1 reply
  • 926 views

After doing some Googling it seems there's not a very good chroma key solution for AS3. I found on Quasimondo a pretty nice one, but it's old and AS2 only and the video sample was only 320x240. I need a good clean key from a minimum of 960x540 (1280x720 ideally) webcam, and I'd really like it to run 24fps or so. Thought there might be an ANE for it, but I've found mostly poor examples using threshold and such. I think part of the problem is there's no other native color spaces in AS3 - if there were HLS or LAB space doing keying would be a lot less processor intensive - converting rgb to hls one pixel at a time is expensive.

Anyway thanks for any info.

This topic has been closed for replies.

1 reply

dmennenohAuthor
Inspiring
July 17, 2017

Not much traffic on this. I have started writing my own as I just can't find anything decent for AS3. Will post results if anyone is interested.

dmennenohAuthor
Inspiring
July 21, 2017

So after a few days on this I've managed a pretty good key. Running 960x540 camera resolution at a solid 22fps

Here's a capture - using a blue sleeping bag behind me.
key.jpg

Participant
July 17, 2018

hello,

i wrote you a pn. this is critically important for me after adobe dismissing flv export in media encoder (the only container format with alpha channel supported by adobe air)...

looking forward to your answer,

best regards,

kai