Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Chroma key – problem with shimmering in hair

  • Chroma key – problem with shimmering in hair

    Posted by Karen Pouye on May 10, 2018 at 11:39 am

    THE PROBLEM: I used to do a lot of green screen shooting & editing & it all seemed to work easily, but recently I did a job & I had tremendous problems. The most troublesome issue was the shimmering effect I kept getting at the top of the hair & around the upper edges.
    I just spent several days trying isolate the problem with some results.

    SAMPLE: Here’s a rough sample of what I’m talking about. Admittedly, this has had no work done on it (one press Primatte), but even after I spent hours trying to eliminate the shimmer…I couldn’t reduce it completely via After Effects.
    https://youtu.be/t0ghpAVOtfk

    MY SETUP:
    Editing: After Effects with Primatte plugin
    Lighting – greenscreen – fluros (both horizontal & vertical around a 5m screen) – daylight
    – foreground – 1200 LEDs (had to use a red head & softbox for added light) – warm

    Cameras – Sony Nex VG20 DSLRs using AVCHD & direct capture 4:2:2 & motion jpeg

    POSSIBLE CAUSES
    1. I suspected that it may be due to the amount of gain needed for the cameras. The Nex VG20 has a big sensor which is supposed to compensate for the slow lens & poor low light. I actually struggled to get enough light even with 14 fluros & 4 foreground lights. Most of the time I had to use gain as high as 9dBs

    Possible solution A- I tried using zero gain and more light. I even used a fast prime lens. Although it did have some effect, it wasn’t significant enough.

    Possible solution B- I added a denoise effect before the Primatte keying. This also helped a bit, but increased the rendering time enormously.

    2. Positioning or intensity of back light.
    No matter what I did with the backlight, it made little difference….even no back light at all.

    3. Too much or too little foreground light.
    Again this made no difference after much testing.

    4. Too close to the green screen or caused by reflective spill.
    The mannequin was 4 metres from the green screen & it still showed no improvement. We even covered the floor & all excess green with blacks.

    6. Video compression. So the next possibility was the camera & compression. It’s strange, because I’m sure that I’ve achieved a perfect key with these cameras before, but on other threads it was suggested that compression will cause issues especially with DSLR cameras.

    Solution – . Capture footage directly & use 4:2:2 format. This did help considerably, in fact I did manage to overcome most of the shimmering, but only when I used it in conjunction with a very fast lense.
    If I captured footage with a slow lens then it still had the shimmer issue.

    So the solution is to use low compression & a fast lens, however, I still believe that I managed to produce good keying in the past without either of these & I don’t understand why.
    SAMPLE: https://youtu.be/IejioFl9H6A

    Any suggestions would be most welcome!

    Steve Bentley replied 8 years, 1 month ago 4 Members · 18 Replies
  • 18 Replies
  • Ciaran O connor

    May 10, 2018 at 2:29 pm

    Proper lighting from head to toe is the first stage, which you seem to have sorted. Same for using a fast lens to make the chroma background more uniform.

    On the post proudction side of things, don’t expect just one pass of Primatte or Keylight to work. First make a garbage mask based on exactly what you need, which gives the plug-ins less to worry about. Punching up the green values before keying often helps too and then, you often need to luma matte the footage to a black & white version of itself, and then use that for colour correction and alpha matte-ing in a second or third comp.

    Here’s a good starting point project which should be of some help to you….

    12389_greenscreenchromagoodness.aep.zip

  • Steve Bentley

    May 10, 2018 at 5:57 pm

    I’m not sure how a “fast” lens will help with uneven lighting. Uneven is uneven and opening up your fstop (in other words: a faster lens) will make the dark spots brighter but will also make the bright spots even brighter and the lighting will still be uneven.
    Color correcting the screen color (punching it up) before keying is also a no-no. Any time you color correct something you are throwing information away. Look at the the histogram of any image. Now color correct that image. Look at the histogram again. You will notice gaps where information, (color information) is now missing and the smooth transitions from one color to another are now steppy.
    Back in the optical days we had to hit a specific color of screen to make the chemical process of the film work. But these days you can key off any color. The saturation of the color and the differences between the screen color and everything else are what’s important, not the actual color itself.

    That shimmer you are seeing is digital noise. This is probably caused by the compression of the footage either in the camera or when it was compressed after the camera (to make it a manageable file size to send). It could also be noise from the camera’s chip. I will concede a faster lens can help the noise problem out a little: when a CCD doesn’t have enough light work with it injects voltage in to the chip and you get more noise – a gopro camera does a beautiful job in full sun but looks noisy noisy noisy at night. So a faster lens will let more light in. But in a green screen scenario you should have more than enough light to work with.

    Always key with as uncompressed footage as you can. HD (in 8bit) is 186 mega bytes per second. If you are using H264 you are, at best, probably running around 20 mega bits per second. That’s a factor of about 70! That’s a huge amount of information that has been lost. And most of that lost info is going to be the subtle stuff that you need to separate the hair from the green screen.

    But not all cameras shoot uncompressed (or have interchangeable lenses) sooo.
    Key what you can and then compress the key a little further and use a dechatter effect to help out (if needed). The goal on this first layer is to create a smooth edges key (as in: doesn’t chatter over time). This won’t let the fine wispy hairs through but it will keep the edge from shimmering. It will look like a helmet head key from a B grade scifi movie.
    Now on another layer do a rough garbage matte that just lets you see the edge of the hair but not the core of the person and overlaps the compressed key you did in the last step. Don’t use a key puller effect on this garbage matte layer but do use a key color suppressor, so you end up with colored hair tips on gray. Color correct this layer to lighten the gray and then overlay this layer on the rest of the comp with a “darker color” blend function. (or you can crush this layer even further to make a matte for the hair and pass an uncolorcorrected hair layer through this matte.)
    You can also remove the color from this hair tip layer when you start shifting levels around. Using extreme curves or levels on an image with color creates all sorts of noise, where doing the same on a grayscale image does not. With subtle little things like hair tips, surprisingly, they don’t always need to be in color, or you can tint them after the fact. (when we used to do photo retouching by hand, small imperfections were always done with gray scale paints, never color. The eye better at discerning brightness than color so things like hair tips aren’t noticed if they are the right brightness but not in color.)

  • Karen Pouye

    May 10, 2018 at 8:44 pm

    Thanks for the template Ciaran!
    I probably do need to go back & do a few more tutorials on the keying process again as it’s been a while and it’s quite a complex process.
    I must admit that I did try a few video tutorials, but they were extremely basic and it was a matter of them throwing in perfect footage and getting a fairly instant & perfect result.
    Thanks for your help and suggestions.

  • Karen Pouye

    May 10, 2018 at 8:58 pm

    Hi Steve,
    Thanks for all your advice & suggestions.
    I think that the fast lens only helped in providing more light without the use of gain, although my testing results were not always consistent.
    I will certainly try the dechatter effect and the techniques you suggested. I actually have 2 shoots that I was thinking of reshooting because of the shimmering problem. Maybe I’ll give your ideas a try…and maybe avoid having to reshoot (particularly as one of my actors is not available).

  • Karen Pouye

    May 18, 2018 at 11:05 am

    Well I have spent days trying every conceivable technique possible to eliminate the shimmering hair in my footage (not referring to the samples here) and I have been unable to reduce it significantly at all!

    I don’t know what has caused it, but I think it is just too bad to chroma key.

    If anyone wants to prove me wrong, here is some sample footage (50MBs)
    https://www.dropbox.com/sh/l53j8eh5oof7jko/AADdBqzuPibpX6jiiVxq8W_ia?dl=0

  • Tero Ahlfors

    May 18, 2018 at 11:26 am

    I didn’t finesse it but two Keylights for two different ranges and the advanced spill suppressor would be a pretty good start.

  • Tero Ahlfors

    May 18, 2018 at 11:46 am

    Also a lightwrap might do some good when you have the background ready.

  • Karen Pouye

    May 18, 2018 at 12:44 pm

    Thanks Tero, I’ll give your suggestions a whirl. I tried just keying the top of the hair all on it’s own & I could not even get that happening. It just won’t stop moving even when I shrink the matte right back.

  • Tero Ahlfors

    May 18, 2018 at 1:44 pm

    It’s also good to remember that sometimes half-ass is the proper amount of ass. If you have badly lit, compressed footage then you should make it look good overall instead of trying to fix some small part that viewers probably won’t care about.

  • Steve Bentley

    May 18, 2018 at 4:07 pm

    Will the background be white as in your original sample? If not can you supply a frame of the BG? What it’s like determines much of what the key must accomplish.

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy