{"id":136,"date":"2017-07-22T19:07:48","date_gmt":"2017-07-22T19:07:48","guid":{"rendered":"https:\/\/csteele.io\/blog\/?p=136"},"modified":"2017-07-22T19:07:48","modified_gmt":"2017-07-22T19:07:48","slug":"timelapse","status":"publish","type":"post","link":"https:\/\/gravemind.sh\/blog\/?p=136","title":{"rendered":"timelapse"},"content":{"rendered":"<p>#time lapse the images<\/p>\n<pre class=\"lang:default decode:true\">ffmpeg -f image2 -i %04d.jpg -r 30 -s hd1080 -vcodec libx264 time-lapse.mp4<\/pre>\n<p>#2x video speed<\/p>\n<pre class=\"lang:default decode:true \">ffmpeg -i time-lapse.mp4 -filter:v \"setpts=0.5*PTS\" time-lapse-fast.mp4<\/pre>\n<p><a href=\"https:\/\/www.ffmpeg.org\/faq.html#How-do-I-encode-single-pictures-into-movies_003f\"><br \/>\nhttps:\/\/www.ffmpeg.org\/faq.html#How-do-I-encode-single-pictures-into-movies_003f<\/a><br \/>\n<a href=\"https:\/\/trac.ffmpeg.org\/wiki\/How%20to%20speed%20up%20\/%20slow%20down%20a%20video\">https:\/\/trac.ffmpeg.org\/wiki\/How%20to%20speed%20up%20\/%20slow%20down%20a%20video<\/a><\/p>\n<p>Rename the images into sequential numbering with Thunar&#8217;s built in batch rename feature.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#time lapse the images ffmpeg -f image2 -i %04d.jpg -r 30 -s hd1080 -vcodec libx264 time-lapse.mp4 #2x video speed ffmpeg -i time-lapse.mp4 -filter:v &#8220;setpts=0.5*PTS&#8221; time-lapse-fast.mp4 https:\/\/www.ffmpeg.org\/faq.html#How-do-I-encode-single-pictures-into-movies_003f https:\/\/trac.ffmpeg.org\/wiki\/How%20to%20speed%20up%20\/%20slow%20down%20a%20video Rename the images into sequential numbering with Thunar&#8217;s built in batch rename feature.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":0,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gravemind.sh\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}