<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" 
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" 
   xmlns:html="http://www.w3.org/1999/html" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
   <title>Fer's blog</title>
   <link>http://www.gnome.org/~fherrera/blog</link>
   <description>fer, ferulo, that crazy man</description>
   <language>en</language>
   <copyright>Copyright 2006 Fernando Herrera</copyright>
   <ttl>60</ttl>
   <pubDate>Mon, 24 Apr 2006 10:16 GMT</pubDate>
   <managingEditor>fherrera@onirica.com</managingEditor>
   <generator>PyBlosxom http://pyblosxom.sourceforge.net/ 1.3.2 2/13/2006</generator>
<item>
   <title>Encoding videos for Nokia 770 with GStreamer</title>
   <guid isPermaLink="false">gst_n770</guid>
   <link>http://www.gnome.org/~fherrera/blog/gst_n770.html</link>
   <description><![CDATA[
<p>Recently I have been traveling a lot. I use to sleep during train/plane/bus travels, but it is not always possible. Also recently I began to watch some TV shows that some friends of mine recommended to me:<ul><li><a href="http://abc.go.com/primetime/alias/">Alias</a>, by my friend Javi, AKA "Mini Kaster"</li><li><a href="http://abc.go.com/primetime/desperate/">Desperate Housewives</a>, by my frien Migue, AKA "qu3s0s"</li><li><a href="http://abc.go.com/primetime/lost/">Lost</a>, by my friend Andreu, AKA "Aldeart"</li></ul>So in my travels, when not sleeping it great to watch some of these tv show on my <a href="http://www.nokia.com/770">Nokia 770</a>. I was using some scripts based on mplayer or ffmpeg to transcode them to a suitable format for the nokia, but as I wanted to use <a href="http://gstreamer.freedesktop.org/">GStreamer</a> I hacked some bits:<br /><center><img src="http://www.gnome.org/~fherrera/img/n770transcoder.png" border="0" /></center><br/>It is an small gst-python application, but if you want to use it, you need some more bits:<ul><li>As nokia770 currently only supports avi, 3gp, mpeg and rm cointainers, you would need the upcoming port of avimuxer to gstreamer-0.10. The patch is for <a href="http://bugzilla.gnome.org/show_bug.cgi?id=332031">bug #332031</a>, however you current n770 player only wants to demux avis containig "DIVX" fourcc on the avi header. When using mencoder, ffmpeg or transcode there are some hacks to force this fourcc (<i>-ffourcc DIVX</i> for mencoder, <i>-vtag DIVX</i> for ffmpeg or using <i>avifix -F DIVX</i> for transcode). So I added this hack too to this upcoming avimuxer. here is the <a href="http://www.gnome.org/~fherrera/patches/gst-plugins-good-avimuxer+forcefourcc.patch">combined patch against gst-plugins HEAD</a></li><li>Also there is a bug on gstreamer videoscale that doesn't allow you to specify only one of height/witdh and get the other one generated to maintaing pixel-aspect-ratio: <a href="http://bugzilla.gnome.org/show_bug.cgi?id=338991">bug #338991</a>. However I need to hack again the patch to get it working and also for maintainig both height and witdh being multiple of 16. Of course these size adjustements could be calculated on the transcoder application, but I wanted to use only a simple <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/section-components-decodebin.html">decodebin</a> without worrying at all of the input file. So here is the <a href="http://www.gnome.org/~fherrera/patches/gst-plugins-base-videoscale-parfix+guess-wh+16multiple.patch">combined patch against gst-plugins-base HEAD</a></li></ul>Finally here is the python script:<a href="http://www.gnome.org/~fherrera/gnome-nokia770-encode.py">gnome-nokia770-encode.py</a>. The UI is HORRIBLE, I just cooked it in some minutes, and the idea is that someone wanting to play with pygtk improve it. Here are some ideas: <ul><li>Make a decent visual design</li><li>Use gnome-python thumbnail factory to get the thumbnail of the video</li><li>Add support for command-line options so it could be also a non-interactive script</li><li>...</li></ul>Send patches!!!. <br />Many thanks to <a href="http://thomas.apestaart.org/log">Thomas</a>, Tim-Philipp Mueller and the other guys on #gstreamer for helping with my dumb questions about gst :)</p>
<p><b>Update:</b>I forgot to mention that also another patch is needed for making the transcode. It fixes a videorate bug which creates an infinite loop when changing fps: <a href="http://bugzilla.gnome.org/show_bug.cgi?id=339013">bug #339013</a></p>

]]></description>
   <category domain="http://www.gnome.org/~fherrera/blog">main</category>
   <pubDate>Mon, 24 Apr 2006 10:16 GMT</pubDate>
</item>
<item>
   <title>RAD in GNOME: We got it</title>
   <guid isPermaLink="false">GNOME_RAD</guid>
   <link>http://www.gnome.org/~fherrera/blog/GNOME_RAD.html</link>
   <description><![CDATA[
<p>In 1997 <a href="http://tirania.org/blog/index.html">Miguel de Icaza</a> and <a href="http://primates.ximian.com/~federico/news.html">Federico Mena</a> started the GNOME project. We got GNOME 1.0, then we got an usable and accesible Desktop with GNOME 2.0. Recently we got a <a href="http://www.gnome.org/start/2.14/">GNOME 2.14</a>, a desktop that my mum can use. Now, with the <a href="http://www.monodevelop.com/Release_notes_for_MonoDevelop_0.10">release of MonoDevelop 0.10</a> we finally got Rapid Application Development in GNOME: <ul><li>Open MonoDevelop</li><li>Create a new project</li><li>Add some widgets to MainWindow</li><li>Add Handlers for events</li></ul>and you got it, just in 3 minutes:<br /><center><img src="http://www.gnome.org/~fherrera/img/MD.png" border="0" /></center><br /></p>

]]></description>
   <category domain="http://www.gnome.org/~fherrera/blog">main</category>
   <pubDate>Sat, 08 Apr 2006 06:25 GMT</pubDate>
</item>
</channel>
</rss>
