{"id":999,"date":"2016-03-27T22:07:53","date_gmt":"2016-03-28T05:07:53","guid":{"rendered":"https:\/\/partofthething.com\/thoughts\/?p=999"},"modified":"2016-05-31T23:54:28","modified_gmt":"2016-06-01T06:54:28","slug":"time-lapse-smooth-cloud-video","status":"publish","type":"post","link":"https:\/\/partofthething.com\/thoughts\/time-lapse-smooth-cloud-video\/","title":{"rendered":"Time-lapse cloud video"},"content":{"rendered":"<p>I&#8217;ve been learning about my Canon EOS D-SLR camera and wanted to try a time-lapse cloud video. It was pretty easy!<br \/>\n<iframe loading=\"lazy\" title=\"Time-lapse sunset\/clouds scene\" width=\"660\" height=\"495\" src=\"https:\/\/www.youtube.com\/embed\/7TBLuAzpMWg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><br \/>\n<!--more--><\/p>\n<h2>Step 1: Install Magic Lantern<\/h2>\n<p>I installed <a href=\"http:\/\/wiki.magiclantern.fm\/install\">Magic Lantern add-on firmware\u00a0<\/a>so I could get an Intervalometer (a thing that takes a picture every x seconds). I was kind of surprised Canon didn&#8217;t load this feature by default, but this only took a few minutes to get running. Neat.<\/p>\n<h2>Step 2: Take lots of photos from a tripod<\/h2>\n<p>As a first test, I just pointed the camera out at the fairly nice clouds around the setting sun and set the interval to 10s. I ran the camera in manual mode and got the exposure about how I wanted it before starting the interval. In this case it was 1\/640s exposure time, f\/2.8 aperture. I&#8217;ll have to play more to figure out how to do the exposure ramping tricks.<\/p>\n<h2>Step 3: Process the photos with a frame interpolator<\/h2>\n<p>Lots of people use something called Twixtor to render interpolated frames between the interval (to smooth out the motion) but I&#8217;m a linux guy. I came across <a href=\"https:\/\/github.com\/slowmoVideo\/slowmoVideo\/wiki\">slowmoVideo<\/a> which seemed to do the trick. I built in on Ubuntu 15.10 without trouble and sent it a bunch of photos. It was rendering really slowly so I pre-shrunk the images with mogrify first to like 30%. It still took about an hour to render this short clip.<\/p>\n<p>Finally, I threw some audio on with ffmpeg and the result is what you see above. Pretty slick! I hope to take a lot more of these in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been learning about my Canon EOS D-SLR camera and wanted to try a time-lapse cloud video. It was pretty easy!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[3,72],"tags":[],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-computers","category-photography"],"_links":{"self":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":4,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1029,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/999\/revisions\/1029"}],"wp:attachment":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}