soeren says

The Beta Geek

January 23rd, 2010

This week, YouTube announced its HTML5 beta, based on an earlier demo at Google I/O 2009. Vimeo swiftly followed suit.

Compared to their Flash-based predecessors, these new video players have various downsides: no full-screen mode, no embedding on third-party sites and, at least for YouTube’s, no play/pause using the space bar. Other than that, this is great: it’s great because we no longer rely on a proprietary mechanism of Adobe’s that was originally designed to display animated vector graphics, not provide a UI and codec to play movies; it’s great because a standards committee (and an experiment-friendly sidekick) have created this technology, and will hopefully drive it forward; it’s great because, in fact, this has benefits in performance (far lower CPU usage; higher likelihood of GPU acceleration), accessibility and other areas.

And it works, right now, everywhere, without limitations.

Ah, who am I kidding.

It in fact works in the newest versions of Safari and Chrome (including Google Chrome Frame for IE), and, if you’re on Linux, Opera. It doesn’t in IE, and — here’s the sad, perhaps surprising part — not in Firefox either.


You may be misled into thinking that the HTML working group standardizing a <video> tag implies them also agreeing on the formats used by such videos, mandating one or more video and audio codecs and container formats to support. In fact, you’d be right that the original proposal looked exactly like that, requiring Ogg Media as the container, Ogg Theora for video and Ogg Vorbis for audio.

The big benefit of Xiph.org’s Ogg-branded series of codecs is their liberal approach — no patents, open specification, no cost, BSD or BSD-style licensing. In other words: pretty much anyone gets to use them if they want. Contrast that to the increasingly common H.264 video codec, which costs money to license and has patents. You’d think the choice is pretty clear: for the consumer and the developer, Ogg Anything means bliss and sanity.

It’s not quite as clear-cut. Apple and Nokia objected to HTML5 requiring browsers to implement Ogg Theora, citing difficulty of hardware acceleration (plenty of chips that specialize in H.264 decoding already exist). Apple added that, even though it is claimed Ogg Theora doesn’t have any patents, there’s no guarantee. Google doesn’t want to switch YouTube to Theora, in part because Flash already supports H.264 (so that’s what much of YouTube’s existing library uses), and because the latter achieves better quality at the same bitrate.

As such, the requirement was dropped from a later draft version of HTML5. Safari 4 ended up shipping supporting whatever codecs your installed QuickTime comes with (which includes H.264, but doesn’t include Ogg Theora unless you install it yourself
), Firefox and Opera with only Ogg Theora, and Google Chrome with both. I said Opera only supports Ogg Theory; as I understand it, Opera on Linux is a special case: it behaves similarly to Safari in that it supports whatever GStreamer happens to have (including, where available, H.264), whereas on other platforms, they instead bundle Ogg Theora.


So here we are: a <video> tag and plenty of confusion as to what it means to the end user. Will my browser play this? Will it not?

Controversial quality comparisons aside, one cannot deny H.264 is very widespread. Apple has been pushing it big time, Blu-Ray mandates it (and the late HD-DVD allowed it), and Adobe Flash has supported it since version 9. For pretty much anything “HD”, it has become the preferred format; the Windows Media-derived VC-1 never quite took off the same way, and Windows 7 even finally ships with it. If smartphones, portable video players, etc. do video, chances are they do H.264. The same simply cannot be said for Ogg Theora.

But perhaps ubiquity isn’t the point?

If you ask Robert O’Callahan, it’s not. Licensing a patent-encumbered, non-free codec is a difficult matter, but that’s not even the big problem. The alternative of having the operating system’s media framework provide the codecs (as is the case with Safari/QuickTime and Opera/GStreamer) doesn’t appeal to him for a number of reasons, including a support nightmare and code maintenance headaches, but most of all this:

Even if a volunteer produces a patch [to make Firefox use Windows's extensible media framework DirectShow for video codec support], I would not want to ship it in Firefox in the near future; let me try to explain why.

Probably most important: we want to focus our energy on promoting open unencumbered codecs at this time.

That was half a year ago. He has reiterated it since:

Users just want video to work. You Mozilla people are such idealists! Yes, that is the reason for Mozilla to exist.

As far as “existing” goes, this may be right. Were it not for idealists, Mozilla may not have survived as long as it did without a successful product. Firefox 1.0 shipped November 2004; Mozilla was open-sourced March 1998. There’s a variety of reasons it took so long (including the questionable decision to rewrite), but there’s little disagreement that idealism helped keep the dream alive.

But the article is less about Mozilla and more about Firefox, and I’d wager to say people in this context read “to exist” as more as “to have succeeded” than “to have been created in the first place”. And in that, I couldn’t disagree more.

“Free software idealism” may have played a big role in those initial six years of not much visibly going on: alpha geeks enjoyed tinkering with the bits and pieces of code, and tried various approaches (particularly Seamonkey), and eventually settled for something far simpler (which evolved from m/b through Phoenix and Firebird into Firefox). That wasn’t what brought Firefox to the masses, though. The masses don’t care about the license. They don’t care to take a look at code. They do care that it’s free as in gratis, that it works, and that it works better than what they were used to. And what they were used to was awful, because it was IE 6.

Firefox 1.0 was the fortunate (and this is part of what significantly accelerated development those days) situation of IE 6 having a deservedly horrible situation and no proper competition, aside from alternatives nobody cared about, and ones even fewer people cared about. A combination of beta geeks1 — those folks who fix their friends’/neighbors’/relatives’ computers — and the media made Firefox a huge success, and they had IE 6’s suckiness (particularly in the realm of security, or lack thereof), Microsoft’s refusal to provide new versions, and Firefox including cool features with it as good arguments.

In short, Firefox was a free and for the most part far superior alternative, and people had their beta geek friend to help them set it up. That is why it succeeded. I consider it foolish to believe that free software idealism pushed Firefox to the masses. It merely helped ignite its beginnings.

And therefore, we must ask ourselves which is more important: more idealism that may or may not make a difference another six years from now, or a solution right now that users will be pleased with?

I’ll take Pragmatic Choices For Consumers for $500.

  1. Hereby trademarked.

Tagged , , , , ,
Posted in Chuckellania

Share | 1 Comment

Others' Thoughts

# Robert Kosten

Since my video collection has been encoded in Theora for years, I am a member of the FSF (and thus firmly on the “idealism” side anyway) and I really never ever want to have something as patent-encumbered as h264 on my system (Legally they could actually ask for money when I simply play such a file, even though they have promised not to do that… Yeah, right…) I’d say, Theora for the win :-)

Your Own Thoughts

I'd love to hear your input. Just try to stick to a few rules:

Before you comment for the first time (or, after you have deleted cookies), you will have to answer a little challenge to prove that you are not a spammer.

Comments are written in Markdown.

Leave the country the same, but correct the continent, and end the sentence with a period instead.