As I slowly migrate from Apple's Mac OS X to a Linux distribution, I try to find good replacements for Apple's iLife software suite. I particularly like the current iMovie's image stabilization feature, where at the cost of losing a bit of resolution, shaky footage can be stabilized so that you almost can't tell the camera was shaking.

Is there an open source Linux video editor that has a similar feature?

4 Answers 4


Cinelerra is the only tool I'm aware of that can do this in Linux. There is a tutorial on just this topic.


As said here, you can use FFmpeg with vid.stab.

If your video is named input.mp4 execute those 2 steps:

ffmpeg -i input.mp4 -vf vidstabdetect=shakiness=10:accuracy=15:result="mytransforms.trf" -f null -
ffmpeg -i input.mp4 -vf vidstabtransform=smoothing=30:input="mytransforms.trf" -c:a copy out_stabilized.mp4

The first step is used to create the stabilization profile, and the final stabilized video will be created at out_stabilized.mp4.

For high quality output, use this second step in place of the previous one (thanks to this SO answer):

ffmpeg -i input.mp4 -vf vidstabtransform=smoothing=30:input="mytransforms.trf" -codec:v libx264 -crf 18 -preset veryslow -pix_fmt yuv420p -c:a copy out_stabilized.mp4

More information on the parameters can be found in the vid.stab GitHub Project.


Be sure to check out MLT and it's videostab2 filter.


You can do it with AviSynth, using a filter called Deshaker which is written for VirtualDub, but also works with AviSynth.

It isn't specifically Linux , but both programs mentioned work quite well under wine, and are definitely Free and Open Source in spirit and are GNU GPL'd. The developers just happened to start developing it Windows land, and it proved too difficult to port to *nix.

Avisynth is a media scripting language. If you are happy with scripting at the coal-face, then AviSnth is awsome. If you want to point and click, it's not for you.

A picture is worth a thousand words, so here are some pics (video actually) ..

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .