You took a video of kid crawling through some maze while crawling with her. The result is really shaky video with several wild rotations of camera. Like you started the recording as horizontal, and then somehow in the middle of route you change it to vertical and then back again. So rotate whole video by 90° is not sufficient at all.

Recently I saw same impressive shaking removal, where shaking was ~30° and yet the program was able to stabilize it and only the boundaries of video was witness of wild recording.

Can someone recommend any software to achieve this? I can manually assist with orientation of several frames, but I cannot orient thousands of them.

  • Preferably free solution on Linux, optionally Windows
  • small price for SW capable of doing so; say up to 50$?

But I'd really like to give a shot to variety of tools, and compare which does it best. So far I cannot even find out which SW can do all of that (ie. removing wild multiple rotations + shake removal)


1 Answer 1


You can try use Blender

But Blender is complex professional software, not 10-click solution at all.

Use Youtube video guides...

Blender is free, opensource and crossplatform.


I use Blender as VSE editor under Linux, but for static camera video only.

After such extensive stabilisation I expect lost in subjective video quality...



I shoot some video which need stabilisation. In my case rotation not require much stabilisation. (Shoot from long handle)

  • I tried "Blender 2D stabilisation" at first. Bit setting tracking points is manual work, require repeating for moving camera. Result has strange jumps (in rotation), and require manual adjustment footage from for moving camera.

  • Next I do vid.stab. It work automatic. Make good result. Can fill black borders... Basing on reading about vid.stab algorythm, I expect if video rotated and continue shoot in rotated position is hard be fixed by vid.stab.

ffmpeg -i "$1" -vf vidstabdetect=shakiness=5 -f null -
ffmpeg -n -i "$1" -vf vidstabtransform=optzoom=0:smoothing=30,unsharp=5:5:0.8:3:3:0.4  "${1%.*}-stab30.mkv"`
  • Most annoying for me problem ni vid.stab is wobbling effect, when stabilizing camera oscillations. But Look like it related to no "global shutter" in CCD.

Try use vid.stab twice

First with limited rotation stabilisation to stabilise only camra motion

ffmpeg -i source.MOV     -vf vidstabdetect    -f null -
ffmpeg -i source.MOV     -vf vidstabtransform=maxangle=0.01:smoothing=30 source-step1.mp4

Second with in tripod mode (with full compensation) only for rotation

ffmpeg -i source-step1.mp4  -vf vidstabdetect=tripod=1
ffmpeg -i source-step1.mp4  -vf vidstabtransform=tripod=1:maxshift=0.1,unsharp=5:5:0.8:3:3:0.4  source-step2.mp4

tripod set frame with reference rotation

  • Thanks for tips. One question: I assume just stabilization will not be able pick cca 100° rotation, right? And another question: how about quality of result? How much would you expect to drop? Since ... if it's noticeable, I'd rather live with improperly rotated video than low quality properly oriented one. Commented Aug 20, 2018 at 22:03
  • @MartinMucha Q1: My footage hawe no more that 40° rotation, but I don't see why not. Q2: Quality generally good, but on shaky footage i get wobbling effect, related to rolling shutter. (shutterstock.com/contributorsupport/articles/kbat02/…) It not noticeable on shaky source, but visible after stabilisation. (google.com/… )
    – mmv-ru
    Commented Dec 17, 2019 at 18:35

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.