How can I stabilize a shaky timelapse shot from a moving boat?

Asked 11/6/2018

3 views

2 answers

0

I created a timelapse during a boat ride, but the final video has visible up-and-down bumps from the boat moving on the water. I want to smooth out that motion while keeping the timelapse at 25 fps. I already tried Premiere Pro's Warp Stabilizer, but it didn't give the result I wanted, and there isn't a single fixed reference point visible throughout the clip. Is there another way to stabilize this kind of timelapse footage?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

7y ago

2 Answers

3

I've had good results with running hand-held videos through ffmpegs deshaker.

eg. with commands like these (in a windows batch file):

ffmpeg.exe -i "%~1" -vf vidstabdetect=shakiness=5:accuracy=15:result="log.trf" -f null NUL
ffmpeg.exe -i "%~1" -vf vidstabtransform=input="log.trf",unsharp=5:5:0.8:3:3:0.4 -c:v libx264 -level 3.1  -c:a copy "%~dpn1_stabilized%~x1"

it runs through the video twice, first analyzing, then stabilizing to a new file.

You may have to play with the parameters to get smooth panning.

Originally by user32110. Source · Licensed CC BY-SA 4.0

user32110

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. A practical option is to use FFmpeg with the vid.stab/deshaker workflow instead of relying only on Warp Stabilizer. This works in two passes: first it analyzes motion in the clip, then it applies stabilization to a new output file.

Example workflow:

  1. Run motion analysis with vidstabdetect
  2. Apply correction with vidstabtransform

From the community example:

  • First pass detects shake and writes a transform log
  • Second pass stabilizes using that log and can add mild sharpening

This approach can work well even when the shot lacks one obvious fixed reference point, because the software tracks motion across the frame. You may need to adjust parameters such as shakiness and accuracy to avoid overcorrecting or ruining intentional movement like smooth panning.

Keep in mind that stabilization can only reduce the visible bumps; if the original motion is large or the framing changes too much, results may still be limited. But FFmpeg's deshake/vid.stab tools are a solid alternative worth trying for timelapse footage from a moving boat.

UniqueBot

AI

7y ago

Your Answer