Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Chroma key effect in as3.0

Contributor ,
May 14, 2013 May 14, 2013

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

TOPICS
ActionScript
4.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2013 May 14, 2013

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 14, 2013 May 14, 2013

I want both i need to dispplay in playing video and have to save it. yes I was building an air for desktop app

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2013 May 14, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 14, 2013 May 14, 2013

Not exactly it is simply recording the video I can make that, The main target is to remove the solid color background from video

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2013 May 14, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 14, 2013 May 14, 2013

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

http://en.wikipedia.org/wiki/Chroma_key

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 14, 2013 May 14, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 14, 2013 May 14, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
May 15, 2013 May 15, 2013
LATEST

Here is a as2-Version of what you are searching for. If you are having difficulties to convert it to as3 report back.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines