How to Stabilize Shaky Video in Blender

Blender features a powerful built-in Motion Tracking workspace capable of stabilizing shaky handheld footage using 2D stabilization. By tracking specific reference points across your video clips, Blender can automatically compensate for unwanted camera translation, rotation, and scale variations. This guide provides a straightforward, step-by-step workflow to import your footage, track motion markers, apply 2D stabilization, and export the smoothed result using the Compositor.

Step 1: Set Up the Movie Clip Editor

  1. Open Blender and switch to the VFX > Motion Tracking workspace using the top tab selector (or change the main editor window to the Movie Clip Editor).
  2. Click Open in the center of the editor and select your shaky video file.
  3. Click Set Scene Frames on the left toolbar to automatically match your project length to the video length.
  4. Click Prefetch to load the video frames into your RAM for smooth playback during tracking.

Step 2: Track Reference Points

To stabilize footage, Blender needs visual points to calculate how the camera moves from frame to frame.

  1. Scrub to the first frame of your video.
  2. In the left panel under the Track tab, open the Marker settings and adjust the search size if your footage has fast or erratic motion.
  3. Hold Ctrl and Left-Click on a high-contrast, stationary feature in the footage (such as a rock, street sign, or building corner) to place a tracking marker.
  4. Add at least two to four markers across different distinct elements in the frame.
  5. Select all placed markers by pressing A, then press Ctrl + T (or click the Track Forward button in the track panel) to track the points across the entire clip.
  6. If a track fails or slips, adjust the marker manually on that frame and continue tracking.

Step 3: Enable 2D Stabilization

  1. In the right-hand properties sidebar of the Movie Clip Editor (press N if hidden), navigate to the Track tab.
  2. Expand the 2D Stabilization panel and check the box to enable it.
  3. Under Tracks for Stabilization, click the + button to add your primary tracking marker(s) to the Translation list. This cancels out horizontal and vertical movement.
  4. To fix camera tilt and zooming, add at least one additional tracking marker to the Rotation/Scale list.
  5. Check Autoscale to automatically zoom in slightly, preventing black borders from appearing as the frame shifts to stabilize the motion.
  6. Adjust the Location and Rotation smoothing values if you want to retain organic camera movement while eliminating harsh jitter.

Step 4: Render the Stabilized Clip via Compositor

  1. Switch to the Compositing workspace and check the Use Nodes box at the top.
  2. Delete the default Render Layers node.
  3. Press Shift + A and add an Input > Movie Clip node. Select your video clip in the dropdown.
  4. Press Shift + A and add a Distort > Stabilize 2D node.
  5. Connect the Movie Clip node to the Stabilize 2D node, and select your footage inside the Stabilize 2D node settings.
  6. Connect the output of the Stabilize 2D node into the Composite node.
  7. Go to the Output Properties tab on the right properties panel, set your desired resolution, frame rate, output path, and video encoding format (such as FFmpeg Video with H.264).
  8. Go to the top menu and select Render > Render Animation (or press Ctrl + F12) to export your stabilized video.