Use a motion tracking mask to adjust areas of the video that have moving objects, or when the camera moves in a video clip. When you apply the motion tracking mask on a set of pixels, CyberLink ColorDirector will auto track the pixels as they move through each video frame, adjusting the mask shape and applying the same adjustments to them.
Creating a Motion Tracking Mask
To create a motion tracking mask and use it to make adjustments, do this:
1. | Click to open the motion tracking mask controls. |
2. | Use the playback controls to find the first frame of video where the object or camera begins moving. |
3. | Set the mask options as follows: |
• | Brush/Eraser: click on Brush and then use the mouse to select the pixels of the object or area you want to track. Click on Eraser if you make some errors using the brush and want to remove pixels that are selected. |
• | Size: use the slider to set the size of the brush or eraser. You can also use the mouse scroll wheel to adjust the diameter of the brush/eraser. |
• | Feather: use the slider to set the transition level between the area being selected and the pixels around the area. |


|
Note: the Feather slider is not enabled until a masked area has been defined on the video frame.
|
4. | When you are done selecting all the pixels of the object for tracking, click on . CyberLink ColorDirector starts tracking the pixels as they move through the frame. Click the button if you only want to track the movement for one frame of video. |


|
Note: you can check the mask details in the keyframe settings panel. CyberLink ColorDirector adds a keyframe for the start and end points of the motion tracking to the mask's keyframe timeline.

|
5. | Click the button at any time if you want to stop the motion tracking. If you don't click this button, CyberLink ColorDirector tracks the pixels until it can no longer detect movement or the pixels are no longer available, i.e. off screen or obstructed. |
6. | Once the motion tracking has stopped, make the required adjustments to the selected part of the video frame using the regional adjustment options. See Regional Adjustment Options for a detailed description of all the available adjustments you can make. |

|
Note: if required, click the button to invert the selected pixels. When selected, CyberLink ColorDirector will apply the adjustments to areas that were not selected. Click it again to revert the adjustments back to the pixels selected originally.
|
Re-tracking a Motion Tracking Mask's Position and Shape
If the motion tracking mask you created appears off at any point during the duration of the video clip, you can easily adjust its position or shape, and then re-track the movement.

|
Note: when you adjust the re-track the position or shape of a motion tracking mask, CyberLink ColorDirector automatically adds a keyframe to the keyframe settings timeline to mark the change. See Utilizing Keyframes for more information on keyframes.
|
To re-track a motion tracking mask's position or shape, do this:
1. | Pause the video clip playback at the point when you want to make the change to the mask. |
2. | Do either of the following: |
• | use the brush or eraser to adjust the mask shape as required. |
• | right click on the mask color label for more options, including deleting the mask, resetting the adjustments, and more. |
3. | Click to re-track the movement with the adjusted shape or position. Click if you want to track the pixels one frame at a time. |
4. | CyberLink ColorDirector re-tracks the pixels within the mask from this point, adding a keyframe to the keyframe settings panel to note the change. |
Using Multiple Motion Tracking Masks
You can make up to five different selected adjustments on a video. When you select areas of the video and modify the adjustment options, a mask is auto created and labeled by color.
The mask label is visible in the Mask drop-down at the top of the motion tracking mask tab.

To create a new adjustment mask, do this:
1. | Select New from the Mask drop-down to create a new mask. |

2. | Repeat the steps in Creating a Motion Tracking Mask to create the motion tracking mask, and then use the regional adjustment option sliders to set the adjustments as required for the second adjustment. |
3. | CyberLink ColorDirector labels the mask with another color in the Mask drop-down. |

4. | CyberLink ColorDirector marks each mask on the video with the color label. |

5. | Click the color label to quickly select the mask, and view the selected areas (pixels) of the video where each of the adjustments was applied. |
|