You can enhance motion graphics in your videos by using tools available in Adobe After Effects. The motion tracking tool allows you to track the motion of a shot and then apply that motion to any added elements in your scene. For example, tracking static objects can be used for opening credits or to introduce a new location. Tracking and attaching animated call outs to moving objects is popular in commercial and advertising work.
Follow along with this video by Premiere Gal and review the steps below to see how to perform these three techniques.
Track Text to Static Objects in a Moving Shot
Open the video file you want to add tracking text to. You can download the examples used in this video from Envato, but it requires a paid subscription.
You can also use your own video footage to work with.
- Select the "Type" tool or hold down the Ctrl key (or Command key on a Mac) and press the "T" key.
- Type out your text using whatever font you choose.
- Select the text and rescale it so it expands to the size you want, and place where you need it to rest. Hold the "Shift" key to scale.
- Select "Tracker" from the Window menu.
- Select the video clip from the composition and move the play head to the beginning of the composition. Tracking should always start at the beginning of the clip.
- Select "Track Motion" from the tracking panel.
- Alter the zoom of this composition by moving the point in place. Click the inside of the smaller square of the tracker point, then move it to a point on your object that includes both a light and a dark contrast.
- Choose a target by selecting "Edit Target" on the Tracker menu. This will open the Motion Target menu.
- Select the text layer, also known as the "Target Layer."
- Select "Analyze Forward" and wait until it tracks through the composition.
- When the tracking is complete, select "Apply." This will open the Motion Tracker Apply Options.
- Apply the tracking to both the X and the Y coordinates.
- Open the text layer and notice the tracking information was transferred over as keyframes to the position of the text, but in the wrong location. You need to adjust the position of the text. DO NOT alter the current position controls, as it will affect the tracking keyframes.
- Select the Effects and Presets menu on the side panel.
- Locate the Effects and Presets search feature and search for an effect called "Transform," located under Distort. Double-click to apply it to the text layer.
- From the Effects Controls, move around the X and Y coordinates. This lets you move the text wherever you like without destroying the original tracking data.
- Select "Play" or hit the space bar to view the final composition.
Attach Callouts to Moving Objects
Import the video file you want to add an animated call out to and in the Project panel, right-click the video and select New Comp from Selection.
You can use an already created call out or you can make your own. To make your own simple text call out, use the Text tool (Cmd+T or Ctrl+T) to enter text.
- Move the play head to the beginning of the comp and select the video clip layer.
- Open the Tracker Panel and select "Track Motion."
- Zoom in on the composition and move the tracker point to an area of the moving object with high contrast.
- Select "Edit Target" in the Tracker Panel.
- Verify the call-out layer is selected and click "OK."
- Select "Analyze Forward" in the Tracker Panel and wait until the composition duration finishes.
- Select "Apply" in the Tracker Panel and then "Play." Notice the animated call out is moving with the object.
- Open the text layer and notice the tracking information was transferred over as keyframes to the position of the text, but in the wrong location. You need to adjust the position of the text. DO NOT alter the current position controls, as it will affect the tracking keyframes.
- Select the Effects and Presets menu on the side panel.
- Locate the Effects and Presets search feature and search for an effect called "Transform," located under Distort. Double-click to apply it to the text layer.
- From the Effects Controls, move around the X and Y coordinates. This lets you move the text wherever you like without destroying the original tracking data.
- Select "Play" or hit the space bar to view the final composition.
Replace & Track a Screen
- Open and download the stock video of your choice. In the example downloaded from Envato, notice the black tracking points on the green screen in the video that makes tracking easier. To avoid subscription costs, use your own footage or perform a Google search for free stock video with tracking points.
- Drag and drop the screen replacement of your choice into the composition and name it "Screen Replacement."
- Select the stock video clip in the composition and move the play head to the beginning of the composition.
- Use the Tracker Panel to select "Track Motion."
- Click the "Track Type" dropdown menu and select "Perspective corner pin."
- Move each tracker point to the corner tracker points on the computer monitor.
- Select "Edit Target," ensure the "Screen Replacement" video option is selected and click "OK."
- Select "Analyze Forward" to track the target.
- When the tracking is complete, select "Apply." The screen replacement video will morph to the perspective of the screen.
- Move the "Replacement" video beneath the "Stock Video" layer.
- Select the Effects & Presets menu and type in "Keylight" in the search box.
- Double-click "Keylight (1.2)" to apply it to the stock video clip.
- Use the "Screen Color Dropper" in "Effect Controls" to select the green from the monitor.
- Click the "View" dropdown and select "Screen Matte."
- To remove all the gray, leaving an all-white background, select "Clip White," lowering the value until all gray disappears.
- Increase the "Clip Black" until the gray around the corners is eliminated.
- Click the "View" dropdown and select "Final Result."
- Select the "Screen Replacement" layer.
- Press the "S" key to reveal the Scale property and adjust the value to resize and bring to scale, ensuring the image fills the monitor.
- Select the stock layer and open the "Rectangle" tool.
- Click and drag to make the first rectangular mask covering the first tracking point. Notice that a "Mask" was created in the composition.
- Click the "Add" dropdown from the mask composition layer and select "Subtract." The chosen tracking point should be removed entirely from the computer monitor.
- To animate the "Mask" path, click on the stopwatch and scrub the playhead forward until the tracking point becomes visible from behind the mask.
- Click on the mask and drag it back to cover the target. Notice that a keyframe is now in the composition.
- Repeat for every tracking point. Create a new mask for each corner and animate the mask path until complete. Key "V" to move the mask manually.