Into the (open) source

27Mar / 150

Video deshake con Linux: stabilize a shaky video with Transcode pt. 2


This article was written in the 2015, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.


Whole an article in the 2013 that was the subject of stabilization of shaky videos.

Notwithstanding that the best outcome would be to use one stabilizer physical (a simple grip with a weight at the lower end) or a accelerometer solidarity (there are those who have made a kinect).

Also in this case we will use Transcode, so if we have not installed it will be necessary to do so:

sudo apt-get install transcode

As for the video with Transcode deshake this command will analyze the video "tracktest.mp4":

transcode -J stabilize=shakiness=6:accuracy=15:show=1,preview -i tracktest.mp4 -y null,null -o dummy

While this analysis apply to video, producing the stabilized video "track.avi":

transcode -J transform=smoothing=30:interpol=3:sharpen=1  -i tracktest.mp4 -y xvid -o track.avi

Transcode works with any type of format, It is very versatile but does not exist a GUI. Apparently in this way it is obvious to the problem raised by me in my old article on the lines of the final video.

The result is satisfactory, even though the video is not the most focused I've ever shot.


I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.