Auto Pin User Guide

Home / Support / Auto Pin User Guide

How to install Auto Pin, track a layer and adjust the result.

Installation

Recommended

aescripts + aeplugins manager

The simplest way to install and license Auto Pin.
Sign in to the manager, then install Auto Pin from your account.
To add the trial, use Account > Add Trial.

Manual installation

  1. Plugin

    Copy AutoPin.aex to the Plug-ins folder.

  2. ScriptUI panel

    Copy AutoPin.jsxbin to the ScriptUI Panels folder.

  3. Restart

    Restart After Effects.

  4. Open

    Choose Window > AutoPin.

File locations (Windows)

AutoPin.aexAdobe After Effects <version>\Support Files\Plug-ins\
AutoPin.jsxbinAdobe After Effects <version>\Support Files\Scripts\ScriptUI Panels\

Quick start

Auto Pin reads an animated alpha mask and writes CC Power Pin keyframes to the texture layer.
No track points are necessary.
Use a clean alpha mask, select A then B, and push Track.

  1. Prepare the track target (A)

    Make an alpha mask that follows the object or surface that you want to track.

  2. Prepare the texture (B)

    Put the image or footage that you want to fit onto the tracked area.

  3. Select A, then B

    First select the alpha mask layer, then the texture.
    Make sure that the panel shows the correct names.

  4. Click Track

    Auto Pin applies CC Power Pin keyframes to B.
    Apply the tracked mask to finish the composite.

The Auto Pin panel with the alpha mask (A) and the texture (B) layers
A = animated alpha mask / B = texture that receives CC Power Pin

Auto Pin uses the built-in CC Power Pin of After Effects.
No custom effect is added to the project.

Panel parameters

For most shots, the defaults (Rectangle / Motion Priority / Alpha Threshold 16 / All Frames) work well.

The Auto Pin panel
1Target ShapeRectangle is the default.
If an irregular silhouette does not track cleanly, try Organic Shape.
2Tracking ModeUsually use Motion Priority.
For large rotation, especially more than 90 degrees, use Rotation Priority.
3Alpha ThresholdThe alpha value that sets the mask edge (1–255, default 16).
Start with 16.
Change it only when the detected edge is wrong.
4Frame RangeSelect All Frames, Work Area or Current Frame.
Work Area is useful for a short test.
5Power Pin OrientationThe initial orientation of the texture: 0°, 90°, 180° or -90°.
Available when the layers are assigned.
6Create Corner NullsMakes one null at each tracked corner.
Use them to move other elements or to make your own rigs.
7Swap A/B LayersChanges the mask and texture assignments without a new selection.
8Track Target (A) / Power Pin (B)Make sure that the names are correct before you track.
A is the animated alpha mask.
B receives CC Power Pin.
9TrackAnalyzes the frame range and writes the keyframes of the four corners to layer B.
Selection order

1. Alpha mask (A) → 2. Texture (B) → 3. Track

If the names are in the wrong order, use Swap A/B Layers or select the layers again in the correct order.

Adjust the result (Post Options)

After the first tracking pass, you can adjust the result with Create Corner Nulls, Rotate Pins and Convert Pins.
It is not necessary to track again.

Post Options in the Auto Pin panel
Rotate PinsLeft / Right rotates the pin assignment at the current frame.
Use it to correct the orientation after tracking.
Convert PinsChanges CC Power Pin to Corner Pin or Bezier Warp.
If you convert again from the same type, CC Power Pin comes back.
Motion paths of the nulls at the four corners
Create Corner Nulls: four tracked nulls are added to the composition.
Pins converted to Bezier Warp
Convert Pins: the keyframe positions do not change.

Tips for reliable tracking

Clean alpha

Use one continuous mask with a clear edge.
Remove stray pixels and small holes.

Test a short range

Use Work Area while you adjust the settings.
Then analyze the full frame range.

Start with the defaults

Change Target Shape, Tracking Mode or Alpha Threshold only when the result is not correct.

Large motion is OK

Auto Pin analyzes the full frame, so it can track large jumps in position.

Troubleshooting

ProblemSolution
An irregular edge slipsSet Target Shape to Organic Shape.
The rotation is more than 90 degreesSet Tracking Mode to Rotation Priority.
The texture starts sidewaysBefore tracking, use Power Pin Orientation.
After tracking, use Rotate Pins.
A and B are reversedUse Swap A/B Layers.
The mask edge is not foundAdjust Alpha Threshold and clean the alpha mask.

If this does not solve the problem, use the contact form.