Use the Track Matte Key effect to automatically make areas of a clip transparent based on the contents of another clip.

What you'll need

This sample file is an Adobe Stock asset you can use to practice what you learn in this tutorial. If you want to use the sample file beyond this tutorial, you can purchase a license on Adobe Stock. Check out the ReadMe file in the folder for the terms that apply to your use of this sample file. 

What you learned: Apply the Track Matte Key effect to use the Alpha channel or luminance from pixels in one clip to set opacity for another clip

Place the matte

The Track Matte Key effect reveals a background clip through another clip, using a third grayscale image as a matte that creates transparent and opaque areas for a superimposed clip. Using the Track Matte Key effect requires two clips and a matte, each placed on its own track in the Timeline.

  1. Place a background clip on V1 in the Timeline.
  2. Edit a clip you want to superimpose on top of the background clip onto V2. This clip will be revealed by the track matte.
  3. Add the track matte clip to the V3 track, directly above both the background and superimposed clips on V1 and V2.

Apply the Track Matte Key effect

  1. From the Effects panel, select Video Effects > Keying, and drag the Track Matte Key effect onto the clip on V2.
  2. Open the Effect Controls panel to adjust the Track Matte Key settings.
  3. From the Matte pop-up menu, choose Video 3. This sets the clip on V3 to act as the matte.
  4. If the clip acting as the matte is an opaque black-and-white graphic, choose Composite Using: Matte Luma. (If using a title or a graphic that contains an Alpha channel, you can choose Composite Using: Matte Alpha.) The light areas from the clip on V3 reveal the clip on V2, while the dark areas from the clip on V3 reveal the clip on V1.

Animate the track matte key

A matte containing motion is called a traveling matte or moving matte. You can create this effect by animating the position off the reference clip.

  1. Select the track matte clip in the Timeline (the clip on V3), and position the playhead at the beginning of the clip.
  2. Open the Effect Controls panel, and select the Motion effect heading.
  3. In the Program Monitor, drag the track matte clip to its starting position.
  4. Click the stopwatch next to Position to add a keyframe, visible in the Effect Controls panel.
  5. In the Effect Controls panel, drag the playhead forward in time.
  6. In the Effect Controls panel, select Motion again.
  7. Drag to reposition the track matte in the Program Monitor, revealing different content from the image on V2 (the superimposed clip on top of the background shot).

After you drag the track matte clip to its new position, a second Position keyframe appears at the playhead location, and the track matte animates when you play the sequence.

Tip: The Track Matte Key effect is dynamic and uses any clip on the designated track. So if a clip on V2 has a track matte applied and its Matte pop-up menu points to the V3 track, you can place a new black-and-white graphic or animation on V3 and it instantly becomes the new track matte for the composited video image.

 

Back to: Clip masks | Up next: Blend modes

 

11/04/2019

Adobe Stock Contributors: AILA_IMAGES, Blackboxguild, lotus_studio

Presenter: Christine Steele   

Was this page helpful?