| After Effects CS4 |
|
|
Track or stabilize motionTracking motion and stabilizing motion are essentially the same process, only with a different target and result. Use Track Motion to track motion and apply the results to a different layer or effect control point. Use Stabilize Motion to track motion and apply the results to the tracked layer to compensate for that motion. To stabilize a layer, After Effects tracks the motion of a feature in the layer that should be stationary in the frame, and then uses the tracking data to set keyframes to perform the opposite motion. You can stabilize to remove any combination of changes in position, rotation, and scale, while leaving desired motion unaffected. For example, if the camera is panning, deselect Position but select Scale and Rotation as the properties to stabilize. When you select Rotation or Scale in the Tracker panel, you set two track points in the Layer panel. A line connects the attach points; an arrow points from the first attach point (the base) to the second. If possible, place the feature regions on opposite sides of the same object, or at least on objects that are the same distance from the camera. The farther apart the regions, the more accurate the calculations and the better the result. After Effects calculates rotation by measuring the change of angle of the line between the attach points. When you apply the tracking data to the target, After Effects creates keyframes for the Rotation property. After Effects calculates scale by comparing the distance between attach points on each frame with the distance between the attach points on the start frame. When you apply the tracking data to the target, After Effects creates keyframes for the Scale property. When you track motion using either parallel or perspective corner pinning, After Effects applies keyframes for the Corner Pin effect to the layer to scale and skew the target layer as necessary to fit the four-sided area defined by the feature regions. The feature regions should lie in a single plane in the real world—for example, on the side of a bus, on the same wall, or on the floor. The attach points should also all lie in a single plane, but not necessarily the same plane as the feature regions. Note: For parallel corner pinning only:
To change which point is inactive, Alt-click (Windows) or Option-click
(Mac OS) the feature region of the point to make inactive. (One
point must remain inactive to keep the lines parallel.)
Note: You can change the order of steps 1-3 by first selecting
the property to which to apply the tracking data (Scale, Position,
or Rotation) and then choosing Animation > Track This Property.
After Effects prompts you to choose the layer to use as a motion source.
When you stabilize a layer, the compensating motion may itself cause the layer to move too far in one direction, exposing the background in the composition or moving action out of the action-safe zone. You can correct this with a small change in scale for the layer. Find the frame where the problem is most severe, and then increase or decrease the scale of the layer until the problem is resolved. This technique adjusts the scale for the duration of the layer; you can also animate scale to correct this problem by zooming in and out at different times. This post on the AE Enhancers forum describes and links to an animation preset from Donat van Bellinghen for scaling a set of Corner Pin effect points: www.adobe.com/go/learn_ae_donatscalecornerpin. This post on the AE Enhancers forum describes and links to a script from Paul Tuersley that takes a stabilized layer, precomposes it, and then adds expressions that counter the stabilization: www.adobe.com/go/learn_ae_paulstabilizefortracking. This post on the AE Enhancers forum describes and links to a script from Paul Tuersley that can make a difficult tracking job easier by averaging multiple sets of tracking data: www.adobe.com/go/learn_ae_paulaveragetracks. Jeff Almasol provides a script on his website that creates a null layer with an expression that sets the Position property to be the average of the values of motion tracking track points for the selected layer: www.adobe.com/go/learn_ae_jefftrackaverage. |