<?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>blog.flo.cx &#187; 2010 &#187; August</title>
	<atom:link href="http://blog.flo.cx/2010/08/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flo.cx</link>
	<description>Tech, Food, Life</description>
	<lastBuildDate>Thu, 10 May 2012 21:36:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>[video] Tilt Shift Miniature&#8230;</title>
		<link>http://blog.flo.cx/2010/08/video-tilt-shift-miniature/</link>
		<comments>http://blog.flo.cx/2010/08/video-tilt-shift-miniature/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 09:27:15 +0000</pubDate>
		<dc:creator>flo</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[fake tilt shift]]></category>
		<category><![CDATA[miniature]]></category>
		<category><![CDATA[tilt shift]]></category>
		<category><![CDATA[time lapse]]></category>

		<guid isPermaLink="false">http://blog.flo.cx/?p=1935</guid>
		<description><![CDATA[i did a little tilt shift miniature time lapse, just to see how it is done and estimate the complexity. here it is (best seen in HD and full screen): Time Lapse Miniature from flowolf on Vimeo. also on youtube.com music by bob wizman &#8211; &#8220;on your 45&#8243;, licensed under cc-by-sa the howto can be [...]
Related posts:<ol>
<li><a href='http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/' rel='bookmark' title='miniature time-lapse with fake tilt shift (howto)…'>miniature time-lapse with fake tilt shift (howto)…</a></li>
<li><a href='http://blog.flo.cx/2011/11/video-lisbon-airport-fake-tilt-shift/' rel='bookmark' title='Video: Lisbon Airport Fake Tilt Shift&#8230;'>Video: Lisbon Airport Fake Tilt Shift&#8230;</a></li>
<li><a href='http://blog.flo.cx/2011/02/video-14h-time-lapse/' rel='bookmark' title='[video] 14h Time Lapse&#8230;'>[video] 14h Time Lapse&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">i did a little tilt shift miniature time lapse, just to see how it is done and estimate the complexity.</p>
<p style="text-align: left;">here it is (best seen in HD and full screen):</p>
<p style="text-align: center;">
<iframe src="http://player.vimeo.com/video/14280042?color=80A2CB" width="549" height="309" frameborder="0"></iframe>
<p><a href="http://vimeo.com/14280042">Time Lapse Miniature</a> from <a href="http://vimeo.com/flowolf">flowolf</a> on <a href="http://vimeo.com">Vimeo</a>. also on <a href="http://youtu.be/UZHIfJ33yyg?hd=1">youtube.com</a></p>
</p>
<p style="text-align: left;">music by bob wizman &#8211; &#8220;on your 45&#8243;, licensed under cc-by-sa</p>
<p>the howto can be found <a href="http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/">here</a>.</p>
<p>Related posts:<ol>
<li><a href='http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/' rel='bookmark' title='miniature time-lapse with fake tilt shift (howto)…'>miniature time-lapse with fake tilt shift (howto)…</a></li>
<li><a href='http://blog.flo.cx/2011/11/video-lisbon-airport-fake-tilt-shift/' rel='bookmark' title='Video: Lisbon Airport Fake Tilt Shift&#8230;'>Video: Lisbon Airport Fake Tilt Shift&#8230;</a></li>
<li><a href='http://blog.flo.cx/2011/02/video-14h-time-lapse/' rel='bookmark' title='[video] 14h Time Lapse&#8230;'>[video] 14h Time Lapse&#8230;</a></li>
</ol></p> <p><a href="http://blog.flo.cx/?flattrss_redirect&amp;id=1935&amp;md5=5c4cc8d2b0666b7e12d430a1f754e3e2" title="Flattr" target="_blank"><img src="http://blog.flo.cx/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.flo.cx/2010/08/video-tilt-shift-miniature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30067&amp;popout=1&amp;url=http%3A%2F%2Fblog.flo.cx%2F2010%2F08%2Fvideo-tilt-shift-miniature%2F&amp;language=de_DE&amp;category=text&amp;title=%5Bvideo%5D+Tilt+Shift+Miniature%26%238230%3B&amp;description=i+did+a+little+tilt+shift+miniature+time+lapse%2C+just+to+see+how+it+is+done+and+estimate+the+complexity.+here+it+is+%28best+seen+in+HD+and+full+screen%29%3A...&amp;tags=fake+tilt+shift%2Cminiature%2Ctilt+shift%2Ctime+lapse%2Cvideo%2Cblog" type="text/html" />
	</item>
		<item>
		<title>miniature time-lapse with fake tilt shift (howto)…</title>
		<link>http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/</link>
		<comments>http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 09:25:27 +0000</pubDate>
		<dc:creator>flo</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[fake tilt shift]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sox]]></category>
		<category><![CDATA[tilt shift]]></category>
		<category><![CDATA[time lapse]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.flo.cx/?p=1903</guid>
		<description><![CDATA[i recently came across some videos that took my breath. tilt shift time-lapse videos. they produce kind of a miniature look combined with a stop motion and time lapse feature that was just nice. of course i wanted to make one here is how: get a nice point of view. somewhere where you could be [...]
Related posts:<ol>
<li><a href='http://blog.flo.cx/2010/08/video-tilt-shift-miniature/' rel='bookmark' title='[video] Tilt Shift Miniature&#8230;'>[video] Tilt Shift Miniature&#8230;</a></li>
<li><a href='http://blog.flo.cx/2011/11/video-lisbon-airport-fake-tilt-shift/' rel='bookmark' title='Video: Lisbon Airport Fake Tilt Shift&#8230;'>Video: Lisbon Airport Fake Tilt Shift&#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>i recently came across some videos that <a href="http://vimeo.com/9679622">took</a> <a href="http://vimeo.com/2296556">my</a> <a href="http://vimeo.com/6243891">breath</a>. tilt shift time-lapse videos. they produce kind of a miniature look combined with a stop motion and time lapse feature that was just nice.</p>
<p>of course i wanted to make one <img src='http://blog.flo.cx/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>here is how:<span id="more-1903"></span><br />
get a nice point of view. somewhere where you could be if the whole scene would be a model scale 1:87 (H0 for model train lovers). use a tripod if possible or hold very still.<br />
<strong>shoot the scene.</strong> i did this with my <a href="http://en.wikipedia.org/wiki/Canon_EOS_7D">eos 7d</a> and the HD video function. alternatively you could use any other cam which is able to shoot 2 pictures per second. some canon cams support this if you use <a href="http://chdk.wikia.com/wiki/CHDK">CHDK</a>.<br />
having the material to work with load everything to the mac or linux box of your trust.</p>
<div id="attachment_1909" class="wp-caption alignright" style="width: 231px"><a href="http://blog.flo.cx/mycontent/2010/08/2_both.png"><img class="size-thumbnail wp-image-1909" title="original frame and fake tilt shift" src="http://blog.flo.cx/mycontent/2010/08/2_both-221x250.png" alt="" width="221" height="250" /></a><p class="wp-caption-text">original frame and fake tilt shift</p></div>
<p>to make the time lapse i used ffmpeg to <strong>extract 2 frames per second</strong> from the .MOV:<br />
<code><br />
$ ffmpeg -i ~/input.MOV -r 2 -f image2 out/scene_%06d.png</code><br />
this leaves you 2 frames per second in .png files in the <em>out</em> folder.</p>
<p><strong>faking it</strong>. next thing you need to do is getting the fake <a href="http://www.google.com/images?q=Tilt+Shift">tilt shift</a> effect in the images to make everything look like it was tiny. additionally i added a little contrast to make it even look better. if you do not extract the images from a HD movie file as i did you probably should resize them to a native HD size before the next step (1920&#215;1080). here is the little script:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
# for better performance save the temp img that is created each time somewhere.
# this saves processing power
# convert out/scene_000001.png -sparse-color Barycentric '0,0 black \
# 0,%[fx:h-1] gray80' -solarize 50% -level 50%,0 \
# /tmp/my_blur_effect.png
# then use this:
# convert $filein -sigmoidal-contrast 9x30% \
# /tmp/my_blur_effect.png \
# -compose Blur -set option:compose:args 25 -composite \
# $fileout
test -z $1 &amp;amp;&amp;amp; echo &amp;quot;usage: $0 &amp;quot; &amp;amp;&amp;amp; exit -1
filein=$1
fileout=$2
\
convert $filein -sigmoidal-contrast 9x30% \
\( +clone -sparse-color Barycentric '0,0 black 0,%[fx:h-1] gray80' \
-solarize 50% -level 50%,0 \) \
-compose Blur -set option:compose:args 25 -composite \
$fileout
</pre>
<p>this has to be run in a little for loop. look <a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-7.html">here</a> to see how this is done.<br />
be very patient with this. this can take a looooong time.</p>
<p>after running this you have all your frames converted to have a higher contrast and a fake tilt shift blur, as seen in the lower picture on the side. all that you need to do now is run ffmpeg again and <strong>combine those frames</strong> to a movie:<br />
<code>ffmpeg -i final/%06d.png -sameq ./mymovie.mp4</code><br />
-sameq tells ffmpeg to leave the quality of the images like it is. this guarantees a nice high quality, if your source material is ok.</p>
<p>if you like to add music to your clip you can tell ffmpeg to take an audio file as well:<br />
<code>ffmpeg -i final/%06d.png -sameq -i mysoundtrack.mp3 ./mymovie.mp4</code><br />
to cut and fade the soundtrack i used <em>sox</em>:<br />
<code>sox -t mp3 -r 192k original_soundtrack.mp3 mysoundtrack.mp3 fade p 0 40 5</code><br />
good luck!<br />
and here is the resulting video:</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="520" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/UZHIfJ33yyg?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="520" height="300" src="http://www.youtube.com/v/UZHIfJ33yyg?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Related posts:<ol>
<li><a href='http://blog.flo.cx/2010/08/video-tilt-shift-miniature/' rel='bookmark' title='[video] Tilt Shift Miniature&#8230;'>[video] Tilt Shift Miniature&#8230;</a></li>
<li><a href='http://blog.flo.cx/2011/11/video-lisbon-airport-fake-tilt-shift/' rel='bookmark' title='Video: Lisbon Airport Fake Tilt Shift&#8230;'>Video: Lisbon Airport Fake Tilt Shift&#8230;</a></li>
</ol></p> <p><a href="http://blog.flo.cx/?flattrss_redirect&amp;id=1903&amp;md5=a502074fd3f63f251ea90f0385f5ada5" title="Flattr" target="_blank"><img src="http://blog.flo.cx/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.flo.cx/2010/08/miniature-time-lapse-with-fake-tilt-shift-howto/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30067&amp;popout=1&amp;url=http%3A%2F%2Fblog.flo.cx%2F2010%2F08%2Fminiature-time-lapse-with-fake-tilt-shift-howto%2F&amp;language=de_DE&amp;category=text&amp;title=miniature+time-lapse+with+fake+tilt+shift+%28howto%29%E2%80%A6&amp;description=i+recently+came+across+some+videos+that+took+my+breath.+tilt+shift+time-lapse+videos.+they+produce+kind+of+a+miniature+look+combined+with+a+stop+motion+and+time+lapse+feature...&amp;tags=blur%2Ccommand+line%2Cfake+tilt+shift%2Cffmpeg%2Chowto%2Cimagemagick%2Clinux%2Cphotography%2Csox%2Ctilt+shift%2Ctime+lapse%2Cvideo%2Cyoutube%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

