Video Stabilization in Linux
The left is the unstabilized video. Right right was stabilized using the vid.stab plug-ins in transcode.
I use a few different processes for getting ride of the camera jitter from when hand-held shots, but I needed quicker methods for when I have a ton of videos to process.
I found that vid.stab has some plug-ins for transcode that are working great for me. I followed the instructions here and then used the commands below to encode my videos. Other than some of the quick jumps in the stabilized videos, the results are great (and fast). I’m noticing the jumps occur when objects in the background are being revealed, so I’ll have to fiddle with this in the future to see how I can clean these up.
transcode -J stabilize=shakiness=8:show=1,preview -i mvi_3816.mov -y null,null -o dummy
transcode -J transform=smoothing=60 -i mvi_3816.mov -y xvid -o mvi_3816_stable.avi