{"id":2820,"date":"2012-10-27T13:42:30","date_gmt":"2012-10-27T17:42:30","guid":{"rendered":"http:\/\/www.jerslife.com\/word\/?p=2820"},"modified":"2012-10-27T13:51:28","modified_gmt":"2012-10-27T17:51:28","slug":"video-stabilization-in-linux","status":"publish","type":"post","link":"http:\/\/www.jerslife.com\/word\/video-stabilization-in-linux","title":{"rendered":"Video Stabilization in Linux"},"content":{"rendered":"<p><iframe loading=\"lazy\" src=\"http:\/\/www.youtube.com\/embed\/rfP38o-WRm8\" frameborder=\"0\" width=\"640\" height=\"360\"><\/iframe><\/p>\n<p>The left is the unstabilized video.\u00a0 Right right was stabilized using the <a href=\"http:\/\/public.hronopik.de\/vid.stab\/features.php?lang=en\" title=\"vid.stab features\">vid.stab<\/a> plug-ins in transcode.<\/p>\n<p>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.<\/p>\n<p>I found that <em>vid.stab<\/em> has some plug-ins for <em>transcode<\/em> that are working great for me.\u00a0 I followed the <a href=\"http:\/\/blog.hamoid.com\/stabilize-video-in-ubuntu-linux\" title=\"stabilize video in ubuntu\">instructions here<\/a> and then used the commands below to encode my videos.\u00a0 Other than some of the quick jumps in the stabilized videos, the results are great (and fast). I&#8217;m noticing the jumps occur when objects in the background are being revealed, so I&#8217;ll have to fiddle with this in the future to see how I can clean these up.<br \/>\n<code>transcode -J stabilize=shakiness=8:show=1,preview -i mvi_3816.mov -y null,null -o dummy<\/p>\n<p>transcode -J transform=smoothing=60 -i mvi_3816.mov -y xvid -o mvi_3816_stable.avi<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The left is the unstabilized video.\u00a0 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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[254,781,81,489,616,390,176],"_links":{"self":[{"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/posts\/2820"}],"collection":[{"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/comments?post=2820"}],"version-history":[{"count":5,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/posts\/2820\/revisions"}],"predecessor-version":[{"id":2823,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/posts\/2820\/revisions\/2823"}],"wp:attachment":[{"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/media?parent=2820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/categories?post=2820"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jerslife.com\/word\/wp-json\/wp\/v2\/tags?post=2820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}