Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Keying out and replacing sky

  • Keying out and replacing sky

    Posted by Jamie Coote on January 21, 2014 at 3:16 am

    Hey!
    I have an extraordinarily detailed shot, you name it, it’s there; trees, reflections, fine lines, etc. It was supposed to be sunrise but as winter would have it, there was little to see but grey flatness. Great, I’ll just key that out, matte, luma etc… Or so I thought…
    I’ve tried combinations of everything to swap it for a tracked still of golden loveliness, to no avail. Hence I’m here hunting for help.
    I’ve stuck the proxy on youtube to show you all with what we are dealing (if it helps this was shot in raw). Apologies in advance, it was my first crane shoot!
    https://www.youtube.com/watch?v=PnLADkYiCLQ&feature=youtu.be
    Thanks in advance
    =]
    J

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Chris Wright replied 12 years, 3 months ago 3 Members · 9 Replies
  • 9 Replies
  • Mathew Fuller

    January 21, 2014 at 3:24 am

    The best thing to do in this case is to get a decent track first, get your sky moving as it should with the shot. Then multiply the layer ON TOP of your footage. You will need some rough mattes around buildings etc. But it will look great if (if done correctly) through all the trees, power lines etc.

    ~ Mat

    Try the technique on a still image in photoshop first and you’ll get what I mean.

    My Work:
    https://www.morecompletefx.com

  • Jamie Coote

    January 21, 2014 at 3:35 am

    Thanks for the speedy reply! The track is simple and I’ve got that working well, it’s the areas around the tree branches and bridge that just look horrible. I just can’t get the detail to come through. I can do it in PP because I can refine the sky selection perfectly but there isn’t that dexterity in AE (or at least I dont know how) especially with the camera move as the selection changes so much.
    Can you explain how you would matte to preserve the trees?
    For the sky removal I’ve tried- Extract, Keylight and Luma key. For the Matte- Refine Hard/Soft and Choker. Whatever I do something spills over or looks mad and lumpy or mushy (technical words, I know). Nothing looks good and I can’t face masking and key framing the whole thing as it’d take a lifetime with that bridge!

  • Mathew Fuller

    January 21, 2014 at 3:39 am

    Don’t matte the trees. Just lay the sky right on top as a multiply layer. When you do it, you’ll see what I mean.

    You can also lay the sky on top (as stated above)…Then make a luma matte out of your original plate by crushing your levels so the sky is mainly white and everything else is black. then use that as a luma matte on your sky layer.

    My Work:
    https://www.morecompletefx.com

  • Jamie Coote

    January 21, 2014 at 12:46 pm

    Wow, that’s looking a hell of a lot better. The multiply works a treat for the sky but darkens everything else quite a lot. Hence I tried the luma matte solution, just to check……
    Layers are
    1 – footage with blacks/whites crushed (layer invisible)
    2 – Sky on multiply with layer 1 as its Luma track matte
    3 – footage
    This rectifies the darkness but causes that white featheriness around the tree.
    What am I doing wrong?

  • Chris Wright

    January 21, 2014 at 2:33 pm

    aecs5.5 test sky

    here’s what i got in 2 minutes

    ae cs5.5 sky with 3 luma mattes
    7029_skycs5.5.aep.zip

  • Jamie Coote

    January 21, 2014 at 3:55 pm

    Thanks so much for this! I wish I could see how good it looked but I can’t work out where to put the actual footage amongst your layers?!
    Sorry for the noobness!

  • Chris Wright

    January 21, 2014 at 11:40 pm

    just right click replace sky.png with sky video. and you might need to resize the comps and sub layers to your video size.

    here’s another way how to do it and it also shows tracking techniques.
    https://library.creativecow.net/articles/kramer_andrew/sky_replacement.php

  • Jamie Coote

    January 22, 2014 at 7:29 pm

    Thanks again Chris, I’m super grateful and it worked flawlessly!
    Just one last question! How can I choke the white feathering around some of the edges (though it only really shows up if I use a crazy colour for the sky)?
    And if you ever need a DOP in Paris or London, I’d happily be your man.

  • Chris Wright

    January 23, 2014 at 12:25 am

    you’d just have to play with the settings.

    try turning off the matte chokers in mask precomp,
    rgb pro tolerance 0
    hue protect whites tolerance 0

    in final blur comp,
    in final blur mask layer before channel blur, add a level-individual controls effect set as alpha input white 2.0. that will clamp on the branches

    doing all this definately removes branches problem but you might have to garbage matte buildings more if they have white windows. that’s what matte chokers are for. So its a trade off. Speed for accuracy.

    Happy Tweaking:)

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