<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://tilloy.net/olivier/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Olivier's adventures in Wonderland - Geekeries</title>
  <link>http://tilloy.net/olivier/blog/</link>
  <atom:link href="http://tilloy.net/olivier/blog/feed/category/Geekeries/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Sun, 29 Aug 2010 09:40:41 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Where is my bike?</title>
    <link>http://tilloy.net/olivier/blog/post/2010/08/11/Where-is-my-bike</link>
    <guid isPermaLink="false">urn:md5:7b56ff42d8cf5e0c57c1026344b8a678</guid>
    <pubDate>Wed, 11 Aug 2010 19:58:00 +0200</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;Almost &lt;a href=&quot;http://tilloy.net/olivier/blog/post/2008/10/19/75-bicing-barcelona&quot;&gt;two years ago&lt;/a&gt; I wrote &lt;a href=&quot;https://launchpad.net/python-bicing&quot;&gt;a little Python script&lt;/a&gt; that retrieves availability information for the bicing network in Barcelona. My grand plans to use that script to optimize my morning routine didn’t quite see the light, but the script itself seems to have proved useful to others.&lt;/p&gt;
&lt;p&gt;Earlier this year, &lt;a href=&quot;http://penecoptero.homelinux.net/myself/&quot;&gt;Eskerda&lt;/a&gt; contacted me to let me know that he was interested in writing an application for android to assist bicing users in cycling the city efficiently. As bicing.cat’s servers are dead slow, hitting them directly from each running instance of the application was not an option, so he came up with the idea of a static resource hosted on Google App Engine and updated regularly, using my script.&lt;/p&gt;
&lt;p&gt;The result is &lt;a href=&quot;http://www.androidzoom.com/android_applications/lifestyle/openbicing_hajk.html&quot;&gt;OpenBicing&lt;/a&gt;, a cool application for android. I don’t own an android phone myself, so I couldn’t test it, but it looks really fancy, I particularly like the radius mode. Bonus point, it’s Free Software (Apache license).&lt;/p&gt;
&lt;p&gt;And as if it wasn’t good enough, Eskerda set to work to support more bike sharing networks with the same model. &lt;a href=&quot;http://www.androidzoom.com/android_applications/lifestyle/opensevici_ikfz.html&quot;&gt;OpenSevici&lt;/a&gt; and &lt;a href=&quot;http://www.androidzoom.com/android_applications/lifestyle/openvelib_ikcl.html&quot;&gt;OpenVélib&lt;/a&gt; are two standalone applications that respectively cover the networks of Sevilla and Paris.&lt;/p&gt;
&lt;p&gt;In an effort to gather them all in a single application in an extensible way, &lt;a href=&quot;http://www.androidzoom.com/android_applications/lifestyle/citybikes_iolo.html&quot;&gt;CityBikes&lt;/a&gt; was born. Android users and cyclers, go check it out, and don’t forget to send your feedback to the author!&lt;/p&gt;
&lt;p&gt;Note to self: consider buying a new phone…&lt;/p&gt;</description>
    
    
    
          <comments>http://tilloy.net/olivier/blog/post/2010/08/11/Where-is-my-bike#comment-form</comments>
      <wfw:comment>http://tilloy.net/olivier/blog/post/2010/08/11/Where-is-my-bike#comment-form</wfw:comment>
      <wfw:commentRss>http://tilloy.net/olivier/blog/feed/atom/comments/86</wfw:commentRss>
      </item>
    
  <item>
    <title>pyexiv2 0.2.2 released</title>
    <link>http://tilloy.net/olivier/blog/post/2010/05/27/pyexiv2-0.2.2-released</link>
    <guid isPermaLink="false">urn:md5:f5c24fd0edcbbe4260da3a623b678d53</guid>
    <pubDate>Thu, 27 May 2010 12:29:00 +0200</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
I'm happy to announce that
&lt;a href=&quot;https://launchpad.net/pyexiv2/0.2.x/0.2.2&quot; title=&quot;pyexiv2 0.2.2 in Launchpad&quot;&gt;pyexiv2 0.2.2&lt;/a&gt;,
codename &quot;Holiday&quot;, was released today.
&lt;/p&gt;
&lt;p&gt;
This is a maintenance release that fixes two memory leaks, optimizes the use
of the underlying libexiv2 (expect performance improvements), improves the
&lt;acronym title=&quot;Application Programming Interface&quot;&gt;API&lt;/acronym&gt;
documentation, restores access to the image comments (was a regression from
the 0.1 series) and adds an optional parameter to preserve timestamps when
writing metadata.
&lt;/p&gt;
&lt;p&gt;
The source tarball and a Windows installer (compiled and tested against
Python 2.6.5) are already available, and packages for Ubuntu 10.04 will
follow shortly in
&lt;a href=&quot;https://launchpad.net/%7Epyexiv2-developers/+archive/ppa&quot; title=&quot;PPA for pyexiv2 developers&quot;&gt;pyexiv2 developers' PPA&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
As usual, feedback, suggestions and bug reports
&lt;a href=&quot;https://launchpad.net/pyexiv2&quot; title=&quot;pyexiv2 in Launchpad&quot;&gt;are welcome&lt;/a&gt;!
&lt;/p&gt;</description>
    
    
    
          <comments>http://tilloy.net/olivier/blog/post/2010/05/27/pyexiv2-0.2.2-released#comment-form</comments>
      <wfw:comment>http://tilloy.net/olivier/blog/post/2010/05/27/pyexiv2-0.2.2-released#comment-form</wfw:comment>
      <wfw:commentRss>http://tilloy.net/olivier/blog/feed/atom/comments/84</wfw:commentRss>
      </item>
    
  <item>
    <title>pyexiv2 - the best choice for photo metadata manipulation in python</title>
    <link>http://tilloy.net/olivier/blog/post/2010/04/07/pyexiv2-the-best-choice-for-photo-metadata-manipulation-in-python</link>
    <guid isPermaLink="false">urn:md5:c691cc07cdbd32e2773ad3d43e616a4b</guid>
    <pubDate>Wed, 07 Apr 2010 11:38:00 +0200</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
&lt;a href=&quot;http://www.picurl.org/blog/author/franz/&quot; title=&quot;Franz Buchinger&quot;&gt;Franz&lt;/a&gt; is presenting &lt;a href=&quot;http://tilloy.net/dev/pyexiv2/&quot; title=&quot;pyexiv2, a python binding to exiv2&quot;&gt;pyexiv2&lt;/a&gt; in glowing terms on his blog in an article titled «&amp;nbsp;&lt;a href=&quot;http://www.picurl.org/blog/2010/04/05/pyexiv2-the-best-choice-for-photo-metadata-manipulation-in-python/&quot; title=&quot;pyexiv2 - the best choice for photo metadata manipulation in python&quot;&gt;pyexiv2 - the best choice for photo metadata manipulation in python&lt;/a&gt;&amp;nbsp;».
&lt;/p&gt;
&lt;p&gt;
His opinion, as a real user and photographer, counts a lot.
And the article is a very good (much better than what I could have come up
with) introduction to what pyexiv2 is and can be used for.
&lt;/p&gt;
&lt;p&gt;
This will no doubt bring in interest and new users and contributors aboard,
and will ultimately benefit to everyone.
Thanks Franz!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>pyexiv2 0.2 is out</title>
    <link>http://tilloy.net/olivier/blog/post/2010/03/25/pyexiv2-0.2-is-out</link>
    <guid isPermaLink="false">urn:md5:2ca8a875aad5fbd005e281aa70d9e961</guid>
    <pubDate>Thu, 25 Mar 2010 18:31:00 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
After almost two years of pretty irregular development, I am happy to announce
that &lt;a href=&quot;https://launchpad.net/pyexiv2/0.2.x/0.2&quot; title=&quot;pyexiv2 0.2&quot;&gt;pyexiv2 0.2.0&lt;/a&gt;,
codename &quot;Commuting&quot;, was released today.
&lt;/p&gt;
&lt;p&gt;
It is essentially a re-write of the 0.1 branch, with a new, more flexible
&lt;acronym title=&quot;Application Programming Interface&quot;&gt;API&lt;/acronym&gt; (and is
therefore not backward compatible with the previous releases).
&lt;/p&gt;
&lt;p&gt;
It is compiled against libexiv2 0.19, and among others things, it features:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for reading and writing &lt;acronym title=&quot;eXtensible Metadata Platform&quot;&gt;XMP&lt;/acronym&gt; metadata;&lt;/li&gt;
&lt;li&gt;Support for reading images from stream;&lt;/li&gt;
&lt;li&gt;A fully documented &lt;a href=&quot;http://tilloy.net/dev/pyexiv2/doc/release-0.2.0/api.html&quot; title=&quot;pyexiv2 0.2.0 API documentation&quot;&gt;API&lt;/a&gt; (including &lt;a href=&quot;http://tilloy.net/dev/pyexiv2/doc/release-0.2.0/tutorial.html&quot; title=&quot;pyexiv2 0.2.0 tutorial&quot;&gt;a tutorial&lt;/a&gt; and detailed &lt;a href=&quot;http://tilloy.net/dev/pyexiv2/doc/release-0.2.0/developers.html&quot; title=&quot;pyexiv2 0.2.0 for developers&quot;&gt;instructions for developers&lt;/a&gt;);&lt;/li&gt;
&lt;li&gt;Compiled and tested on Linux and Windows (bonus: a &lt;a href=&quot;http://launchpad.net/pyexiv2/0.2.x/0.2/+download/pyexiv2-0.2-setup.exe&quot; title=&quot;pyexiv2 0.2.0 win32 installer&quot;&gt;Windows installer&lt;/a&gt; is available!);&lt;/li&gt;
&lt;li&gt;A battery of unit tests that reasonably cover the code base.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Many thanks to everyone who contributed time, bug reports, patches and suggestions!
&lt;/p&gt;
&lt;p&gt;
As usual, feedback is &lt;a href=&quot;https://launchpad.net/pyexiv2&quot; title=&quot;pyexiv2 on Launchpad&quot;&gt;welcome&lt;/a&gt;!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>pyexiv2 0.2 pre-release testing</title>
    <link>http://tilloy.net/olivier/blog/post/2010/01/25/pyexiv2-0.2-pre-release-testing</link>
    <guid isPermaLink="false">urn:md5:177254810d27fda09d8ea72dea34de4f</guid>
    <pubDate>Mon, 25 Jan 2010 23:20:00 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
As I mentioned on the &lt;a href=&quot;https://lists.launchpad.net/pyexiv2-developers/msg00003.html&quot; title=&quot;ML archives&quot;&gt;pyexiv2-developers' mailing list&lt;/a&gt;, I believe the 0.2 branch of &lt;a href=&quot;https://launchpad.net/pyexiv2&quot; title=&quot;pyexiv2, a python binding to exiv2&quot;&gt;pyexiv2&lt;/a&gt; is now ready for pre-release testing.
&lt;/p&gt;
&lt;p&gt;
Progress on this pet project of mine has been very slow due to the lack of spare time I had to dedicate to it, and constant context-switching.
But it finally reached a state where I think it is complete and stable enough to form the basis of a first release.
&lt;/p&gt;
&lt;p&gt;
There are still some missing bits (complete documentation and a windows installer are the two big items on my list), but the functionality is there and I'd love to see it stress-tested and get as much feedback as possible.
The bazaar branch can be grabbed from &lt;a href=&quot;https://code.launchpad.net/%7Eosomon/pyexiv2/pyexiv2-0.2&quot; title=&quot;pyexiv2-0.2&quot;&gt;lp:pyexiv2&lt;/a&gt;, it should be compiled against the latest release of &lt;a href=&quot;http://exiv2.org/&quot; title=&quot;Exiv2's website&quot;&gt;libexiv2&lt;/a&gt;, 0.19.
&lt;a href=&quot;https://bugs.launchpad.net/pyexiv2&quot; title=&quot;Bugs in pyexiv2&quot;&gt;Bug reports&lt;/a&gt; and questions are welcome!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Going to FOSDEM</title>
    <link>http://tilloy.net/olivier/blog/post/2010/01/13/Going-to-FOSDEM</link>
    <guid isPermaLink="false">urn:md5:74e1509f0f45740d5a05bbdcdd59baff</guid>
    <pubDate>Thu, 14 Jan 2010 00:09:00 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
I will be in Brussels from the 5th to the 7th of February for the tenth
edition of &lt;a href=&quot;http://fosdem.org/2010/&quot; title=&quot;Free and Open Source Software Developers' European Meeting&quot;&gt;FOSDEM&lt;/a&gt;.
&lt;a href=&quot;http://blog.boucault.net/&quot; title=&quot;Omphaloskeptical belated musings&quot;&gt;Kaleo&lt;/a&gt;,
&lt;a href=&quot;http://guij.emont.org/blog/&quot; title=&quot;Le coin à Guij&quot;&gt;Guijemont&lt;/a&gt;,
&lt;a href=&quot;http://nerochiaro.net/&quot; title=&quot;nerochiaro&quot;&gt;Ugo&lt;/a&gt; and Fernando are
also going, it should be a fun week-end.
&lt;/p&gt;
&lt;p&gt;
I'm looking forward to attending interesting talks and above all meeting the
Free Software crowd &lt;acronym title=&quot;In Real Life&quot;&gt;IRL&lt;/acronym&gt;.
&lt;/p&gt;
&lt;p&gt;
Oh, and of course, I can't wait for the
&lt;a href=&quot;http://www.fosdem.org/2010/beerevent&quot; title=&quot;FOSDEM Beer Event&quot;&gt;Friday Beer Event&lt;/a&gt;!
If you plan to be there, drop me a line to schedule a round or two of Belgian
beer.
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Bicing Barcelona</title>
    <link>http://tilloy.net/olivier/blog/post/2008/10/19/75-bicing-barcelona</link>
    <guid isPermaLink="false">urn:md5:864765c70dab00b699e287a79edaf531</guid>
    <pubDate>Sun, 19 Oct 2008 17:06:30 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
    One of the things that make life easy in Barcelona is its efficient public transportation system.
    Living in the suburb, every morning I take the train to go to work.
    When I arrive at Plaza Catalunya, I am almost there but there is still a good 20 minutes walk to go to the &lt;a href=&quot;http://maps.google.com/maps?f=q&amp;hl=es&amp;geocode=&amp;q=Fluendo,+World+Trade+Center,+Moll+Barcelona+S%2FN,+08039+Barcelona,+Spain&amp;ie=UTF8&amp;ll=41.373202,2.184563&amp;spn=0.045602,0.077162&amp;z=14&quot; title=&quot;WTC on google maps&quot;&gt;World Trade Center&lt;/a&gt;.
    That would be without &lt;a href=&quot;http://en.wikipedia.org/wiki/Bicing&quot; title=&quot;Bicing on wikipedia&quot;&gt;Bicing&lt;/a&gt;, the community bicycle program that allows me to get a bike with my &lt;acronym title=&quot;Radio Frequency IDentification&quot;&gt;RFID&lt;/acronym&gt; card, cycle down the Ramblas and drop it at one of the stations next to the entrance of the &lt;acronym title=&quot;World Trade Center&quot;&gt;WTC&lt;/acronym&gt;.
    Well, in theory...
&lt;/p&gt;

&lt;p&gt;
    Like many good ideas, Bicing is a victim of its own success.
    In the morning, a hell of a lot of people use Bicing to commute to work, and as there is quite a lot of people who work in the WTC, the two stations, with merely 60 spaces, are very early full of bikes.
    The solution comes in the form of vans that patrol the city, collect bikes from the full stations and repopulate the empty ones, to equilibrate the flow.
    Unfortunately the action of these vans is not fast enough in rush hours, and in the morning it is not uncommon to have to wait for quite some time before the van, awaited as the messiah by a dozen of commuters, shows up.
&lt;/p&gt;

&lt;p&gt;
    So I came up with the idea of collecting data about the stations I am interested in as a user.
    This data would, hopefully, help me predict in a reliable manner when and where I am sure to find some space to park a bike, so as to adapt and optimize my morning routine (that is, which train I should take).
    Bicing provides on their website &lt;a href=&quot;http://bicing.com/localizaciones/localizaciones.php&quot; title=&quot;Bicing map&quot;&gt;a map of the city&lt;/a&gt; with the stations and the availability of the bikes in real-time.
    They are using Google Maps' &lt;acronym title=&quot;Application Programming Interface&quot;&gt;API&lt;/acronym&gt; to build this map, and although the result is quite fancy, everybody seems to agree it is not really usable because too small (and really slow).
    There are &lt;a href=&quot;http://www.statistings.com/&quot; title=&quot;statistings.com&quot;&gt;some&lt;/a&gt; &lt;a href=&quot;http://www.bicing.info/&quot; title=&quot;bicing.info&quot;&gt;alternatives&lt;/a&gt; provided by users, more usable but still not quite what I am looking for.
    Until Bicing decides to provide an open API, let's scrape some data!
&lt;/p&gt;

&lt;p&gt;
    To the point directly, the two questions to answer are:
    &lt;ol&gt;
        &lt;li&gt;Where to get the data from?&lt;/li&gt;
        &lt;li&gt;How to get it?&lt;/li&gt;
    &lt;/ol&gt;
    Once this is answered, it is just a matter of writing a quick script that will do the job.
    Now, here are the answers:
    &lt;ol&gt;
        &lt;li&gt;&lt;a href=&quot;http://bicing.com/localizaciones/localizaciones.php&quot;&gt;http://bicing.com/localizaciones/localizaciones.php&lt;/a&gt;
        &lt;li&gt;A regular expression: &lt;code&gt;exml.parseString\('(.*)'\);&lt;/code&gt;, and an &lt;acronym title=&quot;eXtensible Markup Language&quot;&gt;XML&lt;/acronym&gt; parser&lt;/li&gt;
    &lt;/ol&gt;
    In fact when one browses the map and clicks one station to get the information about the availability of the bikes, the data is not updated real-time.
    One has to reload the page for fresh data.
    And all the data is stored as XML in a piece of Javascript, in a call to this &lt;code&gt;exml.parseString&lt;/code&gt; method.
&lt;/p&gt;

&lt;p&gt;
    I wrote a quick Python script that retrieves the data, parses the XML and populates a list of stations with the available information (name, &lt;acronym title=&quot;Global Positioning System&quot;&gt;GPS&lt;/acronym&gt; coordinates, bikes available and free spaces).
    It is licensed under the &lt;a href=&quot;http://www.gnu.org/licenses/gpl-3.0.html&quot; title=&quot;The GNU General Public License&quot;&gt;GPLv3&lt;/a&gt;, well documented and available as a bzr branch on Launchpad at: &lt;code&gt;lp:~osomon/+junk/bicing&lt;/code&gt; (you can also browse and download the code at &lt;a href=&quot;http://bazaar.launchpad.net/~osomon/+junk/bicing/files&quot;&gt;http://bazaar.launchpad.net/~osomon/+junk/bicing/files&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
    Now I need to find how to make the most of this data.
    I was thinking of regularly polling for a given set of stations over a given period of time, storing the data and then drawing a graph, to better understand the data.
    I will probably publish my findings in a next article, stay tuned!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Playing with GStreamer</title>
    <link>http://tilloy.net/olivier/blog/post/2008/01/03/68-playing-with-gstreamer</link>
    <guid isPermaLink="false">urn:md5:a5bf8bebd5d90bd905aadcc31dc227ae</guid>
    <pubDate>Thu, 03 Jan 2008 22:45:33 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
    I recently got to appreciate the possibilities offered by &lt;a href=&quot;http://gstreamer.freedesktop.org/&quot; title=&quot;GStreamer: open source multimedia framework&quot;&gt;GStreamer&lt;/a&gt; when I started playing with &lt;a href=&quot;http://www.casio.co.uk/Products/Digital%20Cameras/Exilim%20Card/EX-S880BKDDA/%20Technical%20Specifications/&quot; title=&quot;EXILIM Card EX-S880 Charcoal&quot;&gt;my new toy&lt;/a&gt; and the videos it records.
&lt;/p&gt;
&lt;p&gt;
    Nothing to say about the videos themselves, except that the quality is really good, with a maximum resolution of 640x480, sound (mono), and a maximum length of 10 minutes, more than enough for short video clips.
    Not that I shoot lots of video clips, but I do from time to time and for the sake of archiving them I needed to fix the rotated videos (a really bad habbit of mine to shoot with my camera rotated 90° clockwise), and of course store them in an open format that I'm sure can be decoded even in 50 years.
&lt;/p&gt;
&lt;p&gt;
    For this purpose, GStreamer seemed like the perfect tool.
    By default the videos, once transferred to my laptop, open with &lt;a href=&quot;http://www.gnome.org/projects/totem/&quot; title=&quot;Totem&quot;&gt;Totem&lt;/a&gt; (with GStreamer as a backend).
    There was the first glitch: no sound for my videos in Totem, and as a side effect, the video would sometimes not play (but sliding a little bit would trigger it correctly).
    However, both &lt;a href=&quot;http://www.videolan.org/&quot; title=&quot;VideoLAN - VLC media player&quot;&gt;VLC&lt;/a&gt; and &lt;a href=&quot;http://tilloy.net/olivier/blog/post/2008/01/03/www.mplayerhq.hu/&quot; title=&quot;MPlayer - The Movie Player&quot;&gt;MPlayer&lt;/a&gt; could successfully decode both the video and the sound.
    A quick look at the console output of MPlayer showed that indeed the sound is not decoded by &lt;a href=&quot;http://ffmpeg.mplayerhq.hu/&quot; title=&quot;FFmpeg&quot;&gt;FFmpeg&lt;/a&gt;, which kind of explains why GStreamer cannot decode it:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
VIDEO:  [avc1]  640x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [imaadpcm] IMA ADPCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 177.1 kbit/25.10% (ratio: 22136-&gt;88200)
Selected audio codec: [imaadpcm] afm: imaadpcm (IMA ADPCM)
==========================================================================&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    Whatever the &lt;code&gt;imaadpcm&lt;/code&gt; audio codec is, I could not find any GStreamer plugin (good, ugly or bad) to decode it.
    So the solution I came up with was to use MPlayer to extract the audio track to PCM uncompressed sound and then use the GStreamer magic to encode it in the suitable format (namely &lt;a href=&quot;http://en.wikipedia.org/wiki/Vorbis&quot; title=&quot;Vorbis on Wikipedia&quot;&gt;Vorbis&lt;/a&gt;) and remux it with my video into an &lt;a href=&quot;http://en.wikipedia.org/wiki/Ogg&quot; title=&quot;Ogg on Wikipedia&quot;&gt;Ogg&lt;/a&gt; container, previously encoded to a suitable format itself (namely &lt;a href=&quot;http://en.wikipedia.org/wiki/Theora&quot; title=&quot;Theora on Wikipedia&quot;&gt;Theora&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
    Here is how to extract the audio track using MPlayer (will be dumped to a file named &lt;code&gt;audiodump.wav&lt;/code&gt;):
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mplayer -vc null -vo null -ao pcm -benchmark video.mov&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    Here is how to play the extracted sound using gst-launch:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;gst-launch filesrc location=audiodump.wav ! wavparse ! osssink&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    I won't go into details on how to use gst-launch to build and test GStreamer pipelines, the man page is a good pointer to start, and there exist a bunch of good tutorials.
    Here is a slightly more complicated pipeline that encodes the extracted audio track to Ogg Vorbis:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;gst-launch filesrc location=audiodump.wav ! wavparse ! audioconvert ! vorbisenc ! oggmux ! filesink location=audio.oga&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    Next step is to extract and decode the video:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;gst-launch filesrc location=video.mov ! qtdemux ! ffdec_h264 ! xvimagesink&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    We can now play both the video and audio parts in sync:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;gst-launch filesrc location=audiodump.wav ! wavparse ! osssink filesrc location=video.mov ! qtdemux ! ffdec_h264 ! xvimagesink&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    Almost there, now let's encode everything and stuff it into an ogg container:
&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;gst-launch filesrc location=audiodump.wav ! wavparse ! audioconvert ! vorbisenc ! oggmux name=muxer muxer. ! filesink location=video.ogv filesrc location=video.mov ! qtdemux ! ffdec_h264 ! theoraenc ! muxer.&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
    Now rotating the video is just a matter of adding a &lt;code&gt;videoflip&lt;/code&gt; element to the pipeline (can you guess where?), and the quality of the resulting video can be adjusted with the properties of the &lt;code&gt;vorbisenc&lt;/code&gt; and &lt;code&gt;theoraenc&lt;/code&gt; elements.
&lt;/p&gt;
&lt;p&gt;
    With the help of a simple shell script gathering these elements and placed in my &lt;code&gt;$HOME/.gnome2/nautilus-scripts/&lt;/code&gt;, I can rotate and re-encode my videos with a simple click in &lt;a href=&quot;http://www.gnome.org/projects/nautilus/&quot; title=&quot;Nautilus File Manager&quot;&gt;Nautilus&lt;/a&gt;.
    Easy!
&lt;/p&gt;
&lt;p&gt;
    Now the next step would be to add relevant metadata to the videos, such as the author, the place where it was shot and the date and time.
    Unfortunately, according to &lt;a href=&quot;http://en.wikipedia.org/wiki/Ogg#Metadata&quot; title=&quot;Ogg Metadata on Wikipedia&quot;&gt;Wikipedia&lt;/a&gt;, &lt;cite&gt;&quot;Currently, there is no official standard for including metadata in Ogg containers [...] Metadata must currently be included in the codec. There is fairly good software support for Vorbis metadata — often referred to as comments. But software support for Theora and FLAC comments in Ogg containers is very limited.&quot;&lt;/cite&gt;
    Yes, it sucks...
    The solution is to go with the Vorbis comments, but it does not seem feasible to set tags using only gst-launch (or did I miss something?): one needs to develop a &lt;a href=&quot;http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html&quot; title=&quot;GStreamer Application Development Manual&quot;&gt;GStreamer application&lt;/a&gt;, using for example one of the numerous &lt;a href=&quot;http://gstreamer.freedesktop.org/bindings/&quot; title=&quot;GStreamer: Bindings&quot;&gt;bindings&lt;/a&gt;.
    Needless to say, I'm going for the &lt;a href=&quot;http://gstreamer.freedesktop.org/modules/gst-python.html&quot; title=&quot;GStreamer Python Bindings&quot;&gt;Python&lt;/a&gt; one!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>FOSDEM 2007</title>
    <link>http://tilloy.net/olivier/blog/post/2007/02/26/63-fosdem-2007</link>
    <guid isPermaLink="false">urn:md5:68f87918a9df9b664860f0a47abd7d69</guid>
    <pubDate>Mon, 26 Feb 2007 21:40:00 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
	I haven't been blogging for some time now (almost 5 months, wow) but I cannot resist making a report of what has been a fantastic week-end.
	I was in Brussels, Belgium, for three days, mostly attending the &lt;a href=&quot;http://fosdem.org/2007/&quot; title=&quot;FOSDEM 2007&quot;&gt;&lt;acronym title=&quot;Free and Open source Software Developers' European Meeting&quot;&gt;FOSDEM&lt;/acronym&gt;&lt;/a&gt; conferences and enjoying the rich and subtile flavours of belgian beers.
&lt;/p&gt;
&lt;p&gt;
	This was my first time in a free software summit, and I must say I am not disappointed!
	There was a huge number of beards per square meter and one could feel geekiness in the air.
	All these developers, ranging from the free software guru to the anonymous hacker (and I am one of them), these thrilling conferences, the no less thrilling conversations with other hackers, great ideas emerging from technical discussions, all of this was just great.
&lt;/p&gt;
&lt;p&gt;
	The week-end really started on Friday night, when I arrived at the youth hostel in the city centre where I met &lt;a href=&quot;https://guij.emont.org/blog/2007/02/26/woohoo-fosdem/&quot; title=&quot;Guijemont's account of FOSDEM 2007&quot;&gt;Guijemont&lt;/a&gt;.
	From there we headed towards the Roy d'Espagne, a famous pub on the Grand' Place, where the pre-FOSDEM Friday beer event is held before every edition, in a huge room full of hackers from all over Europe (and even further).
	Waitresses carrying big trays full of belgian beers were trying to keep up with our drinking pace, it must have been a trying night for them!
&lt;/p&gt;
&lt;p&gt;
	The serious stuff started on Saturday morning, in Université Libre de Bruxelles, with the first conference, &lt;span class=&quot;italique&quot;&gt;Software patents in Europe&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/pieter+hintjens&quot; title=&quot;Pieter Hintjens&quot;&gt;Pieter Hintjens&lt;/a&gt;.
	Then &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/jim+gettys&quot; title=&quot;Jim Gettys&quot;&gt;Jim Gettys&lt;/a&gt; gave an impressive presentation of the &lt;a href=&quot;http://www.laptop.org/&quot; title=&quot;One Laptop Per Child project&quot;&gt;&lt;acronym title=&quot;One Laptop Per Child&quot;&gt;OLPC&lt;/acronym&gt;&lt;/a&gt; project, which is amazing.
	Knowing that making free software allows us, in a way, to make the world better is a great feeling.
&lt;/p&gt;
&lt;p&gt;
	After a lunch break, a round of all the stands (Mozilla, Debian, Gentoo, FSFE, Ubuntu, Google, FreeBSD, and many others) and bringing my modest donation to FOSDEM (I got a nice t-shirt!), back to the lecture and developers rooms with lots of interesting stuff: X.Org by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/keith+packard&quot; title=&quot;Keith Packard&quot;&gt;Keith Packard&lt;/a&gt; (or how to explain the correlation between hacking on X and heavy drinking), &lt;span class=&quot;italique&quot;&gt;What's new in GStreamer&lt;/span&gt; by &lt;a href=&quot;http://www.fosdem.org/2007/schedule/speakers/edward+hervey&quot; title=&quot;Edward Hervey&quot;&gt;Edward Hervey&lt;/a&gt; (whom I had met at a party in Barcelona), &lt;span class=&quot;italique&quot;&gt;Linux Kernel&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/andrew+morton&quot; title=&quot;Andrew Morton&quot;&gt;Andrew Morton&lt;/a&gt;, &lt;span class=&quot;italique&quot;&gt;Django&lt;/span&gt; by &lt;a href=&quot;http://www.fosdem.org/2007/schedule/speakers/pim+van+heuven&quot; title=&quot;Pim Van Heuven&quot;&gt;Pim Van Heuven&lt;/a&gt; (or how to make web development sexy), and finally &lt;span class=&quot;italique&quot;&gt;Gnome apps with Scheme&lt;/span&gt; by &lt;a href=&quot;http://www.fosdem.org/2007/schedule/speakers/andy+wingo&quot; title=&quot;Andy Wingo&quot;&gt;Andy Wingo&lt;/a&gt; (also seen in Barcelona).
	In the afternoon, Kaleo joined us, freshly arrived from Barcelona, and Toto also came from Lille.
	That was the &lt;span class=&quot;italique&quot;&gt;Hull Dream Team&lt;/span&gt; reloaded!
&lt;/p&gt;
&lt;p&gt;
	It had been a rich day, and the best way to conclude it was in a pub around a few pints, after a well deserved dinner in a restaurant.
&lt;/p&gt;
&lt;p&gt;
	After a short night, the show went on with, again, lots of conferences.
	In the morning, I attended &lt;span class=&quot;italique&quot;&gt;Security testing&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/pete+herzog&quot; title=&quot;Pete Herzog&quot;&gt;Pete Herzog&lt;/a&gt;, &lt;span class=&quot;italique&quot;&gt;Metasploit Framework&lt;/span&gt; by its main developer, &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/h+d+moore&quot; title=&quot;H. D. Moore&quot;&gt;H. D. Moore&lt;/a&gt; (very impressive features for security probing), and &lt;span class=&quot;italique&quot;&gt;Elisa&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/philippe+normand&quot; title=&quot;Philippe Normand&quot;&gt;Philippe Normand&lt;/a&gt; (Kaleo's project leader, also met in Barcelona).
	After a short lunch break, Kaleo has to leave to catch his flight back to Spain.
&lt;/p&gt;
&lt;p&gt;
	We then attended &lt;span class=&quot;italique&quot;&gt;OpenOffice.org - OpenXML&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/michael+meeks&quot; title=&quot;Michael Meeks&quot;&gt;Michael Meeks&lt;/a&gt; and the end of &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/miguel+de+icaza&quot; title=&quot;Miguel de Icaza&quot;&gt;Miguel de Icaza&lt;/a&gt;'s presentation of Mono, during which an asshole made pointless remarks in a terribly bad english, confusing Linux, open source, proprietary software, profit making...
	The living proof that, yes, in the free software world too, we have our lot of jerks (although this one was an award winning one, and I tend to think the proportion of such persons in such an event is very low, he was probably the only one).
	We stayed in the same lecture room for the presentation of GDB tracepoints and their use in kernel debugging, by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/jim+blandy&quot; title=&quot;Jim Blandy&quot;&gt;Jim Blandy&lt;/a&gt;, and then &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/federico+mena+quintero&quot; title=&quot;Federico Mena Quintero&quot;&gt;Federico Mena Quintero&lt;/a&gt;'s &lt;span class=&quot;italique&quot;&gt;Profiling Desktop Applications&lt;/span&gt;.
	This guy is a real showman and he knows his topic, now I really want to hack on Gnome (if only days were more than &lt;span class=&quot;italique&quot;&gt;only&lt;/span&gt; 24 hours...)&amp;nbsp;!
&lt;/p&gt;
&lt;p class=&quot;image&quot;&gt;
	&lt;img src=&quot;http://tilloy.net/olivier/blog/images/2007/063_fosdem/01_api.jpg&quot; alt=&quot;What does an API look like ?&quot;&gt;
&lt;/p&gt;
&lt;p class=&quot;legende&quot;&gt;
	If you ever doubted it, here is the truth:
	&lt;acronym title=&quot;Application Programming Interface&quot;&gt;API&lt;/acronym&gt;s are like big green monster hidden in flower pots.
&lt;/p&gt;
&lt;p&gt;
	We finished with a presentation entitled &lt;span class=&quot;italique&quot;&gt;Linux in embedded security devices&lt;/span&gt; by &lt;a href=&quot;http://fosdem.org/2007/schedule/speakers/jan+veldeman&quot; title=&quot;Jan Veldeman&quot;&gt;Jan Veldeman&lt;/a&gt;, a bit disappointing on the contents, but no regret as there were no other conferences at that time.
&lt;/p&gt;
&lt;p&gt;
	And that was it, in a flashlight FOSDEM 2007 was already over, my head was full of great stuff, ideas, projects, a little bit disorientated by the lack of sleep, we headed towards the bus stop under the rain.
&lt;/p&gt;
&lt;p&gt;
	Bye bye Brussels, see you next year!
	And thank you so much to the volunteers who organised all this so well and made it possible, you guys did a wonderful job!
&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>tilloy.net</title>
    <link>http://tilloy.net/olivier/blog/post/2006/09/28/61-tilloynet</link>
    <guid isPermaLink="false">urn:md5:5119651c25411a83b1ac818be8139a32</guid>
    <pubDate>Thu, 28 Sep 2006 17:40:19 +0000</pubDate>
    <dc:creator>Olivier Tilloy</dc:creator>
        <category>Geekeries</category>
            
    <description>    &lt;p&gt;
	Ayant terminé mes études à l'&lt;acronym title=&quot;Institut d'Informatique en Entreprise&quot;&gt;IIE&lt;/acronym&gt;, je n'aurai donc bientôt plus accès aux services d'&lt;a href=&quot;http://arise.iiens.net/&quot; title=&quot;Site d'ARISE&quot;&gt;&lt;acronym title=&quot;Administrateurs du Réseau Informatique et des Services aux Etudiants&quot;&gt;ARISE&lt;/acronym&gt;&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
	Plus de shell sur perso, plus d'hébergement web et de bases de données, il me fallait donc migrer ce blog vers les serveurs d'un autre hébergeur.
	J'ai donc choisi un hébergement mutualisé chez &lt;a href=&quot;http://lost-oasis.fr/&quot; title=&quot;Lost Oasis&quot;&gt;Lost Oasis&lt;/a&gt;.
	Jusqu'ici, service de bonne qualité, à un prix raisonnable, et bonne réactivité des administrateurs.
	J'en ai profité pour acheter un nom de domaine, me voilà donc propriétaire de &lt;a href=&quot;http://tilloy.net&quot; title=&quot;Mon nom de domaine&quot;&gt;tilloy.net&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
	J'ai profité de la migration pour mettre à jour ma version de &lt;a href=&quot;http://www.dotclear.net/&quot; title=&quot;DotClear&quot;&gt;DotClear&lt;/a&gt; (passage de la 1.2.1 à la 1.2.5, comme sur des roulettes, et j'attends la version 2 avec impatience), renommer quelque peu les catégories et réordonner certains billets pas à leur place.
&lt;/p&gt;
&lt;p&gt;
	Mettez à jour vos liens et marque-pages!
&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://tilloy.net/olivier&quot; title=&quot;Page d'accueil de mon site&quot;&gt;http://tilloy.net/olivier&lt;/a&gt;
	&lt;br /&gt;
	&lt;a href=&quot;http://tilloy.net/olivier/blog&quot; title=&quot;Mon blog&quot;&gt;http://tilloy.net/olivier/blog&lt;/a&gt;
&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>