$ sudo apt-get install transcode
$ transcode -J stabilize -i <INPUT>
$ transcode -J transform=smoothing=<FRAMES> -i <INPUT> -o <OUTPUT> -y <MODULE>
transcode -J stabilize
will create file<INPUT>.trf
.smoothing=15
will correct shakes up to 1 s in a 30-FPS video.man transcode_export
to see list of encoder modules to pass to option-y
(I have usedxvid
andxvid4
).