Image Stabilization

Hi, I hope this is the right sub--forum

I am running open Suse 12.2 and hoping to have all the latest software.

I had a look into the threads explaining how to stabilize a clip. No success !!!!

I am using mts file as base,

Could give me someone a step by step instruction how to use the feature ?!?!

Thanks from OZ Cheers

I'm also curious.

In the mean time, until any kdenlive internal method is posted, you can use the 'wine' / 'virtualdub' / 'deshaker' combination that I use with openSUSE. I wrote the method I used to set this up here: ....

Unfortunately, by using that method, one is compelled to stabilize one's video clips outside of kdenlive, and then manually import them once one achieves the stabilization level that one is willing to accept.

Kdenlive does have a stabilization tool, see

searching the forum for "stabilize" will give you more results.

Thanks for the explanation. Unfortunately it does not work:

I do get a .mlt file. which is only a fraction in size of the original and has scatered non-moving pictures.

I am running Suse 12.2.

Is there anything I have missed or does it is not run on Suse for time being?

Thanks otto_oz

I am actually finding this functionality broken at the moment too. My symptom is that the .mlt file that is created - when you load it into the project tree it reports missing clip in red letters.
So we might have some defect in this at the moment.
It used to work. I created the tutorial referenced earlier.

@otto_oz, just to let you know the .mlt file will be a fraction of the size of the source because an .mlt file is a xml document, human readable in even a simple text editor, so it doesn't contain scattered pictures even, that is a sympton of melt playing back the .mlt file reading the stabilization data from it and applying it to the original source clip.

You can also make a proxy of the .mlt file applied to original source clip to improve playback.

Not suggesting that stabilization isn't broken at the moment, just a bit of background as to what the mlt file actually is.

Thanks for the comments, I got it going.
Both option vstab and transcode.Transcode Is significantly fasten and produces better results.

Re transcode can someone please give me a explanation for the options .

Thanks Otto_oz

The Kdenlive "transcode" stabilizer is derived form here, I think:

I hope not. It does kinda suck. Instead of shaking the whole video "wobbles".

I find it even worse and more annoying than the actual shaking. There is only one software that de-shakes video footage correctly - that's Prodad Mercalli. Unfortunately that software is only available for Windows. It's a shame that none of the simple Linux NLE's can use such plugins. I hope for Lightworks for Linux to be able to use professional plugins from Premiere, After Effects and the like.

All stabilizers make video "wobbly" if its overly shaky, only thing that is different is the amount of "wobble" when using different algorithms and stabilization techniques.

The "wobbliness" is in most cases caused by rolling shutter - and yes, none of the Linux apps I know does rolling shutter compensation.

As far as pure stabilization goes (of global shutter footage), Transcode is pretty good, but as with any tool, you need to learn how to use it.

Hi dekiii

Thats wrong. Maybe you will have the opportunity to work with Mercalli - the output is as clean as it can be. Also After Effects does some good work on shaky footage. Maybe the built-in motion tracker in Blender does some better work than transcode or kdenlive. And: If the Rolling Shutter effect is not in the original video, why is it then in the (poorly) stabilized version ? In other words: you exchange shakiness with woobliness :) Not a good deal, I'd rather go with the shakiness.

The wobbliness is there, you just don't see it because of the shake. Once the shake is gone, the wobbliness stands out. There is no "shaky to wobbly" conversion in basic stabilization, just shifts and rotates.

However, a similar effect can arise, if you stabilize footage shot with a non-rectilinear (fisheye) lens. You can avoid that problem by straightening the footage before stabilizing (and eventually "re-fishing" it afterwards, if that look is desired.)

If you can put an example somewhere, it would be easier to diagnose.

But don't hold your breath - as far as I know, nobody is working on a rolling shutter compensator for linux just now, it could a couple of years, before something comes out.

Shake/ wobblines or more common "pumping" is always there. Maybe this Mercalli software makes it look really steady but that means that there are other anomalies in the picture. Best use of software stabilization is with steady cams or fig rigs and similars tools where software stabilization only corrects small mistakes made by steadycam operator.