<?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>HCoder.org &#187; linux</title>
	<atom:link href="http://hcoder.org/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://hcoder.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 04 Feb 2012 11:06:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>My short experience with GNOME 3</title>
		<link>http://hcoder.org/2011/10/18/my-short-experience-with-gnome-3/</link>
		<comments>http://hcoder.org/2011/10/18/my-short-experience-with-gnome-3/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 17:11:21 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://hcoder.org/?p=1200</guid>
		<description><![CDATA[After not having blogged about anything but book summaries lately, I thought it was about time to write something else :-) EDIT: Added the last point, the most important one! I had been thinking of trying out GNOME 3 since it was released. For a number of reasons, I only managed to give it a try [...]]]></description>
			<content:encoded><![CDATA[<p>After not having blogged about anything but book summaries lately, I thought it was about time to write something else :-) <strong>EDIT:</strong> Added the last point, the most important one!</p>
<p>I had been thinking of trying out GNOME 3 since it was released. For a number of reasons, I only managed to give it a try a couple of days ago. I normally use KDE 4, but wanted to see how GNOME was doing these days, and wanted to see if it was something I could maybe switch to. I have to say I quite liked some of the stuff I saw, but I don&#8217;t think I can switch. My reasons:</p>
<ul>
<li>Language switcher keyboard combination: I just couldn&#8217;t find any combination I could use. Everything conflicted with some other combination I use (esp. in Emacs). Having to change the keymap by clicking on the top bar didn&#8217;t sound sane to me.</li>
<li>Order of the OK/Cancel buttons: even if I switched, I would probably use a combination of systems. Having to train my brain to look for the buttons in a different position seemed like too much.</li>
<li>Rhythmbox seemed plain, clunky and hard to use. It seemed hard for me to do what I wanted, plus it crashed consistently while trying to listen to some podcast.</li>
<li>I kind of like the idea of how workspaces work (even though I have to radically change the way I use them to adapt to them), but for me it&#8217;s too much that both (a) closing the last window makes the workspace disappear and (b) you can&#8217;t create workspaces &#8220;above&#8221;. That is a deal-breaker for me.</li>
<li>Can&#8217;t create workspaces on the right or left? I could get used to that probably, but it added up to my frustrations with GNOME 3 workspaces.</li>
<li>Constant repainting issues.</li>
<li>Can&#8217;t make sense of the window traversing. Let&#8217;s say I have two virtual desktops, one with a browser and another one with two terminals. The focus is on one of the terminals, and I want to go to the other terminal (with the keyboard, of course). If I just press Ctrl-Tab GNOME takes me to the web browser in the other desktop! If I want to go to the other terminal, I have to press Ctrl-Tab, Shift-Ctrl-Tab to go back to the terminal, arrow down to see all the terminal windows, arrow right to go to the next terminal. It&#8217;s even worse when I have Opera in one virtual desktop (maximised) with the error console in the same desktop. As Opera is maximised, I can&#8217;t even click with the mouse, so the only way to switch to the error console I can think of is doing the dance described above. Am I missing something, is this for real? <em><strong>EDIT:</strong> I was told about Ctrl-` (changes between windows of the same application). Cute attempt, but I don&#8217;t think I can get used to thinking if I have to use Ctrl-TAB or Ctrl-`. So that remains &#8220;impossible to use&#8221; for me.</em></li>
</ul>
<p>I wonder if some GNOME user can shed light on some of those issues, although it doesn&#8217;t seem like I can find a solution for all my frustrations :-)</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=1200&amp;md5=2b689ff07a471e40a46cc5620c4e82ce" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2011/10/18/my-short-experience-with-gnome-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://hcoder.org/?flattrss_redirect&amp;id=1200&amp;md5=2b689ff07a471e40a46cc5620c4e82ce" type="text/html" />
	</item>
		<item>
		<title>Link&#246;ping trip</title>
		<link>http://hcoder.org/2009/09/13/linkoping-trip/</link>
		<comments>http://hcoder.org/2009/09/13/linkoping-trip/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 21:43:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[linköping]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[qa]]></category>
		<category><![CDATA[sweden]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[trips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I spent the whole last week (or this week; after all it&#8217;s Sunday&#8230; and Sunday is obviously the last day of the week, not the first, right?) in Linköping, Sweden. The idea was repeating some Debian course I gave here in Oslo, giving two more talks about automated testing since I was there anyway, and [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the whole last week (or <em>this</em> week; after all it&#8217;s Sunday&#8230; and Sunday is obviously the <em>last</em> day of the week, not the <em>first</em>, right?) in <a href="http://en.wikipedia.org/wiki/Linköping">Linköping</a>, Sweden. The idea was repeating some Debian course I gave here in Oslo, giving two more talks about automated testing since I was there anyway, and attend two more talks. It was lots of fun, partly thanks to my &#8220;host&#8221; (thanks Gerald!), and surprisingly I found a bunch of things that seemed plain weird to me&#8230; or at least quite different from Oslo.</p>
<p>The talks themselves went pretty good I think, although I&#8217;d have preferred more people attending. I guess it was normal that there were less people than I&#8217;m used to, since the Linköping office is much smaller. But anyway. The Debian course went quite well and some people got started packaging stuff almost right away. The other talks were an introduction to automated testing (advocacy and arguments for it, advice, basic examples and small rant about a different kind of QA), which went ok, and an entry-level talk about unit testing in Python (thanks Ask and Batiste for the information and reviewing the slides!), which went very well. I&#8217;ll try to get the slides for all the talks available somewhere.</p>
<p>About the city itself, it&#8217;s a charming little part of Sweden where:</p>
<ul>
<li>Restaurants have <strong>insanely</strong> different prices for food whether it&#8217;s for lunch or dinner. Typical prices for lunch are 80 <span class="caps">SEK</span> (around 8 <span class="caps">EUR</span>) and typical prices for dinner are around 250 <span class="caps">SEK</span> <em>just the main course</em>!</li>
<li>Restaurants usually serve some Swedish dish for lunch&#8230; and I mean every restaurant, meaning all the Greek, Vietnamese, etc. Considering &#8220;real&#8221; Swedish restaurants are very expensive, you usually go to those foreign cuisine ones when you actually want to eat Swedish food.</li>
<li>Restaurants typically have some salad (that you have to take yourself) while you wait for the food&#8230; and some coffee, tea and cookies (that obviously you have to take yourself) for the end.</li>
<li>Related to this, restaurants are usually very self-service. I thought service in Norway sucked, but boy was I wrong, at least there is <em>some</em> service. And: there were typically long but pretty-fast-moving queues, and there was this one place where you didn&#8217;t even get the food on the table after ordering at the bar; instead, you were given some gadget with some wireless receiver, and when your food was ready it&#8217;d beep so you knew you had to go to some special place and fetch your food. Is it really cheaper maintaining some gadgets than hiring a waiter? I guess so.</li>
<li>The restrictions on the amount of alcohol that can be bought outside the special Government booze stores are even harder than in Norway. You can only buy booze with up to 3.5% alcohol outside &#8220;<a href="http://en.wikipedia.org/wiki/Systembolaget">Systembolaget</a>&#8221;. Now <em>that</em> is sad. And I was complaining about Norway&#8217;s 5%.</li>
<li>Partly because of that (I assume/hope) the Swedish &#8220;cider&#8221; you get in Sweden is even sweeter and worse and the <em>Swedish</em> cider you get in Norway.</li>
<li>We went to this nice student pub&#8230; which was literally <em>for</em> students. They actually <em>checked</em> your student id, but each student could bring <em>one</em> non-student along. Once you were &#8220;identified&#8221; as a non-student-coming-with-a-student, you&#8217;d get a stamp on your hand so you wouldn&#8217;t have to bring along the student when you ordered again. Also, the place was so very slow it was <em>almost</em> funny. One of the good sides was that they had what I thought it was the only decent Swedish cider&#8230; but after checking just now, it seems it&#8217;s actually American. Bummer. And the name of it was funny too: &#8220;Hardcore Cider&#8221;.</li>
<li>Right before leaving the office on Friday there was a small gathering in the canteen (the &#8220;Friday Beer&#8221;), where they had a Dreamcast with one of the most awesome games I&#8217;ve seen in a long while: <a href="http://en.wikipedia.org/wiki/Typing_of_the_Dead">The Typing of the Dead</a>, a version of <a href="http://en.wikipedia.org/wiki/The_House_of_the_Dead_2">The House of the Dead 2</a> in which you kill the zombies by typing words that appear on the screen, instead of aiming and shooting with a gun:</li>
</ul>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/sNfQ_B6_xy8&#038;hl=es&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sNfQ_B6_xy8&#038;hl=es&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=77&amp;md5=1e5aa3ee567b50c997f24a9f4f10af44" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2009/09/13/linkoping-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://hcoder.org/?flattrss_redirect&amp;id=77&amp;md5=1e5aa3ee567b50c997f24a9f4f10af44" type="text/html" />
	</item>
		<item>
		<title>Photo management applications</title>
		<link>http://hcoder.org/2008/11/02/photo-management-applications/</link>
		<comments>http://hcoder.org/2008/11/02/photo-management-applications/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 12:41:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[digikam]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[It&#8217;s been a couple of years now since I have been a digiKam user. I have been mostly happy with it (actually I don&#8217;t even use a lot of its features as my needs are not particularly advanced), but from time to time the Flickr would fail for no reason. Some time ago I needed [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a couple of years now since I have been a <a href="http://www.digikam.org/">digiKam</a> user. I have been mostly happy with it (actually I don&#8217;t even use a lot of its features as my needs are not particularly advanced), but from time to time the Flickr would fail for no reason. Some time ago I needed to upload a lot of pictures and it started failing again, so I looked for some alternatives.</p>
<p>Apart from other apps I knew already and didn&#8217;t particularly like, I found <a href="http://code.google.com/p/dfo/">dfo</a> (<em>Desktop Flickr Organizer</em>), a <span class="caps">GNOME</span> application. It was nice, and it was easy enough to upload pictures to Flickr with it, but it felt weird. What I would like to have is some application to manage my gallery, with some option to upload certain pictures to Flickr. However, this applications is more like a local Flickr mirror with synchronisation options. I <strong>don&#8217;t</strong> want all my pictures in Flickr, even marked as private. I just don&#8217;t care, and I don&#8217;t want to wait for all synchronisation between the app and Flickr. Moreover, I feel kind of tied to Flickr using that, and I&#8217;d rather work in a more &#8220;agnostic&#8221; environment. So it was cool using it to upload the pictures I had to upload, but I wasn&#8217;t really going to keep using it.</p>
<p>At the same time, one friend suggested using <a href="http://picasa.google.com/linux/">Picasa</a> to upload some pictures, so I gave it a try. I had tried it briefly in the past, and I remember that some things were nice, but for some reason it was never my gallery manager of choice. So, trying it again, and even using the synchronisation options for the Picasa web albums, somehow I got the same feeling again: it&#8217;s nice, but there&#8217;s something undefined that makes me not use it. I have to admit that the interface is really fancy and easy to use, and it works decently well, but I don&#8217;t completely like the way the synchronisation works, not to mention that I don&#8217;t want to be stuck with only Picasa web albums. Also, I&#8217;m not happy with it being proprietary, not available in the Debian repositories, and with that special, anti-integrated interface. Some things work much better than in digiKam (I&#8217;m especially thinking fullscreen/slideshow, which sucks pretty badly in it), but I still prefer digiKam overall.</p>
<p>As I wasn&#8217;t too happy with the alternatives, I decided to have a look at the problem with digiKam. It turns out that digiKam just uses the so-called <a href="http://www.kipi-plugins.org/">Kipi-plugins</a> for picture exporting and other things, and that there was a new version of it that fixed a couple of issues&#8230; one of them being a problem with Flickr upload. The package is not available on Debian unstable because we&#8217;re currently in freeze (unfortunately, that means that Lenny will ship without a functional Flickr-uploading Kipi plugin). However, I saw that the new package was actually uploaded to experimental, so I decided to give it a try. Not only it works like a charm, but the new version 1.6 reworks the Flickr export plugin completely, and now it&#8217;s much nicer. So I&#8217;m happy now, back to digiKam with a working Flickr export <code>o/</code>. To install it yourself, make sure that you have this line in your <code>/etc/apt/sources.list</code>:</p>
<p>deb http://ftp.de.debian.org/debian/ experimental main non-free contrib</p>
<p>Then, update your available package list and install <code>kipi-plugins</code> from experimental, like this:</p>
<p>sudo aptitude update &amp;&amp; sudo aptitude -t experimental install kipi-plugins</p>
<p>That should do it.</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=45&amp;md5=459a38dd6fa47a6303b96da4bde12487" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2008/11/02/photo-management-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="http://hcoder.org/?flattrss_redirect&amp;id=45&amp;md5=459a38dd6fa47a6303b96da4bde12487" type="text/html" />
	</item>
		<item>
		<title>Hugin and small, silly mencoder tip</title>
		<link>http://hcoder.org/2008/10/28/hugin-and-small-silly-mencoder-tip/</link>
		<comments>http://hcoder.org/2008/10/28/hugin-and-small-silly-mencoder-tip/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:44:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[autostitch]]></category>
		<category><![CDATA[enblend]]></category>
		<category><![CDATA[hugin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[rotate]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[From time to time I like making panorama pictures. When I started several years ago, Autostitch was really popular, but it didn&#8217;t have a Linux version, which sucked. Actually, it still doesn&#8217;t. However, it worked under wine, so I just used it via emulation. It was very simple and worked ok. Sometimes I&#8217;d look for [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time I like making panorama pictures. When I started several years ago, <a href="http://www.cs.ubc.ca/~mbrown/autostitch/autostitch.html">Autostitch</a> was really popular, but it didn&#8217;t have a Linux version, which sucked. Actually, it still doesn&#8217;t. However, it worked under <a href="http://www.winehq.org/">wine</a>, so I just used it via emulation. It was very simple and worked ok.</p>
<p>Sometimes I&#8217;d look for alternatives under Linux (if possible, free) and I had seen a tool called <a href="http://hugin.sourceforge.net/">Hugin</a>. It looked complicated (at least compared to Autostitch&#8217;s select-pictures-hit-ok-there-you-go), and for some reason I never really used it. It probably wasn&#8217;t packaged for Debian or something like that.</p>
<p>A couple of days ago, though, I arrived from a trip where I took a couple of panoramas, and Autostitch had a quite suboptimal behaviour: it didn&#8217;t recognise one of my panoramas, and some others were completely destroyed perspective-wise. So I decided to give Hugin another go. And boy am I happy with it. It&#8217;s very easy to install in Debian, and although I had some problem with the path to <code>enblend</code> (apparently I had to specify the absolute path to it in preferences), everything worked fine. Selecting the points to join the pictures is not that hard, and actually has one advantage over Autostitch, namely that if it doesn&#8217;t recognise your panoramas automatically, you are giving &#8220;hints&#8221; about which points are the same in other pictures to Hugin, so it will work. Another advantage is that it has several ways of joining the pictures, which solved my second problem with perspective destruction :-)</p>
<p>Apart from the panorama pictures, I also had <a href="http://www.youtube.com/watch?v=0-B3jDjgBCY">some</a> <a href="http://www.youtube.com/watch?v=1WugrBecv5I">videos</a>&#8230; and one of them was recorded as &#8220;portrait&#8221; instead of &#8220;landscape&#8221;. So I needed a way to rotate the video. Fortunately, that was easy enough with <code>mencoder</code> (using command-line, though):</p>
<p>mencoder -vop rotate=2 MVI_2352.<span class="caps">AVI</span> -ovc lavc -oac copy -o MVI_2352.avi</p>
<p>I found the tip in some <a href="http://ubuntuforums.org/showthread.php?p=2330052">thread in Ubuntu forums</a>, and had to look up the values for &#8220;rotate&#8221; in @mencoder@&#8217;s manpage:</p>
<p>0    Rotate by 90 degrees clockwise and flip (default).<br />
1    Rotate by 90 degrees clockwise.<br />
2    Rotate by 90 degrees counterclockwise.<br />
3    Rotate by 90 degrees counterclockwise and flip.</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=44&amp;md5=f8933f546a03dcccf599e7f7ea0f88b9" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2008/10/28/hugin-and-small-silly-mencoder-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://hcoder.org/?flattrss_redirect&amp;id=44&amp;md5=f8933f546a03dcccf599e7f7ea0f88b9" type="text/html" />
	</item>
		<item>
		<title>Linux video editing and YouTube annotations</title>
		<link>http://hcoder.org/2008/07/23/linux-video-editing-and-youtube-annotations/</link>
		<comments>http://hcoder.org/2008/07/23/linux-video-editing-and-youtube-annotations/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 09:45:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Freedom]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[copenhagen]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[subway]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In my recent trip to Copenhagen, I recorded a small video of the subway (it&#8217;s really cool, because it&#8217;s completely automatic, it doesn&#8217;t have drivers or anything). I wanted to edit the video to remove people that were reflected on the window, so I wondered if I could do that on Linux. I imagined it [...]]]></description>
			<content:encoded><![CDATA[<p>In my recent trip to Copenhagen, I recorded a small video of the subway (it&#8217;s really cool, because it&#8217;s completely automatic, it doesn&#8217;t have drivers or anything). I wanted to edit the video to remove people that were reflected on the window, so I wondered if I could do that on Linux. I imagined it wouldn&#8217;t be trivial, but it was more frustrating than I thought. Maybe I&#8217;m too old for this.</p>
<p>The first thing I tried was looking in APT&#8217;s cache for &#8220;video editing&#8221;. The most promising was <a href="http://www.kinodv.org/">kino</a>. I had tried that some time ago a couple of times, and I never made it to work, but I figured I would try again. Unfortunately, same result: I just can&#8217;t figure out how to import my videos. Maybe I&#8217;m just hitting the wrong button or whatever, but it&#8217;s really frustrating.</p>
<p>Second thing was having a look in the internet. I found the (dead and being rewritten?) Cinelerra, as always, and I didn&#8217;t feel like installing the old one from source, only to lose my time and not get it to work, so I just ignored it. Maybe they had it in debian-multimedia and wouldn&#8217;t have been a tough install after all. Anyway.</p>
<p>Next thing, I found some program called <a href="http://www.openmovieeditor.org/">openmovieeditor</a>. This one apparently worked, but I couldn&#8217;t figure out how to crop the image (or almost any other thing for that matter).</p>
<p>Next, some neat program written in Python, called <a href="http://www.pitivi.org/wiki/Main_Page">pitivi</a>. When I tried to run it though, it just said <code>Error:  Icon 'misc' not present in theme</code> on the console and died. I later figured out that I had to install <code>gnome-icon-theme</code> for it to work (yeah, Debian maintainer&#8217;s fault). It&#8217;s funny, because on the webpage it says that it has some &#8220;advanced view&#8221; that you can access via the &#8220;View&#8221; menu&#8230; but I couldn&#8217;t find it. My menu only had one entry: &#8220;Fullscreen&#8221;. Great.</p>
<p>Oh, wait, there&#8217;s a <code>gimp-gap</code>. I could just import my animation in Gimp, crop the frames, and convert again to video. Easier said than done. I needed some programs that I didn&#8217;t have, and I wasn&#8217;t sure if they were so easy/quick/clean to install (sure, I could have exported to <span class="caps">GIF</span> animation and probably convert to video, I just didn&#8217;t want to lose so much color quality in the <span class="caps">GIF</span> step). Forget for now. At least I had the images, so if I could just turn them into a movie&#8230;</p>
<p>So, I started wondering if, given that I had decided to just crop, and especially now that I had a lot of images that were the frames, maybe I could just use some command line tool or something. So I found this tiny little program, <code>images2mpg</code>. Long story short, after installing some dependencies from source (that gave compilation errors, but luckily I could compile only the binaries I really needed) that program was <strong>completely</strong> retarded and didn&#8217;t even do what I wanted (it wanted at least one second between images, but I didn&#8217;t want a slideshow, just a normal movie from the frames). It looks some simple and it&#8217;s so buggy. Gah.</p>
<p>So I started wondering if I could just crop with <a href="http://www.mplayerhq.hu/">mplayer</a>&#8230; Hmmm&#8230; after a couple of problems (like documented switches that were not there and other crap), I ended up with this command line:</p>
<pre>
<code>
mencoder -vf crop=320:200:0:40 MVI_2160.AVI
         -ovc lavc -nosound -o metro-crop.avi
</code>
</pre>
<p>That was reasonably quick and easy but it was so frustrating after all that lost time.</p>
<p>In any case, I ended up with the video I wanted, so I went to YouTube to upload it. When uploading, I realised that there was some option I had never seen: <em>annotations</em>.</p>
<p>YouTube annotations are really cool. They are like the notes on Flickr, but on a video <code>:-D</code> Actually I kind of wanted to make a note like that on this video, to show the automatic doors on the Metro station, so I was really happy to see that I could actually do it. And the interface is really easy to use and very clear. I really like it! You can see the result here:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/urWNdPKydzM&#038;hl=es&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/urWNdPKydzM&#038;hl=es&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><strong><span class="caps">EDIT</span>:</strong> <span class="caps">WTF</span>? The annotations don&#8217;t appear on the embedded videos? You&#8217;ll have to go to the <a href="http://es.youtube.com/watch?v=urWNdPKydzM">video page</a> to see them, then&#8230;</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=33&amp;md5=243c6f3693044a168f265c005a173719" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2008/07/23/linux-video-editing-and-youtube-annotations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<atom:link rel="payment" href="http://hcoder.org/?flattrss_redirect&amp;id=33&amp;md5=243c6f3693044a168f265c005a173719" type="text/html" />
	</item>
	</channel>
</rss>

