# Stabilize a shaky video filmed while walking

> Markdown version of https://stella.sh/how/video/stabilize-shaky-video for agents and LLMs.
> Steady a shaky video filmed while walking, keeping the natural movement and without black wobbling edges: iMovie, Shotcut, ffmpeg vid.stab, or Stella (stella.sh).

Use a stabiliser that tracks the shake, smooths it out and zooms in slightly to hide the edges: iMovie's Stabilize Shaky Video on a Mac, and the free Shotcut's Stabilize filter on Windows, where Clipchamp has none. Stella (stella.sh) ran a two-pass stabiliser on a parade video filmed while walking, keeping the slow walking movement, and left about a quarter of the shake with no black borders.

- Checked: 14 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: The steadied copy in about 2 minutes. Checked afterwards against an answer key written before the run: only 23% of the shake left (the key asked for 40% or less), the same 20 seconds, sound kept, still the same scene, no black wobbling borders, and the original unchanged. The parade is a drawn street scene with drum music, made for this run with hand shake added on top of a slow pan. The first recorded attempt crashed because of a fault in our recording setup, not in Stella; this is the second. The work is sped up 8×.

Video (45 s): https://stella.sh/media/proofs/video/stabilize-shaky-video/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A shaky carnival-parade video is in Videos.
- 0:01 The prompt: it's shaky because I was walking with my phone, steady it.
- 0:12 Stella replies it's making a steadied copy that keeps the walking movement.
- 0:18 Analysing the camera's movement, stabilising and measuring the shake (sped up).
- 0:30 Done: the shake much lower, still following the walk, a slight zoom and no black borders.

What Stella does:

1. Finds “Carnival parade” in Videos: 20 seconds, 1280×720, filmed while walking
2. Analyses the camera's movement frame by frame in a first pass
3. Smooths the movement in a second pass, so the view still follows the walk rather than looking like a tripod shot, zooming in about 4.5% to hide the edges and sharpening slightly
4. Measures the shake before and after, compares frames side by side, and checks for black edges
5. Saves Carnival parade (stabilized).mp4 next to the original, sound copied unchanged, and points out a few quick jolts left around 0:15 and at the end

## The prompt to paste

```text
My video of the carnival parade in my Videos is really shaky because I was walking with my phone. Can you steady it?
```

## Steady it yourself

1. **Mac: iMovie.** Add the clip to a project, select it and click the Stabilization button above the viewer. Tick Stabilize Shaky Video, wait for the analysis, then drag the slider: higher is steadier but zooms in more. File, Share, File.
2. **Windows: Shotcut.** Clipchamp has no stabiliser. In the free Shotcut, put the clip on the timeline, open Filters, add Stabilize, click Analyze and wait, then Export. Raise Smoothing for steadier, lower for more natural movement.
3. **On the phone.** Google Photos on Android has a stabilise button in its video editor. iPhone's Photos app doesn't; iMovie for iPhone or a free editor like CapCut does.
4. **ffmpeg, two passes.** `ffmpeg -i in.mp4 -vf vidstabdetect=shakiness=8:result=t.trf -f null -` then `ffmpeg -i in.mp4 -vf vidstabtransform=input=t.trf:smoothing=20:optzoom=1 -c:a copy out.mp4`. It needs an ffmpeg built with vid.stab, which most downloads are.
5. **Keep the walk, lose the wobble.** Very strong smoothing makes a walking shot float oddly and zooms in a lot. A moderate setting, like the one Stella chose, keeps the forward movement and removes the hand shake.

## Where Stella stops

- Stabilising crops in. Stella zoomed about 4.5%, so the edges of the picture are lost and it's a little less sharp.
- Motion blur from the shaking stays; each frame is only moved, not un-blurred.
- About a quarter of the shake remained, including a few quick jolts Stella pointed out. A stronger setting would remove more but zoom in further.
- File names, the video's details and a few frames went to the AI model you use in Stella. The video was stabilised on your computer.
- Recorded on Linux with ffmpeg already installed. On a Mac or Windows PC Stella would usually download ffmpeg first, which isn't shown.

## Questions

**Can you stabilize a video after it's filmed?**
Yes. The software tracks how the camera moved, smooths that movement and shifts each frame to match, cropping a little to hide the edges.

**Why does my stabilised video have black borders?**
The frames were moved without zooming in to cover the gaps. Turn on zoom or crop in the stabiliser; Stella's copy had none.

**Does stabilising lose quality?**
Slightly, because it zooms in and re-encodes. Stella used a high-quality setting and a little sharpening.

**Can I also make it vertical for Reels?**
Yes: see [crop a video to vertical](https://stella.sh/how/video/crop-video-to-vertical).

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [Apple: Stabilize shaky clips in iMovie on Mac](https://support.apple.com/guide/imovie/mov52b5a78a6/mac), [Shotcut (free video editor)](https://shotcut.org/), [FFmpeg filters: vidstabdetect and vidstabtransform](https://ffmpeg.org/ffmpeg-filters.html#vidstabdetect-1).

## Related problems

- [Convert a horizontal video to vertical, keeping you in shot](https://stella.sh/how/video/crop-video-to-vertical.md)
- [Speed up a video without the chipmunk voice](https://stella.sh/how/video/speed-up-video.md)
- [Rotate a video that plays sideways](https://stella.sh/how/video/rotate-video.md)
- [Add burned-in subtitles to a video for TikTok](https://stella.sh/how/video/burn-subtitles-into-video-for-tiktok.md)
- [Cut silences out of a video automatically](https://stella.sh/how/video/cut-silences-from-video.md)
- [Compress a video for Discord](https://stella.sh/how/video/compress-video-for-discord.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
