Mocha AE is the version of Mocha that comes with After Effects CC. It has a great number of tools to access with tracking and rotoscoping, however, it’s not nearly as robust as the stand alone Mocha Pro program. Today we will take a look on how to take footage from After Effects CC, bring it into Mocha AE, track the footage, and then create a mocha mask from the tracking data to apply back into After Effects. To clarify, a Mocha Mask is a no different from any Mask created in After Effects using the pen tool or marquee tool; it just uses the tracking data created in Mocha to move the mask instead of going frame by frame by hand and moving anchor points. Mocha Masks are great to use when you are handling beauty retouching, censoring a section of video, or isolating a specific part of video for color correction.
The steps are as follows:
– Sending footage from After Effects to Mocha AE
– Tracking with Mocha AE
– Exporting Shape Data and Importing Mocha Mask into After Effects
– Example use of Mocha Mask
SENDING FOOTAGE FROM AFTER EFFECTS TO MOCHA AE
Once you create a new comp with your video footage, select the footage from the TIMELINE and go to ANIMATION > TRACK IN MOCHA AE.
TRACKING WITH MOCHA AE
With your footage now in Mocha AE, first select the X SPLINE tool along the top tool bar.
Using the X spline tool, create a shape around the item you want to mask. In this piece of footage I decided to track an unwanted logo on the side of a car.
If you want to smooth the edges of your x spline and not have such jagged corners, RIGHT CLICK on the mask and go to POINT > SMOOTH.
With your shape created you have the ability to name the shape in the LAYER PANEL along with changing the masks color. This is helpful when creating a series of masks you need to keep track of.
In order to track the mask you’ve created, look at the tools below the timeline. You will see a RIGHT ARROW with the letter T. This is for track forward (the broken arrow with a T next to it is for only tracking one frame forward). Click the Track Forward button and let Mocha analyze the footage as needed.
EXPORTING SHAPE DATA AND IMPORTING MOCHA MASK INTO AFTER EFFECTS
With your mask now tracked the way you want it, you’ll need to export the data in such a way that you can import a mocha mask into After Effects. To export your Mocha Track data, select EXPORT SHAPE DATA located in the lower right of the program. From here, a message window will appear. Select COPY TO CLIPBOARD.
Back in After Effects, create a new Adjustment Layer CMD + OPTION + Y. With this new layer selected go to EDIT > PASTE MOCHA MASK.
EXAMPLE USE OF MOCHA MASK
As an example, I will quickly show you how to censor your tracked item now that you have a functioning Mocha Mask in After Effects. In After Effects, go to EFFECTS & PRESETS and type in BOX BLUR. Then click & drag the box blur effect and drop it onto the adjustment layer. With the blur effect added to the adjustment layer, you have the ability to go into the EFFECT controls and increase the RADIUS and ITERATIONS until the desired effect is reached. With the Mask tracked to the footage, the effect with follow along perfectly!