Or, not! Masking is not one of my favorite things to do, but on quite a few projects it is a necessary evil. I recently had a project which involved a ton of masking because of a dirty key (i.e. lots of shadows that made keying difficult and masking necessary). In this posting I will explain the process of keying out a green screen, masking out a dirty key, and adding back in clean shadows.

Original Green Screen Footage

Original Green Screen Footage

For keying out blue or green screens I use Keylight in After Effects.

The Green Background Keyed Out

The Green Background Keyed Out

Notice how after keying out the green background there is the rest of the room on the sides and dirty shadows still left. This is where masking comes in.

After Effects Masking Screen Shot

After Effects Masking Screen Shot

Click on the image above to see a screen shot of my After Effects Masking Project. I used around 17 different masks with just about each one having to be animated because of the camera movement in the shot. Animating the separate masks is basically like animating anything else, you set your main keyframes and keep setting in-between keyframes until you have a smooth mask. Unfortunately, you end up basically setting keyframes for just about every frame. It’s a frame-by-frame slow process. This ended up taking me around 4 working days to accomplish.