<?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>handyfloss &#187; google</title>
	<atom:link href="http://handyfloss.net/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://handyfloss.net</link>
	<description>Because FLOSS is handy, isn&#039;t it?</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Avoiding time_increment_bits problem when encoding bad header MPEG4 videos to Ogg Theora</title>
		<link>http://handyfloss.net/2010.01/avoiding-time_increment_bits-problem-when-encoding-bad-header-mpeg4-videos-to-ogg-theora/</link>
		<comments>http://handyfloss.net/2010.01/avoiding-time_increment_bits-problem-when-encoding-bad-header-mpeg4-videos-to-ogg-theora/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 21:23:02 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[Free software and related beasts]]></category>
		<category><![CDATA[about me]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[format war]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=990</guid>
		<description><![CDATA[There is some debate going on lately about the migration of YouTube to HTML5, and whether they (i.e. YouTube&#8217;s owner, Google) should support H.264 or Theora as standard codecs for the upcoming &#60;video&#62; tag. See, for example, how the FSF asks for support for Theora. The thing is, I discovered x264 not so long ago, [...]]]></description>
			<content:encoded><![CDATA[<p>There is some debate going on lately about the migration of YouTube to <a href="http://en.wikipedia.org/wiki/HTML5">HTML5</a>, and whether they (i.e. YouTube&#8217;s owner, Google) should support <a href="http://en.wikipedia.org/wiki/H.264">H.264</a> or <a href="http://en.wikipedia.org/wiki/Theora">Theora</a> as standard codecs for the upcoming &lt;video&gt; tag. See, for example, <a href="http://www.fsf.org/blogs/community/youtube-ogg">how the FSF asks for support for Theora</a>.</p>
<p>The thing is, I discovered <a href="http://en.wikipedia.org/wiki/x264">x264</a> not so long ago, and I thought it was a &#8220;free version&#8221; of H.264. I began using it to reencode the medium-to-low quality videos I keep (e.g., movies and series). The resulting quality/file size ratio stunned me. I could reencode most material downloaded from e.g. p2p sources to 2/3 of their size, keeping the copy indistinguishable from the original with the bare eye.</p>
<p>However, after realizing that x264 is just a free implementation of the proprietary H.264 codec, and in the wake of the H.264/Theora debate, I decided to give Ogg Theora a go. I expected a fair competitor to H.264, although still noticeably behind in quality/size ratio. And that I found. I for one do not care if I need a 10% larger file to attain the same quality, if it means using free formats, so I decided to adopt Theora for everyday reencoding.</p>
<p>After three paragraphs of introduction, let&#8217;s get to the point. Which is that reencoding some files with <a href="http://en.wikipedia.org/wiki/ffmpeg2theora">ffmpeg2theora</a> I would get the following error:</p>
<div class="codeblock">
<pre>
% ffmpeg2theora -i example_video.avi -o output.ogg
[avi @ 0x22b7560]Something went wrong during header parsing, I will ignore it and try to continue anyway.
[NULL @ 0x22b87f0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[NULL @ 0x22b87f0]my guess is 15 bits ;)
[NULL @ 0x22b87f0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
Input #0, avi, from 'example_video.avi':
  Metadata:
    Title           : example_video.avi
  Duration: 00:44:46.18, start: 0.000000, bitrate: 1093 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 624x464, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 32 kb/s
  [audio disabled].

[mpeg4 @ 0x22b87f0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x22b87f0]my guess is 16 bits ;)
[mpeg4 @ 0x22b87f0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x22b87f0]my guess is 16 bits ;)
[mpeg4 @ 0x22b87f0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
    Last message repeated 1 times
[mpeg4 @ 0x22b87f0]warning: first frame is no keyframe
</pre>
</div>
<p>I searched the web for solutions, but to no avail. Usually pasting literal errors in Google yields good results, but in this case I only found developer forums where this bug was discussed. What I haven&#8217;t found is simple instructions on how to avoid it in practice.</p>
<p>Well, here it goes my simple solution: pass it through <a href="http://en.wikipedia.org/wiki/MEncoder">MEncoder</a> first. Where the following fails:</p>
<div class="codeblock">
% ffmpeg2theora -i input.avi -o output.ogg
</div>
<p>the following succeeds:</p>
<div class="codeblock">
% mencoder input.avi -ovc copy -oac copy -o filtered.avi<br />
% ffmpeg2theora -i filtered.avi -o output.ogg
</div>
<p>I guess that what happens is basically that mencoder takes the &#8220;raw&#8221; video data in <tt>input.avi</tt> and makes a copy into <tt>filtered.avi</tt> (which ends up being exactly the same video), building sane headers in the process.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://handyfloss.net/2008.10/usable-compiz-fusion-zoom-to-window/" title="Usable Compiz Fusion: zoom to window (October 1, 2008)">Usable Compiz Fusion: zoom to window</a> (0)</li>
	<li><a href="http://handyfloss.net/2010.07/the-nightmare-of-tagging-multiple-photos-with-digikam-and-a-hacky-way-around-it-part-ii/" title="The nightmare of tagging multiple photos with digiKam, and a hacky way around it. Part II (July 8, 2010)">The nightmare of tagging multiple photos with digiKam, and a hacky way around it. Part II</a> (2)</li>
	<li><a href="http://handyfloss.net/2010.07/the-nightmare-of-tagging-multiple-photos-with-digikam-and-a-hacky-way-around-it/" title="The nightmare of tagging multiple photos with digiKam, and a hacky way around it (July 6, 2010)">The nightmare of tagging multiple photos with digiKam, and a hacky way around it</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2010.01/avoiding-time_increment_bits-problem-when-encoding-bad-header-mpeg4-videos-to-ogg-theora/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First impressions on a Neo FreeRunner</title>
		<link>http://handyfloss.net/2009.01/first-impressions-on-a-neo-freerunner/</link>
		<comments>http://handyfloss.net/2009.01/first-impressions-on-a-neo-freerunner/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 16:42:26 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[Free software and related beasts]]></category>
		<category><![CDATA[about me]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[movistar]]></category>
		<category><![CDATA[neo freerunner]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=627</guid>
		<description><![CDATA[Yes, as the title implies, I am the fortunate owner of a Neo FreeRunner. For those not on the know, the NFR is a kind of mobile phone/PDA running free software, and aimed at being open, both from software and hardware perspective. I bought it last week, and I already have things that I love, [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, as the title implies, I am the fortunate owner of a <a href="http://en.wikipedia.org/wiki/Neo FreeRunner">Neo FreeRunner</a>. For those not on the know, the NFR is a kind of mobile phone/<a href="http://en.wikipedia.org/wiki/Personal digital assistant">PDA</a> running <a href="http://en.wikipedia.org/wiki/free software">free software</a>, and aimed at being open, both from software <i>and</i> hardware perspective.</p>
<p>I bought it last week, and I already have things that I love, and others that I don&#8217;t love that much. First thing that sucks: my 128kB <a href="http://en.wikipedia.org/wiki/Movistar">Movistar</a> <a href="http://en.wikipedia.org/wiki/Subscriber Identity Module">SIM card</a> is not supported, so I can&#8217;t use the NFR to make calls! Apparently older versions of the SIM card are supported, so I will try to get hold of one (by the way, the <a href="http://en.wikipedia.org/wiki/simyo">simyo</a> card <a href="http://handyfloss.net/2008.10/installation-of-simyo-huawei-e220-under-linux/">I posted about some time ago</a> works perfectly).</p>
<p>Another thing that is not so good is the stability of the software. However, I expected that, and I have no problem with it. Being open source, the software will evolve day by day, and I will love to see the evolution.</p>
<p>On the bright side: it is really great to be able to install different <a href="http://en.wikipedia.org/wiki/Linux distribution">distros</a> in your phone! I tried OpenMoko, FDOM, QtExtended (formerly Qtopia) and SHR, and all of them have good and bad things. It is like going back to when I tried different distros for my computers (now I mostly stick to <a href="http://en.wikipedia.org/wiki/Ubuntu">Ubuntu</a> or <a href="http://en.wikipedia.org/wiki/Debian">Debian</a>). By the way, you <i>can</i> install Debian in the NFR (haven&#8217;t tried it yet, because you have to install it in the <a href="http://en.wikipedia.org/wiki/Secure Digital card">microSD card</a>, not in the main memory (it&#8217;s too big for it). You can even try Google&#8217;s <a href="http://en.wikipedia.org/wiki/Android (operating system)">Android</a>, if you so wish.</p>
<p>But the really nice thing about it is that you can create your own apps for it. You can install <a href="http://en.wikipedia.org/wiki/Perl">Perl</a> or <a href="http://en.wikipedia.org/wiki/Python (programming language)">Python</a> interpreters, and then use the <a href="http://en.wikipedia.org/wiki/Command-line interface">Command-line interface</a> (yes, it does have command line) to run scripts. Or create icons on the desktop and link them to an action. For example, I created an icon that switches from portrait to landscape orientation when pressing it, and then back when pressing it again. I created another icon that launches mplayer when pressed, so I can watch a video in it by just pressing the icon.</p>
<p>I expect to blog more about the gadget, so stay tuned.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://handyfloss.net/2008.07/making-isight-camera-work-in-ubuntu/" title="Making iSight camera work in Ubuntu (July 4, 2008)">Making iSight camera work in Ubuntu</a> (20)</li>
	<li><a href="http://handyfloss.net/2009.05/john-maddog-hall-and-openmoko-at-debconf9-in-caceres-spain/" title="John maddog Hall and OpenMoko at DebConf9 in Cáceres, Spain (May 15, 2009)">John maddog Hall and OpenMoko at DebConf9 in Cáceres, Spain</a> (0)</li>
	<li><a href="http://handyfloss.net/2008.11/hibernating-my-macbook-under-ubuntu-intrepid-ibex/" title="Hibernating my MacBook under Ubuntu Intrepid Ibex (November 14, 2008)">Hibernating my MacBook under Ubuntu Intrepid Ibex</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2009.01/first-impressions-on-a-neo-freerunner/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gmail and browser discrimination</title>
		<link>http://handyfloss.net/2008.06/gmail-and-browser-discrimination/</link>
		<comments>http://handyfloss.net/2008.06/gmail-and-browser-discrimination/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 11:18:37 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[This evil world]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=327</guid>
		<description><![CDATA[Due to Iceweasel (Firefox) being so slow on my machine, I switched to Konqueror, which is reasonably fast and full of features, but nowhere as good as Iceweasel, I must say. However, IW is unbearable, so I&#8217;m waiting for FF 3.0 to use IW again. I use an e-mail client to read my e-mail over [...]]]></description>
			<content:encoded><![CDATA[<p>Due to <a href="http://en.wikipedia.org/wiki/Mozilla software rebranding">Iceweasel</a> (Firefox) being so slow on my machine, I switched to <a href="http://en.wikipedia.org/wiki/Konqueror">Konqueror</a>, which is reasonably fast and full of features, but nowhere as good as Iceweasel, I must say. However, IW is unbearable, so I&#8217;m waiting for FF 3.0 to use IW again.</p>
<p>I use an <a href="http://en.wikipedia.org/wiki/e-mail client">e-mail client</a> to read my e-mail over <a href="http://en.wikipedia.org/wiki/IMAP">IMAP</a>, my main account being a <a href="http://en.wikipedia.org/wiki/Gmail">Gmail</a> one. However, I sometimes visit the Gmail site, for example to set it to fetch e-mail from some other accounts. I had always done it with IW, and everything worked fine, but now with Konqueror it <b>doesn&#8217;t</b>.</p>
<p>With Konqueror I get the message: </p>
<div align="center"><img src="http://isilanes.org/pics/blog/gmail/gmail_browser_discrimination.png"></div>
<p>and some features are missing (specifically, the option set how to fetch e-mail from other accounts, and some others).</p>
<p>I could understand it if Konqueror were missing some functionality/plugin that IW has and Gmail requires. But it is not the case. I can tell Konqueror to identify itself as Firefox, and <b>THEN</b> the Gmail page shows up correctly, so obviously it&#8217;s not due to Konqueror&#8217;s limitations. It sounds like a case of sloppy programming from the guys at Google, with something like:</p>
<pre>
<code>if browser is one of 'IE', 'Firefox', 'Safari':
  show this page
else:
  show dumbed down page</code>
</pre>
<p></p>
<p>After years of discrimination to non-IE users, and a tremendous fight to make webmasters produce standards-compliant sites, instead of specific browser-compliant ones, we still have to suffer this shit. And from Google, the &#8220;don&#8217;t be evil&#8221; guys, supporters of free software and all that BS.</p>
<p>By the way, this issue is known, and mentioned, for example, in <a href="http://en.wikipedia.org/wiki/Gmail#Browser_support">the Wikipedia page for Gmail</a>.</p>

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://handyfloss.net/2008.06/linux-e-mail-clients-rant/" title="Linux e-mail clients rant (June 2, 2008)">Linux e-mail clients rant</a> (14)</li>
	<li><a href="http://handyfloss.net/2008.04/firefox-2-beats-ie6-at-my-site/" title="Firefox 2 beats IE6 at my site (April 29, 2008)">Firefox 2 beats IE6 at my site</a> (0)</li>
	<li><a href="http://handyfloss.net/2010.01/avoiding-time_increment_bits-problem-when-encoding-bad-header-mpeg4-videos-to-ogg-theora/" title="Avoiding time_increment_bits problem when encoding bad header MPEG4 videos to Ogg Theora (January 28, 2010)">Avoiding time_increment_bits problem when encoding bad header MPEG4 videos to Ogg Theora</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2008.06/gmail-and-browser-discrimination/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

