After Effects CC
Motion tracking overview and resources
With motion tracking, you can track the movement of an object and then apply the tracking data for that movement to another object—such as another layer or an effect control point—to create compositions in which images and effects follow the motion. You can also stabilize motion, in which case the tracking data is used to animate the tracked layer to compensate for movement of an object in that layer. You can link properties to tracking data using expressions, which opens up a wide variety of uses.
After Effects tracks motion by matching image data from a selected area in a frame to image data in each succeeding frame. You can apply the same tracking data to different layers or effects. You can also track multiple objects in the same layer.
In After Effects CS6, you can track camera motion and place 3D objects in 2D footage much more easily using the 3D camera tracker. For more information, see Tracking 3D camera movement (CS6).
You can stabilize shaky footage a lot easier using the Warp Stabilizer. For more information, see Stabilize motion with the Warp Stabilizer effect.
Combining elements filmed separately, such as adding video to the side of a moving city bus or a star to the end of a sweeping wand.
Animating a still image to match the motion of action footage, such as making a cartoon bumblebee sit on a swaying flower.
Animating effects to follow a moving element, such as making a moving ball glow.
Linking the position of a tracked object to other properties, such as making stereo audio pan from left to right as a car races across the screen.
Stabilizing footage to hold a moving object stationary in the frame to examine how a moving object changes over time, which can be useful in scientific imaging work.
Stabilizing footage to remove the jostling (camera shake) of a handheld camera.
Depending on the encoder you use, it is possible to decrease the size of your final output file by stabilizing motion footage. Random motion, such as from the jostling of a handheld camera, can make it difficult for many compression algorithms to compress your video.
You set up, initiate, and apply motion tracking with the Tracker panel.
As with all properties, you can modify, animate, manage, and link tracking properties in the Timeline panel.
You specify areas to track by setting track points in the Layer panel. Each track point contains a feature region, a search region, and an attach point. A set of track points is a tracker.
Layer panel with track point
A. Search region B. Feature region C. Attach point
The feature region defines the element in the layer to be tracked. The feature region should surround a distinct visual element, preferably one object in the real world. After Effects must be able to clearly identify the tracked feature throughout the duration of the track, despite changes in light, background, and angle.
The search region defines the area that After Effects will search to locate the tracked feature. The tracked feature needs to be distinct only within the search region, not within the entire frame. Confining the search to a small search region saves search time and makes the search process easier, but runs the risk of the tracked feature leaving the search region entirely between frames.
The attach point designates the place of attachment for the target —the layer or effect control point to synchronize with the moving feature in the tracked layer.
When you begin tracking, After Effects sets the quality of the motion source layer to Best and the resolution to Full in the Composition and Layer panels, which makes the tracked feature easier to find and enables subpixel processing and positioning.
After Effects uses one track point to track position, two track points to track scale and rotation, and four points to perform tracking using corner pinning.
Curtis Sponsler provides detailed instructions and explanations for tracking and stabilizing motion in a PDF excerpt from his book The Focal Easy Guide to After Effects.
Chris and Trish Meyer provide a video tutorial on the ProVideo Coalition website that demonstrates and explains the basics of motion tracking.
This video from the After Effects CS5: Learn By Video series shows how to combine motion tracking and the Clone Stamp tool to remove an object from a scene.
Angie Taylor provides a tutorial on the Digital Arts website that shows how to use tracking data and the Clone Stamp tool to apply copies of an object in a scene while matching a camera move.
Michele Yamazaki provides a tutorial on the Toolfarm website that shows how to use motion tracking to obscure a logo in motion footage.
Sean Kennedy provides a set of detailed tutorials on the SimplyCG website that demonstrate advanced motion tracking techniques:
Sean Kennedy provides a free script, TrackerViz, that makes tracking motion and applying tracking data to masks easier. You can get TrackerViz and a series of detailed instructions on the SimplyCG website.
Eran Stern provides a video tutorial on the Artbeats website that demonstrates the use of 3D tracking software that solves for camera movement so that additional elements can be composited into the scene and appear to honor the same camera movement. This video tutorial uses Pixel Farm PFHoe, but the techniques can be applied to almost any matchmoving software.
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.
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.
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.
Jeff Almasol provides a script on his redefinery 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.
Jörgen Persson provides a script on the After Effects Scripts website with which you can import tracking data from Apple Shake into After Effects.
Mathias Möhl provides useful scripts for motion tracking—including MochaImport, KeyTweak, and Tracker2Mask—on his website. Mathias also provides video tutorials explaining the use of the scripts.
Resources for mocha for After Effects (mocha AE)
After Effects includes Imagineer Systems mocha for After Effects (mocha-AE), a stand-alone planar tracking application that can export tracking data for use in compositions in After Effects. For many tracking tasks, mocha-AE provides superior results with greater convenience than do the native After Effects tracking features. For more information, see the mocha-AE documentation, which is available from the Help menu in the mocha-AE application.
To launch mocha AE from within After Effects CC or CS6, do one the following:
- Animation > Track in mocha AE
- Edit > Paste mocha mask
The free trial version of Adobe After Effects software does not include some features that depend upon software licensed from parties other than Adobe. For example, mocha for After Effects, some effect plug-ins are available only with the full version of Adobe After Effects software. (See Setup and installation.)
Todd Kopriva provides a basic introduction to using mocha-AE for motion tracking in "Overview of the mocha-AE interface and workflow" on the video2brain website.
The Imagineer website provides several video tutorials and other resources for learning to use mocha-AE with After Effects.
Adobe TV has a mocha-AE channel, which includes several video tutorials about using mocha planar tracking and rotoscoping utilities.
Chris and Trish Meyer provide a video tutorial that introduces mocha for After Effects on the Lynda.com website.
Chris and Trish Meyer provide tips about mocha-AE and mocha shape, including tips about variable-width feather, in an article on the ProVideo Coalition website.
David Torno provides extensive video tutorials that show how to use mocha-AE as part of a workflow to replace one face with another in a movie. Todd Kopriva provides links and details on his After Effects Region of Interest blog.
Mathias Möhl provides the MochaImport script and a set of related tutorials on his website. MochaImport automates common parts of the workflow of using mocha-AE with After Effects.
Jeff Foster provides a tutorial on the ProVideo Coalition website that demonstrates the use of mocha for After Effects to replace a sign on the side of a moving truck in a shaky video clip.
After Effects also includes the mocha shape for After Effects (mocha shape AE) plug-in, which converts paths from mocha-AE into mattes in After Effects. (See Resources for Imagineer mocha shape for After Effects (mocha shape AE).)
The free trial version of Adobe After Effects software does not include some features that depend upon software licensed from parties other than Adobe. For example, mocha for After Effects, some effect plug-ins are available only with the full version of Adobe After Effects software. (See Setup and installation.)
Motion tracking workflow
The implicit first step of any workflow is to determine the result that you want to achieve before you begin. What type of motion will you track, and what will you apply the tracking data to?
As with many workflows in the real world, you may have to repeat some of these steps. You can track a layer as many times as desired and apply any combination of tracking results.
For motion tracking to go smoothly, you must have a good feature to track, preferably a distinctive object or region.
For best results, prepare the object or region that you are tracking before you begin shooting. Because After Effects compares image data from one frame to the next to produce an accurate track, attaching high-contrast markers to the object or region lets After Effects more easily follow the motion from frame to frame. Lightweight, brightly colored balls (such as ping-pong balls) placed on the feature work well, in part because their appearance is the same from all angles. The number of markers that you use corresponds to the number of points you are tracking. For example, if you’re tracking four points using the Perspective Corner Pinning option, you’ll track four features, to correspond to the four corners of the layer to attach. The more markers you add to your subject before shooting, the more features you’ll have for tracking—but the more items you may have to remove later from the image with the Clone Stamp tool. You don’t need to add a marker for each feature if a distinctive object or region is already at the appropriate location.
If you’re tracking a large object or the set itself—such as for matchmoving—you can get good results by using a grid of uniformly spaced triangles of a uniform size as tracking markers.
When you choose a mode from the Track Type menu in the Tracker panel, After Effects places the appropriate number of track points in the Layer panel for that mode. You can add more track points to track additional features with one tracker.
Before you begin tracking, view the entire duration of the shot to determine the best features to track. What is clearly identifiable in the first frame may later blend into the background because the angle, lighting, or surrounding elements have changed. A tracked feature may disappear off the edge of the frame or be obscured by another element at some point in the scene. Though After Effects can extrapolate the motion of a feature, your chances for successful tracking are highest if you step through the entire shot to select the best candidates for tracking.
A good tracked feature has these characteristics:
Visible for the entire shot
A contrasting color from the surrounding area in the search region
A distinct shape within the search region
A consistent shape and color throughout the shot
The attach point is where the target layer or effect control point will be placed. The default attach point position is in the center of the feature region. You can move the attach point to offset the position of the target relative to the position of the tracked feature by dragging the attach point in the Layer panel before tracking.
For example, to animate a cloud above a person’s head, position the feature region on the head and move the attach point above the head. If you left the attach point centered in the feature region, the cloud would be attached to that point and would obscure the head.
Attach point centered in feature region
Attach point offset from feature region
Place each feature region control tightly around its tracked feature, completely enclosing the tracked feature, but including as little of the surrounding image as possible.
The size and position of the search region depend on the movement of the feature you want to track. The search region must accommodate the movement of the tracked feature, but only the frame-to-frame movement, not its movement throughout the shot. As After Effects locates the tracked feature in a frame, both the feature region and search region move to the new location. Therefore, if the frame-to-frame movement of the tracked feature is gradual, then the search region needs to be only slightly larger than the feature region. If the feature changes position and direction quickly, then the search region needs to be big enough to encompass the largest position and direction change in any pair of frames.
You can also set tracking options that determine such things as which color channels are compared to find a match to the feature region.
You perform the actual motion tracking step by clicking one of the Analyze buttons in the Tracker panel. When tracking a tricky set of features, you may want to analyze a frame at a time.
Because of the changing nature of an image in motion, automatic tracking is rarely perfect. In moving footage, the shape of a feature changes, along with the lighting and surrounding objects. Even with careful preparation, a feature generally changes during a shot and at some point no longer matches the original feature. If the change is too great, After Effects may not be able to track the feature, and the track point will wander or drift.
When the analysis begins to fail, return to the frame where tracking was still accurate and repeat steps 5 and 6: adjust and analyze.
If you’re using any Track Type setting other than Raw, you apply tracking data by clicking Apply, after making sure that the correct target is shown for Motion Target. You apply tracking data from a Raw tracking operation by copying keyframes from the trackers to other properties or by linking properties with expressions.
You can also adjust the Attach Point or Attach Point Offset property after tracking in the Timeline panel, which can be useful when applying the same tracking data to multiple targets that you want to distribute around the tracked feature.
If the layer that you’re attaching has motion blur enabled, make sure that the Shutter Phase value is set to -1/2 times the Shutter Angle value. This combination of settings centers the motion blur on the attach point. Otherwise, the attached object may appear to lead or lag the object that it’s attached to.
You can apply the tracking data to a null object layer and parent the layer that you want to animate to the null object layer.
Track or stabilize motion with the point tracker
Tracking 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 (for example, to remove camera shake).
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.
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.)
- Click Track Motion in the Tracker panel (or choose Animation > Track Motion), click Edit Target, and choose the target to apply the tracking data to.
- In the Tracker panel, click either the Analyze Forward or Analyze Backward button to begin tracking.
If the tracking ceases to be accurate, click the Stop button , correct the problem as described in Correct a motion track, and resume analysis.
- When you are satisfied with the position of the feature region and attach point throughout the track, click the Apply button to apply the motion to the specified target.
After Effects creates keyframes for the target layer.
When tracking position and applying this position data to a target, you can choose to apply only the x (horizontal) or y (vertical) component of motion. For example, you can apply the tracking data to the x axis to make a speech bubble (the motion target) remain at the top of the frame even when the actor (the motion source) moves downward.
X And Y (default) allows motion along both axes.
X Only restricts the motion target to horizontal movement.
Y Only restricts the motion target to vertical movement.
To bypass the Motion Tracker Apply Options dialog box and use the previous setting, hold Alt (Windows) or Option (Mac OS) as you click Apply.
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.
Layers are available in the Motion Source menu if they have source footage items that can contain motion or if they are composition layers. You can precompose a layer to make it available in the Motion Source menu.
The active tracker. You can modify settings for a tracker at any time by selecting the tracker from this menu.
The tracking mode to use. The motion tracking itself is the same for each of these modes; they differ in the number of track points and how the tracking data is applied to the target:
Stabilize tracks position, rotation, and/or scale to compensate for movement in the tracked (source) layer. When tracking position, this mode creates one track point and generates Anchor Point keyframes for the source layer. When tracking rotation, this mode creates two track points and produces Rotation keyframes for the source layer. When tracking scale, this mode creates two track points and produces Scale keyframes for the source layer.
Transform tracks position, rotation, and/or scale to apply to another layer. When tracking position, this mode creates one track point on the tracked layer and sets Position keyframes for the target. When tracking rotation, this mode creates two track points on the tracked layer and sets Rotation keyframes for the target. When tracking scale, this mode creates two track points and produces Scale keyframes for the target.
Parallel Corner Pin tracks skew and rotation, but not perspective; parallel lines remain parallel, and relative distances are preserved. This mode uses three track points in the Layer panel—and calculates the position of the fourth—and sets keyframes for four corner points in a Corner Pin effect property group, which is added to the target. The four attach points mark the placement of the four corner points.
Perspective Corner Pin tracks skew, rotation, and perspective changes in the tracked layer. This mode uses four track points in the Layer panel and sets keyframes for four corner points in a Corner Pin effect property group, which is added to the target. The four attach points mark the placement of the four corner points. This option is useful for attaching an image to an opening door or the side of a bus that’s turning a corner.
Raw tracks position only. Use Raw to generate tracking data that you won’t apply using the Apply button. For example, you can copy and paste the keyframes for the Attach Point property to the Position property for a paint stroke; or, you can link effect properties for the Stereo Mixer effect to the x coordinate of the Attach Point property using expressions. Tracking data is stored on the tracked layer. The Edit Target button and the Apply button are not available with this tracking option. You can add track points to a tracker by choosing New Track Point from the Tracker panel menu.
The layer or effect control point that the tracking data is applied to. After Effects adds properties and keyframes to the target to move or stabilize it. Change the target by clicking Edit Target. No target is associated with a tracker if Raw is selected for Track Type.
Begins the frame-to-frame analysis of the track point in the source footage:
Analyze 1 Frame Backward : Analyze the current frame by moving back to the previous frame.
Analyze Backward : Analyze from the current-time indicator backward to the beginning of the trimmed layer duration.
Analyze Forward : Analyze from the current-time indicator to the end of the trimmed layer duration.
Analyze 1 Frame Forward : Analyze the current frame by advancing to the next frame.
While analysis is in progress, the Analyze Backward and Analyze Forward buttons change to a Stop button, with which you can stop analysis when the track drifts or otherwise fails.
Restores the feature region, search region, and attach point to their default positions and deletes the tracking data from the currently selected track. Tracker control settings and keyframes already applied to the target layer remain unchanged.
Sends the tracking data (in the form of keyframes) to the target layer or effect control point.
These settings apply to a tracker, a group of track points that is generated in one tracking session. You can modify these settings by clicking Options in the Tracker panel.
The name for a tracker. You can also rename a tracker by selecting it in the Timeline panel and pressing Enter on the main keyboard (Windows) or Return (Mac OS).
The plug-in used to perform motion tracking for this tracker. By default, this option displays Built-in, the only tracking plug-in included with After Effects.
The components of the image data to use for comparison when searching for a match for the feature region. Select RGB if the tracked feature is a distinct color. Select Luminance if the tracked feature has a different brightness than the surrounding image (such as a burning candle carried through a room). Select Saturation if the tracked feature has a high concentration of color, surrounded by variations of the same color (such as a bright red scarf against a brick wall).
Process Before Match
Temporarily blurs or sharpens an image to improve tracking. Blur reduces noise in the footage. Usually a value of 2 to 3 pixels is enough to produce better tracks in grainy or noisy footage. Enhance exaggerates or refines the edges of an image and makes them easier to track.
After Effects blurs or enhances the layer only for tracking. This blurring does not affect the motion source layer.
Temporarily doubles the frame rate of the composition and interpolates each field to a full frame to track motion in both fields of interlaced video.
When selected, keyframes are generated to a precision of a fraction of a pixel. When deselected, the tracker rounds off values to the nearest pixel for generated keyframes.
Adapt Feature On Every Frame
Causes After Effects to adapt the tracked feature for each frame. The image data that is searched for within the search region is the image data that was within the feature region in the previous frame, rather than the image data that was in the feature region at the beginning of analysis.
If Confidence Is Below
Specifies the action to perform when the Confidence property value is below the percentage value that you specify.
To determine an acceptable confidence threshold, track the motion and then examine the Confidence values for the track point in the Timeline panel for problematic frames. Specify a confidence value that is slightly larger than the largest confidence value for the problematic frames.
- Select Continue Tracking to ignore the Confidence value. This behavior is the default behavior.
- Select Stop Tracking to stop the motion tracking.
- Select Extrapolate Motion to estimate the position of the feature region. Attach-point keyframes aren’t created for low-confidence frames, and attach-point keyframes for the low-confidence frames from previous tracks are deleted.
- Select Adapt Feature to use the original tracked feature until the confidence level falls below the specified threshold. At that point, After Effects adapts the tracked feature to be the contents of the feature region in the frame preceding the one that has low confidence and continues tracking. This option isn’t available if Adapt Feature On Every Frame is selected in the Motion Tracker Options dialog box; enabling feature adaptiveness causes After Effects to adapt the feature region with every frame regardless of the confidence level.
Opens the Tracker Plug-in Options dialog box, which includes options for the AE Original Built-in Tracker. This command is only available if you choose to use the older After Effects tracker plug-in.
To show or hide motion paths in the Layer panel, select or deselect the Display Motion Paths option in the panel menu of the Tracker panel. (The panel menu is the menu that you access by clicking the icon in the upper-right corner of a panel.) You can also use commands in this menu to add a new track point, reveal the current track in the Timeline panel, and toggle whether the feature region magnification is enabled.
Each time you click Track Motion or Stabilize Motion in the Tracker panel (or choose Animation > Track Motion or Animation > Stabilize Motion), a new tracker is created for the layer in the Timeline panel. Each tracker contains track points, which are property groups that store the tracking data after tracking has been performed. Trackers are grouped in the Motion Trackers property group for each layer in the Timeline panel.
To show a tracker in the Timeline panel, select the tracker from the Current Track menu in the Tracker panel and press SS.
You can rename trackers and track points and modify and animate their property values in the Timeline panel just as you do for other layer properties and property groups. You must click Apply in the Tracker panel to apply the property changes to the target.
Position of the center of the search region relative to the center of the feature region.
Property through which After Effects reports the amount of certainty regarding the match made for each frame. In general, Confidence is not a property that you modify.
Adjust the track point
When you set up motion tracking, it’s often necessary to refine your track point by adjusting the feature region, search region, and attach point. You can resize or move these items independently or in groups by dragging using the Selection tool. To help you define the area to be tracked, the image area within the feature region is magnified to 400% while you move the region.
Track point components and Selection tool pointer icons
A. Search region B. Feature region C. Keyframe marker D. Attach point E. Moves search region F. Moves both regions G. Moves entire track point H. Moves attach point I. Moves entire track point J. Resizes region
- To turn on or off feature region magnification, choose Magnify Feature When Dragging from the Tracker panel menu.
- To move the feature region, search region, and attach point together, drag inside the track point area (avoiding the region edges and the attach point), or press the Up, Down, Left, or Right Arrow key. Hold Shift while pressing an arrow key to move by an increment 10 times as large.
- To move only the feature and search regions together, drag the edge of the feature region, or Alt-drag (Windows) or Option-drag (Mac OS) with the Selection tool inside the feature or search region. You can also hold Alt (Windows) or Option (Mac OS) while pressing the Up, Down, Left, or Right Arrow key. Hold Alt+Shift (Windows) or Option+Shift (Mac OS) while pressing an arrow key to move by an increment 10 times as large.
- To move only the search region, drag the edge of the search region.
Offset the search region center from the feature region center in the direction in which the tracked feature is traveling.
- To move only the attach point, drag the attach point.
- To resize the feature or search region, drag a corner handle.
- To make all of the sides of the region match the length of the longest side, and to resize the region relative to the original center point of the region, Shift-drag a corner handle.
- To make all of the sides of the region match the length of the longest side, and to resize the region relative to a particular corner handle, Ctrl+Shift-drag (Windows) or Command+Shift-drag (Mac OS) the opposite corner handle.
To restrict the movement of the track point to the x (horizontal) or y (vertical) axis during tracking, resize the height or width of the search region to match the height or width of the feature region.
Apply tracking data to a new target
After you’ve tracked a motion source layer, you can apply the tracking data stored on that layer to any number of other target layers and effect control points. For example, you can apply the track to the position of a light bulb and to the effect control point of the Lens Flare effect.
Correct a motion track
As an image moves in a shot, the lighting, surrounding objects, and angle of the object can all change, making the once distinct feature no longer identifiable at the subpixel level. Also, if the search region is too small, the tracked feature may leave its bounds from one frame to the next.
Learning to choose a trackable feature takes time. Even with careful planning and practice, the feature region can drift away from the desired feature. Re-adjusting the feature and search regions, changing the tracking settings, and trying again is a standard part of automatic tracking. It’s not necessary to get a single good track in one try. You may need to track the shot in sections, redefining the feature region in places where the feature changes and the region drifts. You may even need to choose a different feature to track, one with movement that closely matches that of the feature to track, and use the attach point offset to place the target.
After you’ve tracked motion, each track point has a motion path in the Layer panel that shows the position of the center of the feature region. You can fine-tune the keyframes of the motion path in the Layer panel as you would any other motion path. Modifying the motion path is most useful when you want to manually change the motion tracking data before applying it to a target. In some cases, it may be easier to manually modify the motion path created by the motion tracker than to get a perfect track.
Motion source and its motion path
A. Moving the feature and search regions B. Keyframe marker
- If you are correcting the track for one frame, go to step 4. If you are correcting the track for several contiguous frames, adjust the feature region and search region if necessary, and click Analyze. Watch the tracking to make sure that it is accurate. If the tracking is not accurate, then click the button again to stop tracking, adjust the feature region, and begin again.
Stabilize motion with the Warp Stabilizer effect | CC, CS6, CS5.5
You can stabilize motion with the Warp Stabilizer effect. It removes jitter caused by camera movement, making it possible to transform shaky, handheld footage into steady, smooth shots. See Tracking and stabilizing motion for more information about using the point tracker for stabilizing motion.
For video tutorials, details, and resources about the Warp Stabilizer effect, see this article on the Adobe website.
In After Effects CC the effect is named Warp Stabilizer VFX.
Warp Stabilizer VFX | After Effects CC
An upgrade to the Warp Stabilizer, VFX adds the ability to choose which objects within a scene get stabilized.
In After Effects CC
- Choose Effect > Distort > Warp Stabilizer VFX.
- Go to the Effects & Presets panel > Distort and apply the Warp Stabilizer VFX to the layer.
- Right-click the footage item in the Timeline panel and choose Warp Stabilizer VFX.
In After Effects CS6:
- Choose Animation > Warp Stabilizer.
- In the Tracker panel, click the Warp Stabilizer button.
- Right-click the footage item in the Timeline panel and choose Warp Stabilizer.
In After Effects CS5.5:
- Choose Animation > Stabilize Motion.
- In the Tracker panel, click the Stabilize Motion button.
- In After Effects CS5.5, right-click the footage item in the Timeline panel and choose > Stabilize Motion.
After the effect is added to the layer, analysis of the footage begins immediately in the background. As analysis begins, the first of two banners displays in the Composition panel indicating that analysis is occurring. When analysis is complete, the second banner displays a message that stabilization is occurring.
You are free to work with the footage or elsewhere in the project while these steps are occurring.
There is no need to press this button when you first apply Warp Stabilizer, it is pressed for you automatically. The Analyze button remains dimmed until some change takes place. For example, if you adjust a layer’s In or Out points, or there is an upstream change to the layer source. Click the button to reanalyze the footage.
Analysis does not take into account any masks or effects that are applied directly to the same layer. Pre-compose and place them in the upstream composition if you want them to be analyzed.
Cancels an analysis in progress. During analysis, status information appears next to the Cancel button.
Controls the intended result for the footage (Smooth or No Motion).
Smooth motion (default): Retains the original camera movement but makes it smoother. When selected, Smoothness is enabled to control how smooth the camera movement becomes.
No Motion: Attempts to remove all camera motion from the shot. When selected, the Crop Less <-> Smooth More function is disabled in the Advanced section. This setting is used for footage where at least a portion of the main subject remains within the frame for the entire range being analyzed.
Chooses how much the camera’s original motion is stabilized. Lower values are closer to the camera’s original motion while higher values are smoother. Values above 100 require more cropping of the image. Enabled when the Result is set to Smooth Motion.
Specifies the most complex operation the Warp Stabilizer performs on the footage to stabilize it:
Position Tracking is based on position data only and is the most basic way footage can be stabilized.
Position, Scale And Rotation Stabilization is based upon position, scale, and rotation data. If there are not enough areas to track, Warp Stabilizer chooses the previous type (Position).
Perspective: Uses a type of stabilization in which the entire frame is effectively corner-pinned. If there are not enough areas to track, Warp Stabilizer chooses the previous type (Position, Scale, Rotation).
Subspace Warp (default): Attempts to warp various parts of the frame differently to stabilize the entire frame. If there are not enough areas to track, Warp Stabilizer choose the previous type (Perspective).
The method in use on any given frame can change across the course of the clip based on the tracking accuracy.
note: In some cases, Subspace Warp can introduce unwanted warping, and Perspective can introduce unwanted keystoning. You can prevent anomalies by choosing a simpler method.
(After Effects CC) When enabled, prevents the Warp Stabilizer from trying to adjust forward and backward camera movements with scale adjustments.
Controls how the edges appear in a stabilizing result. Framing can be set to one of the following:
- Stabilize Only: Displays the entire frame, including the moving edges. Stabilize Only shows how much work is being done to stabilize the image. Using Stabilize Only allows you to crop the footage using other methods. When selected, the Auto-scale section and Crop Less <-> Smooth More property are disabled.
- Stabilize, Crop: Crops the moving edges without scaling. Stabilize, Crop is identical to using Stabilize, Crop, Auto-scale, and setting Maximum Scale to 100%. With this option enabled, the Auto-scale section is disabled, but the Crop Less <-> Smooth More property is enabled.
- Stabilize, Crop, Auto-scale (default): Crops the moving edges and scales up the image to refill the frame. The automatic scaling is controlled by various properties in the Auto-scale section.
- Stabilize, Synthesize Edges: Fills in the blank space created by the moving edges with content from frames earlier and later in time (controlled by Synthesizes Input Range in the Advanced section). With this option, the Auto-scale section and Crop Less <-> Smooth More are disabled.
It is possible for artifacts to appear when there is movement at the edge of the frame not related to camera movement.
Displays the current auto-scale amount, and allows you to set limits on the amount of auto-scaling. Enable Auto-scale by setting framing to Stabilize, Crop, Auto-scale.
- Maximum Scale: Limits the maximum amount a clip is scaled up for stabilization.
- Action-Safe Margin: When non-zero, specifies a border around the edge of the image that you don’t expect to be visible. Thus, auto-scale does not try to fill it.
Scales up the clip with the same result as scaling using the Scale property under Transform, but avoids an extra resampling of the image.
When set to on, makes the next Analysis phase do extra work to find elements to track. The resulting data (stored in the project as part of the effect) is much larger and slower with this option enabled.
Rolling Shutter Ripple
The stabilizer automatically removes the rippling associated with stabilized rolling shutter footage. Automatic Reduction is the default. Use Enhanced Reduction if the footage contains larger ripples. To use either method, set the Method to Subspace Warp or Perspective.
Crop Less <-> Smooth More
When cropping, controls the trade-off between smoothness and scaling of the cropping rectangle as it moves over the stabilized image. Lower values are smooth, however, more of the image is viewed. At 100%, the result is the same as the Stabilize Only option with manual cropping.
Synthesis Input Range (seconds)
Used by Stabilize, Synthesize Edges framing, controls how far backward and forward in time the synthesis process goes to fill in any missing pixels.
Synthesis Edge Feather
Selects the amount of feather for the synthesized pieces. It is enabled only when using the Stabilize, Synthesize Edges framing. Use the feather control to smooth over edges where the synthesized pixels join up with the original frame.
Synthesis Edge Cropping
Trims off the edges of each frame before it is used to combine with other frames when using the Stabilize, Synthesize Edges framing option. Use the cropping controls to crop off bad edges that are common in analog video capture, or low quality optics. By default, all edges are set to zero pixels.
Hide Warning Banner
Use when you don’t want to reanalyze footage even though there is a warning banner indicating that it must be reanalyzed.
Determines the aim for the effect: for stabilizing, for temporary stabilization to perform visual effects work, or to composite a layer into a shaky scene. Choose an objective:
- Stabilize - Default option for normal stabilization
- Reversible Stabilization and Reverse Stabilization - Use these options to apply an effect to a region. Use two instances of the Warp Stabilizer VFX effect, one with Reversible Stabilization to steady a shaky object, and a duplicate instance with Reverse Stabilization to insert the shake back in, so that any effects you apply after Reversible Stabilization appear within the original scene.
- Apply Motion to Target and Apply Motion to Target over Original - Use these options to composite a layer into a shaky scene to apply the stabilized motion onto a different layer.
Choose a layer to which the stabilized motion is applied using the Apply Motion to Target or Apply Motion to Target over Original options.
Auto-delete Points Across Time
When you delete track points in a composition panel, corresponding track points on the same object, are deleted at other times on the layer. You do not need to manually delete the track points frame-by-frame.
When Framing is set to one of the cropping options and the cropping gets extreme, a red banner appears saying, “To avoid extreme cropping set Framing to Stabilize Only or adjust other parameters”. In this situation, you can either set Framing to Stabilize Only, or Stabilize, Synthesize Edges. Other options include reducing the value of Crop Less <-> Smooth More, or reducing Smoothness. Or, if you are satisfied with the results, enable the Hide Warning Banner option.