{"author_name":"wilbefast","cat":"LD #25","comments":[],"epoch":1360261920,"likes":0,"metadata":{"p_key":"47250","p_author":"wilbefast","p_authorkey":"14535","p_urlkey":"82913","p_title":"Wilbefast timelapse (ld25)","p_cat":"LD #25","p_event":"LD25","p_time":"1360261920","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"14535","us_name":"wilbefast","us_username":"wilbefast","event_start":"1355443200","event_key":"14","event_name":"LD25"},"text":"<p>I finally got around to posting my Ludum Dare 25 time-lapse, accompanied with some idle musings and some epic open (GPL3) music <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>Check it out!<\/p>\n <h2 style=\"text-align: center\"><span style=\"color: #000080\"><a href=\"http:\/\/youtu.be\/90V72BQvPOo\"><span style=\"color: #000080\">http:\/\/youtu.be\/90V72BQvPOo<\/span><\/a><\/span><\/h2>\n <p><span id=\"more-221430\"><\/span><\/p>\n <p>A few notes in case you were wondering:<\/p>\n <ul>\n <li>OS is Fedora 17 with XFCE<\/li>\n <li>IDEs are Code::Blocks (for C++) and Netbeans (for Java)<\/li>\n <li>Blender for 3D modeling<\/li>\n <li>GIMP for sprites and for texturing<\/li>\n <li>the <em>scrot<\/em> command-line program was used to capture images periodically:<\/li>\n <\/ul>\n <p style=\"padding-left: 60px\"><em><strong>function capture <\/strong><\/em><br \/>\n <em><strong>{<\/strong><\/em><br \/>\n <em><strong>\u00a0 local name=$(date +%s).png<\/strong><\/em><br \/>\n <em><strong>\u00a0 scrot $name<\/strong><\/em><br \/>\n <em><strong>\u00a0 echo $name<\/strong><\/em><br \/>\n <em><strong>}<\/strong><\/em><br \/>\n <em><strong>while (true)<\/strong><\/em><br \/>\n <em><strong>do<\/strong><\/em><br \/>\n <em><strong>\u00a0 capture;<\/strong><\/em><br \/>\n <em><strong>\u00a0 sleep 10<\/strong><\/em><br \/>\n <em><strong>done<\/strong><\/em><\/p>\n <ul>\n <li><em>ffmpeg<\/em> was used to compile these images into a video:<\/li>\n <\/ul>\n <p style=\"padding-left: 60px\"><em><strong>n=0<\/strong><\/em><br \/>\n <em><strong>for old in *.png; do<\/strong><\/em><br \/>\n <em><strong>\u00a0 new=$(printf &#8220;%06d.png&#8221; ${n})<\/strong><\/em><br \/>\n <em><strong>\u00a0 mv ${old} ${new}<\/strong><\/em><br \/>\n <em><strong>\u00a0 let n=n+1<\/strong><\/em><br \/>\n <em><strong>done<\/strong><\/em><br \/>\n <em><strong>ffmpeg -b 1800 -r 30 -i %06d.png -vcodec libx264 -crf 0 -vpre lossless_ultrafast -threads 0 out.mkv<\/strong><\/em><\/p>\n <ul>\n <li>Audacity was used to capture and clean the audio<\/li>\n <li>OpenShot was used to edit and to compile the final video<\/li>\n <\/ul>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/blender\/\" rel=\"tag\">blender<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/codeblocks\/\" rel=\"tag\">code::blocks<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/ffmpeg\/\" rel=\"tag\">ffmpeg<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/gimp\/\" rel=\"tag\">GIMP<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/montpellier\/\" rel=\"tag\">montpellier<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/netbeans\/\" rel=\"tag\">netbeans<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/screen-capture\/\" rel=\"tag\">screen capture<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/scrot\/\" rel=\"tag\">scrot<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/timelapse\/\" rel=\"tag\">timelapse<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/xfce\/\" rel=\"tag\">xfce<\/a><\/p>","time":"February 7th, 2013 1:32 pm","title":"Wilbefast timelapse (ld25)"}