<?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>Martin Ankerl &#187; summer</title> <atom:link href="http://martin.ankerl.com/category/summer/feed/" rel="self" type="application/rss+xml" /><link>http://martin.ankerl.com</link> <description>Chunky bacon!!</description> <lastBuildDate>Sat, 04 Feb 2012 10:18:10 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Create High Quality Flash Videos in Ubuntu</title><link>http://martin.ankerl.com/2008/10/04/create-high-quality-flash-videos-in-ubuntu/</link> <comments>http://martin.ankerl.com/2008/10/04/create-high-quality-flash-videos-in-ubuntu/#comments</comments> <pubDate>Sat, 04 Oct 2008 18:40:59 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[fun]]></category> <category><![CDATA[mountainbike]]></category> <category><![CDATA[sports]]></category> <category><![CDATA[summer]]></category> <category><![CDATA[videos]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=178</guid> <description><![CDATA[I recently got a nice new camera that can shoot HDTV videos, and the only way to show off the awesome quality to the world is by creating flash videos by myself. Here is an example: Get the Flash Player &#8230; <a href="http://martin.ankerl.com/2008/10/04/create-high-quality-flash-videos-in-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I recently got a nice new camera that can shoot HDTV videos, and the only way to show off the awesome quality to the world is by creating flash videos by myself. Here is an example:<br /><center></p><div id="c3"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div><p><script type="text/javascript" src="/files/yt/swfobject.js?9d7bd4"></script><br /><script type="text/javascript">/*<![CDATA[*/var s1=new SWFObject("/files/yt/player.swf","ply","848","500","9","#FFFFFF");s1.addParam("allowfullscreen","true");s1.addParam("allowscriptaccess","always");s1.addParam("flashvars","file=/wp-content/uploads/2008/08/p1000369.mp4&#038;image=/wp-content/uploads/2008/08/p1000369.jpg");s1.write("c3");/*]]>*/</script><br /></center></p><p>I use Ubuntu, so this tutorial won&#8217;t work on Windows. I have encoded the video into the <a href="http://en.wikipedia.org/wiki/H.264">H.264</a> format, left the original resolution at 848 x 480, and the <a href="http://en.wikipedia.org/wiki/Frame_rate">framerate</a> at 30 Hz. I use <em>constant quality</em> setting because then the video look very good even when the camera moves quickly, and it uses less bitrate when not needed. The disadvantage is that the required bitrate is uneven, so make sure youre buffer is large enough before you start playing.</p><p>Here is how to do this:</p><ol><li>Encode your video with <a href="http://www.mplayerhq.hu/design7/news.html">mencoder</a> (<b><a href="apt:mencoder">click to install</a></b>). It has to be x264 for video (0 or 1 bframes), and faac for audio.<li>Convert the result into an mp4 using mp4creator (<b><a href="apt:mpeg4ip-server">click to install</a></b>), as described <a href="http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-quicktime-7.html">here</a>.<li>Now you have an mp4 file that can be played with <a href="http://www.jeroenwijering.com/">JW player</a>. Download it, have a look at the readme.html, and follow the example described there.<li>The player requires 20 pixels in height, so add this to the SWFObject creation.</ol><p>I have written a small ruby script to convert any movie to a MP4 file. The first parameter is the input file, second parameter is the framerate. Save this file as e.g. <tt>convert2mp4.rb</tt>.<br /> <span id="more-178"></span></p><pre class="brush: ruby; title: ; notranslate">
#!/usr/bin/ruby

# constant quality setting
if ARGV.size != 3
	puts &quot;usage: #{__FILE__} &lt;inputvideo&gt; &lt;framerate&gt; &lt;quality, 1.0-50.0&gt;&quot;
	exit
end

# set output filenames
input = ARGV[0]
rate = ARGV[1]
quality = ARGV[2]
noext = input.gsub(/\.\w*$/, &quot;&quot;)

converted = '&quot;' + noext + '_tmp.avi&quot;'
aac = '&quot;' + noext + '.aac&quot;'
h264 = '&quot;' + noext + '.h264&quot;'
mp4 = '&quot;' + noext + '.mp4&quot;'

# encode
cmd = &quot;mencoder \&quot;#{input}\&quot; -o #{converted}&quot;
cmd += &quot; -ovc x264 -x264encopts threads=auto:crf=#{quality}:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=1:b_pyramid:weight_b&quot;
cmd += &quot; -oac faac -faacopts br=192 -channels 2 -srate 48000&quot;
puts cmd
system(cmd)

# convert to mp4
system(&quot;rm -f #{mp4}&quot;)
system(&quot;mplayer #{converted} -dumpaudio -dumpfile #{aac}&quot;)
system(&quot;mplayer #{converted} -dumpvideo -dumpfile #{h264}&quot;)
system(&quot;mp4creator -create=#{aac} #{mp4}&quot;)
system(&quot;mp4creator -create=#{h264} -rate #{rate} #{mp4}&quot;)
system(&quot;mp4creator -hint=1 #{mp4}&quot;)
system(&quot;mp4creator -hint=2 #{mp4}&quot;)
system(&quot;mp4creator -optimize #{mp4}&quot;)
system(&quot;rm -f #{aac} #{h264} #{converted}&quot;)
</pre><p>Have fun!</p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/10/04/create-high-quality-flash-videos-in-ubuntu/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Via Ferrata Teufelsteig</title><link>http://martin.ankerl.com/2008/09/29/via-ferretta-teufelsteig/</link> <comments>http://martin.ankerl.com/2008/09/29/via-ferretta-teufelsteig/#comments</comments> <pubDate>Mon, 29 Sep 2008 11:10:00 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[fun]]></category> <category><![CDATA[sports]]></category> <category><![CDATA[summer]]></category> <category><![CDATA[videos]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=174</guid> <description><![CDATA[This sunday I was on a fabulous via ferrata (german translation is &#8220;Klettersteig&#8221;). Here is a video of it: The via feretta is called Teufelsteig which translates to devli&#8217;s steep road. Walking through difficult terrain, close to the peak A &#8230; <a href="http://martin.ankerl.com/2008/09/29/via-ferretta-teufelsteig/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>This sunday I was on a fabulous via ferrata (german translation is &#8220;Klettersteig&#8221;). Here is a video of it:</p><p><center><br /> <object style="margin-left:0px; margin-bottom:20px;" width="685" height="460"><param name="movie" value="http://www.youtube.com/v/qqjc_jrwkYg&#038;hl=en&#038;fs=1&#038;ap=%2526fmt%3D18"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/qqjc_jrwkYg&#038;hl=en&#038;fs=1&#038;ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="685" height="460"></embed></object><br /></center></p><p>The via feretta is called <a href="http://www.bergsteigen.at/de/touren.aspx?ID=408">Teufelsteig</a> which translates to devli&#8217;s steep road.</p><p>Walking through difficult terrain, close to the peak<center><img src="http://martin.ankerl.com/wp-content/uploads/2008/09/t1.jpg?9d7bd4" /></center></p><p>A view around to nearby peaks and chines<center><img src="http://martin.ankerl.com/wp-content/uploads/2008/09/t2.jpg?9d7bd4" /></center></p><p>Finally, after about 4 hours hiking and climbing, we have reached the peak of 1822m and enjoy the view <img src="http://martin.ankerl.com/wp-includes/images/smilies/icon_smile.gif?9d7bd4" alt=':)' class='wp-smiley' /><center><img src="http://martin.ankerl.com/wp-content/uploads/2008/09/t3.jpg?9d7bd4" /></center></p><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2008/09/29/via-ferretta-teufelsteig/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Jeans Team &#8212; Das Zelt</title><link>http://martin.ankerl.com/2006/08/30/jeans-team-das-zelt/</link> <comments>http://martin.ankerl.com/2006/08/30/jeans-team-das-zelt/#comments</comments> <pubDate>Wed, 30 Aug 2006 11:39:23 +0000</pubDate> <dc:creator>martinus</dc:creator> <category><![CDATA[music]]></category> <category><![CDATA[news]]></category> <category><![CDATA[summer]]></category><guid isPermaLink="false">http://martin.ankerl.com/?p=74</guid> <description><![CDATA[The Jeans Team has produced an absolutely excellent song, the summer hit for 2006 (german language). The MP3 is not available for download any more, but at least you can watch it on YouTube: Lyrics It took me about 3 &#8230; <a href="http://martin.ankerl.com/2006/08/30/jeans-team-das-zelt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>The <a href="http://www.jeansteam.de/">Jeans Team</a> has produced an absolutely excellent song, the summer hit for 2006 (german language). The MP3 is not available for download any more, but at least you can watch it on YouTube:</p><p><center><br /> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/hg1cmCwwaV0&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/hg1cmCwwaV0&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object><br /></center></p><h1>Lyrics</h1><p>It took me about 3 minutes to translate the lyrics, so here they are:</p><p><span id="more-74"></span></p><pre>Mach dich auf             Start off
in die Welt               into the world
in ein anderes Land       into a different country
wo es dir gefällt         where you like it
bis zum Rand              until the edge
und übers Meer            and over the sea
dich hält                 nothing holds you
hier nichts mehr          here any more

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money

Aus dem Haufen            From the clamp
dieser Stadt              of this town
mußt du raus              you have to get out
und du wirst sehen        and you will see
du wirst dich verändern   you will change
in all diesen Ländern     in all of these countries

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money
mein Zuhause              my home
ist die Welt              is the world
mein Zuhause              my home
ist die Welt              is the world

Das Himmelszelt           the cope of heaven
ist dein Dach             is your roof
mit all den Lichtern      with all the lights
die dich leiten           that guide you
von den Sternen           from the stars
die dich begleiten        that accompany you
kannst du lernen          you can learn
klar zu sehen             to see clearly

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money
mein Zuhause              my home
ist die Welt              is the world
mein Zuhause              my home
ist die Welt              is the world

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money
mein Zuhause              my home
ist die Welt              is the world
mein Zuhause              my home
ist die Welt              is the world

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money
mein Zuhause              my home
ist die Welt              is the world
mein Zuhause              my home
ist die Welt              is the world

kein Gott                 no god
kein Staat                no state
keine Arbeit              no work
kein Geld                 no money
mein Zuhause              my home
ist die Welt              is the world
mein Zuhause              my home
ist die Welt              is the world</pre><div style='clear:both'></div>]]></content:encoded> <wfw:commentRss>http://martin.ankerl.com/2006/08/30/jeans-team-das-zelt/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/38 queries in 0.072 seconds using disk: basic
Object Caching 603/673 objects using disk: basic

Served from: martin.ankerl.com @ 2012-02-04 11:42:57 -->
