Difference between revisions of "How to get clean greenscreen key"

From ivc wiki
Jump to navigationJump to search
Line 39: Line 39:
Select both the auto-traced and green screen footage in the timeline and pick 'Duplicate' or Control+D. Rearrange the auto-traced layer to the top. Select the duplicated green screen footage and select 'none' for 'TrkMat' and then again select the alpha matte for the duplicated auto-traced layer. This is done to link the correct duplicated auto-traced mask.
Select both the auto-traced and green screen footage in the timeline and pick 'Duplicate' or Control+D. Rearrange the auto-traced layer to the top. Select the duplicated green screen footage and select 'none' for 'TrkMat' and then again select the alpha matte for the duplicated auto-traced layer. This is done to link the correct duplicated auto-traced mask.


[[Image:Greenscreen after effects duplicate layers.png|400px]]
[[Image:Greenscreen after effects duplicate layers.png|450px]]


Remove the dvMatte Pro effect in the duplicated video footage. And set the 'Simple Choker' effect in the duplicated auto-traced mask to '2 px'. Add a 'Fast Blur effect to the same mask and set the blur to '2 px' to get a smooth edge.
Remove the dvMatte Pro effect in the duplicated video footage. And set the 'Simple Choker' effect in the duplicated auto-traced mask to '2 px'. Add a 'Fast Blur effect to the same mask and set the blur to '2 px' to get a smooth edge.


[[Image:Greenscreen after effects duplicate simplechoker fastblur.png|250px]]
[[Image:Greenscreen after effects duplicate simplechoker fastblur.png|300px]]


Voila, the key should be finished! The edge details should be preserved, sharp, and transparent.
Voila, the key should be finished! The edge details should be preserved, sharp, and transparent.




[[Image:Greenscreen after effects finished.png|500px]]
[[Image:Greenscreen after effects finished.png|550px]]


== References ==
== References ==
* [http://library.creativecow.net/articles/rabinowitz_aharon/junk_mattes/video-tutorial.php Creating super tight junk matttes]
* [http://library.creativecow.net/articles/rabinowitz_aharon/junk_mattes/video-tutorial.php Creating super tight junk matttes]

Revision as of 23:44, 22 April 2008

This tutorials shows how to get a tight garbage matte traced around the object, get a good dvMatte Pro matte, and a original mask to retrain original color and image details.

Garbage trace

Create a new project and import the green screen video clip. Drag it to the timeline.

Greenscreen after effects timeline.png

Add the dvMatte Pro effect and pick a low and high color close to the object, and change the 'View'-option to 'Compsite'. Change the 'chroma soften' vertical to '4 px' for PAL footage and '1 px' for NTSC.

Greenscreen after effects dvmattepro color.png

Now the base mask to create the garbage trace is ready. Select the video clip in the timeline and select 'Layer' and 'Auto-trace'. Pick the settings below, notably threshold '60%'. Click 'Preview' to get an idea how the trace will look. The trace will now be automatically be created, let it run.

Greenscreen after effects autotrace.png

In the timeline, enable the 'Transfer Control' pane and under 'TrckMat' pick the alpha matte for newly created auto-traced mask.

Greenscreen after effects trackmatte.png

Expand the mask by selecting the auto-traced layer and adding the 'Simple Choker' effect. Set the 'ChokeMatte' to '-25 px'. Disable the dvMatte effect in the green screen footage to get an idea how far the matte expands.

Greenscreen after effects matte simplechoker.png

Greenscreen key

Now, to get a good key from the green screen background, select the footage in the timeline and open the dvMatte Pro effect pane again. Disable dvMatte Pro or set view to 'foreground', zoom 200% and re-pick the absolute highest color and darkest green color close to the object.

Greenscreen after effects dvmattepro repick color.png

And in base matte, set black point to around '50' to get rid of the halo shadow.

Greenscreen after effects dvmattepro base matte.png

Overlay

To get back the correct colors and picture details, add a new overlay layer.

Select both the auto-traced and green screen footage in the timeline and pick 'Duplicate' or Control+D. Rearrange the auto-traced layer to the top. Select the duplicated green screen footage and select 'none' for 'TrkMat' and then again select the alpha matte for the duplicated auto-traced layer. This is done to link the correct duplicated auto-traced mask.

Greenscreen after effects duplicate layers.png

Remove the dvMatte Pro effect in the duplicated video footage. And set the 'Simple Choker' effect in the duplicated auto-traced mask to '2 px'. Add a 'Fast Blur effect to the same mask and set the blur to '2 px' to get a smooth edge.

Greenscreen after effects duplicate simplechoker fastblur.png

Voila, the key should be finished! The edge details should be preserved, sharp, and transparent.


Greenscreen after effects finished.png

References