Track subject

Describe or mark a person or object, get a mask that follows it through a clip, then swap, blur or recolor everything around it.

Track subject on Morphic finds a person or object in a video clip and makes a mask that follows it through the shot. You describe the subject in a few words, or mark it on one frame, and Compose does the rest. Editors call this rotoscoping or an AI cutout.

What a mask does

  • It keeps the subject visible and hides everything else
  • The lane below shows through the hidden part
  • A tracked mask moves with the subject, frame by frame

The mask is a black-and-white video, white where the subject is. Your original clip stays as it is.

What you can make

GoalHow
Swap the backgroundA new clip on the lane below
Blur the backgroundA blurred copy of the clip on the lane below
Color popA black-and-white copy of the clip on the lane below
Hide the subjectTurn on 'Invert'

Steps are in Use the mask.

Before you start

  • Works on video clips up to a minute long. Not on images, text, adjustment layers or locked clips.
  • Each run is a small, fixed charge, shown on the button before you start. See Credits.

Track a subject

  1. Select the clip on the timeline.
  2. In the 'Video' tab, click '+' beside 'Masks' and choose 'Track subject'. Or right-click the clip and choose 'Add mask', then 'Track subject'.

The Masks add menu: Rectangle, Ellipse, Pen, Track subject and Matte from clip

  1. The 'Track subject' dialog opens on 'Describe'. Describe the subject, or switch to 'Mark' to point at it. See Describe or mark.

Describe the subject

  1. In 'What to find', type what the subject is in a few words, such as 'cyclist' or 'dog'
  2. Under 'How many', choose 'Best match' for one subject, or 'All matches' to put every match in one mask
  3. (Optional) In 'Name', type a label for the mask
  4. Click 'Generate'

Mark the subject

  1. In the dialog, click 'Mark', then 'Mark on video'. The dialog steps aside.
  2. Move the playhead to a frame where the subject is clear and whole, ideally where it first appears
  3. In the preview, click the subject, or drag a box around it. Option-click or Alt-click to leave out an area that gets picked up by mistake.

The Program monitor with a green box dragged around a cyclist, and the Track subject bar below it with Clear, Continue and Done

  1. Click 'Continue'. The dialog comes back with your marks.
  2. (Optional) Fill in 'Description (optional)'. It is used only if your marks alone cannot find the subject.
  3. (Optional) In 'Name', type a label for the mask
  4. Under 'Track', keep 'Both', or choose 'Forward' or 'Backward'. See Directions.
  5. Click 'Generate'

The mask appears under 'Masks' after about half a minute, and as a video in 'Assets'. Play the clip to check it.

Describe or mark

'Describe''Mark'
FindsWhat you describe, on every frameThe exact object you marked
Two similar objectsCannot tell them apartFollows the one you marked
A cut in the clipFollows the subject across itTracking stops there
CoversThe whole clipSet by 'Track'

Use 'Describe' for one clear subject, or for every subject of one kind. Use 'Mark' when the subject stands next to something similar, such as one dancer in a group.

  • A description follows one kind of thing, so 'person on a bicycle' keeps the person and drops the bike. To keep both, track the bike as a second mask; masks add together.
  • One click on the subject is usually enough. A box works best for small or busy subjects.
  • Use clicks or a box, not both. 'Clear' starts again.
  • Marks belong to their frame. Move the playhead and they hide until you return.
  • 'Name' is only the label. Left empty, a described mask takes its description as its name.

Directions

'Track' applies to 'Mark' only.

DirectionCoversRuns
'Both'The whole clip2
'Forward'Marked frame to the end. Earlier frames stay empty.1
'Backward'Start to the marked frame. Not on the first frame.1

If the subject is in the whole shot, mark the first frame and choose 'Forward'.

Use the mask

Upper lanes cover lower ones, so the masked clip goes on top.

Swap the background

  1. Track the subject.
  2. Drag the new background from 'Assets' onto the lane below, under the same stretch of time.

The rider and the bike, tracked as two masks, over a new background on the lane below:

A cyclist and bike cut out by two Track subject masks and placed over a coastal road at dusk on the lane below

Blur the background

  1. Track the subject.
  2. Drag the same clip from 'Assets' onto the lane below, lined up with the masked one.
  3. Select the lower copy and raise 'Blur' on the 'Effects' tab.

Color pop

Follow the blur steps, but on the lower copy open the 'Color' tab and lower saturation all the way, under 'Presence'.

Hide the subject

Click 'Invert' on the mask card. The lane below shows where the subject was, or black if it is empty. A mask hides; it does not fill the area back in.

Adjust the mask

On the mask's card under 'Masks':

  • 'Feather' softens the edge. 'Expansion' grows or shrinks it.
  • 'Invert' swaps what shows. 'Hide mask' turns it off for a moment.
  • The mode button combines masks. See Masks.
  • Drag the card onto another clip to copy the mask there.
  • 'More mask options' holds 'Open matte in source monitor', which shows the black-and-white mask, and 'Use for grade', which limits a grade to the mask instead. See Grade mask.
  • If a run fails, the card offers 'Retry', with its cost, and 'Dismiss'.

To change the subject, add a new Track subject.

Make a shape follow a subject

'AI tracking' moves a rectangle or ellipse you drew so it follows the subject. Use it for a blur box over a face or a spotlight.

  1. Add a 'Rectangle' or 'Ellipse' mask around the subject.
  2. On its card, click 'AI tracking'.
  3. In 'What to track', type the subject.
  4. Choose 'Position', or 'Position + Scale' to resize it too.
  5. Choose a direction. It tracks from the playhead.
  6. Click 'Track'.

'Clear tracking' removes the last track.

Using Copilot

Ask in the Compose chat: 'track the cyclist in the first clip and add it as a mask'. Copilot's steps are charged like any Copilot request, alongside the run.

Credits

Each run is a small, fixed charge. It is the same for a short clip or a long one, and the 'Generate' button shows it before you start.

  • 'Describe' is one run.
  • With 'Mark', 'Forward' and 'Backward' are one run each, and 'Both' is two.
  • 'AI tracking' is one run per direction, and 'Retry' is a new run.
  • A run counts once it starts, whatever it finds.
  • A request Compose turns down, such as 'Backward' on the first frame, costs nothing.

Troubleshooting

Mask is blank

Nothing matched 'What to find'. Describe the subject in a word or two, or switch to 'Mark' and click it.

Mask starts partway through

The subject was tracked 'Forward' from a later frame. Mark it where it first appears, or choose 'Both'.

Mask stops at a cut

'Mark' stops tracking at a cut in the clip. Use 'Describe', which follows the subject across cuts, or split the clip at the cut and track each part.

Mask covers the wrong object

'Describe' cannot tell two similar objects apart. Switch to 'Mark' and click the one you want, or choose 'All matches' to keep every one.

Part of the subject is missing

Track subject follows one kind of thing. Add a second Track subject for the missing part, such as 'bicycle'; the two masks add together.

Invalid request, please try again later

'Backward' was chosen on the first frame. Choose 'Forward' or 'Both'. No credits were used.

Preview is black while marking

An earlier mask is hiding the picture. Click 'Hide mask' on its card first.

Edges look rough

Masks have hard edges, so hair and motion blur can look jagged. Raise 'Feather' a little, or lower 'Expansion'.

Text will not go behind the subject

Text lanes sit above video lanes, so a text clip cannot go behind a masked subject.

Track subject is missing from the menu

The clip is an image, text, an adjustment layer, or locked. Select a video clip, and turn off 'Lock clip' if it is on.

That's how you use Track subject on Morphic. Reach for it when one person or object needs a different background or look from the rest of the shot.


If you have any trouble or have any questions, feel free to reach out. We're happy to help. Write to us at support@morphic.com.

On this page