I would like to stabilize a video, but animate the amount of stabilization.

I tried using the Warp Stabilizer VFX effect, but while I can controll the strength of stabilization using the 'smoothness' slider, I cannot animate this property.

Is there another way to change the amount of stabilization during a video?

1 Answer 1


If you are just stabilising the position of an object, it could be accomplished like this:

  1. Track the footage using the tracker. Window -> Tracker
  2. Set it to 'Track Motion' not 'Stabilize Motion'.
  3. Make sure 'Position' is checked.
  4. Run the tracker.
  5. Once it is complete, hit 'U' with the layer selected to expose the tracked keyframes.
  6. Create a new Null layer. Layer -> New -> Null Object
  7. Add a 'Slider Control' effect to the Null layer. Rename it to 'Amount'.
  8. Press 'P' to expose the position property.
  9. Alt + click the stopwatch to create an expression.
  10. Paste in the expression below:
// The original position
var origX = 646; // Change this 
var origY = 330; // Change this

// Your tracked footage
var track = thisComp.layer("Tracked Layer").motionTracker("Tracker 1")("Track Point 1").featureCenter;

// The difference between this frame and the first frame
var dx = origX - track[0];
var dy = origY - track[1];

// Add the difference back to the original 
// Multiply this by the amount you want to achieve
var newX = origX + dx * effect("Amount")("Slider").value;
var newY = origY + dy * effect("Amount")("Slider").value;

[ newX, newY ]

The origX and origY values should be set to be the same x and y value of that of the very first keyframe of the 'featureCenter' property on your tracked layer.

You will also need to rename the layer referenced in the 'track' variable from 'Tracked Layer' to the name of you tracked footage layer.

You can now keyframe the Amount slider values, keeping it between 0 and 1. Where 1 would be fully stabilised and 0 would be no stabilisation.

I hope this is close to what you were hoping to achieve!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.