<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OMGWTFGAMES!!1! &#187; video</title>
	<atom:link href="http://omgwtfgames.com/category/video/feed/" rel="self" type="application/rss+xml" />
	<link>http://omgwtfgames.com</link>
	<description>games, served indie side up</description>
	<lastBuildDate>Thu, 27 May 2010 23:26:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LD48 #13 : pansapiens timelapse video</title>
		<link>http://omgwtfgames.com/2008/12/ld48-13-timelapse/</link>
		<comments>http://omgwtfgames.com/2008/12/ld48-13-timelapse/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 02:31:22 +0000</pubDate>
		<dc:creator>perry</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[ludum dare]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[timelapse]]></category>

		<guid isPermaLink="false">http://omgwtfgames.com/?p=64</guid>
		<description><![CDATA[Here&#8217;s the timelapse from my recent Ludum Dare 48 hour game development compo session.
[youtube b56mNpfsMeY]
LD48 #13 : pansapiens timelapse
One screenshot every 5 mins, taken with the script (screenshot.sh):

#!/bin/sh
OUTDIR=/home/perry/timelapse
DISPLAY=:0.0
import -window root -display $DISPLAY $OUTDIR/$(date +%F_%R.%S).png >/dev/null 2>/dev/null

using the cronjob:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/perry/timelapse/screenshot.sh

And converted to a video by running the script (timelapse_convert.sh):

#!/bin/sh
# convert pngs to [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the timelapse from my recent <a href="http://www.ludumdare.com">Ludum Dare</a> 48 hour game development compo session.</p>
<p>[youtube b56mNpfsMeY]</p>
<p><a href="http://youtube.com/watch?v=b56mNpfsMeY">LD48 #13 : pansapiens timelapse</a></p>
<p>One screenshot every 5 mins, taken with the script (<em>screenshot.sh</em>):<br />
<code><br />
#!/bin/sh<br />
OUTDIR=/home/perry/timelapse<br />
DISPLAY=:0.0<br />
import -window root -display $DISPLAY $OUTDIR/$(date +%F_%R.%S).png >/dev/null 2>/dev/null<br />
</code></p>
<p>using the cronjob:<br />
<code><br />
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/perry/timelapse/screenshot.sh<br />
</code></p>
<p>And converted to a video by running the script (<em>timelapse_convert.sh</em>):<br />
<code><br />
#!/bin/sh<br />
# convert pngs to jpgs and scale down the size<br />
mogrify -format jpg -scale 840x526 *.png<br />
# convert jpgs to video<br />
# will fail if there are any frames of different sizes (geometry)<br />
# also, need to remove "blank" frames if the screensaver went off<br />
mencoder "mf://*.jpg" -mf fps=4 -o timelapse.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800<br />
</code></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://omgwtfgames.com/2008/12/ld48-13-timelapse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
