119 points · by bcrescimanno · 16y ago · 125 comments
Nobody that hasn't already been wanking over it is going to start using Theora. Authors will just fall back to Flash playing h.264 in mp4 containers via HTTP like they've been doing for years, which Mozilla is eager to support.
There's nothing consistent about their principles.
Of course, since I'm so humble, you can ignore me.
The problem is when a browser doesn't support Theora/Vorbis at all, such as Safari or current news regarding IE9. I'm personally hoping that the released version of IE9 will support Theora/Vorbis -- very unlikely, but a man can dream.
I do know if you build your own Chromium you can use a non neutered library of ffmpeg and play every codec it supports instead of just mp4.
H.264 is great, and I look forward to being able to use it in 15 years or so[1]. But the only reasonable codecs I can use today are Theora and Dirac.
[1] http://arstechnica.com/open-source/news/2009/07/decoding-the...
Strangely enough, my gripes with Firefox have driven me to Opera, despite the "cute but useless" label you have slapped on it in such a cavalier fashion.
I'm guessing you are in the US since their denizens are famous for assuming the world stops outside their borders.
Opera + Chrome + Mozilla (i.e. Theora supporting) market share varies by region but is probably over 50% in every european country bar the UK and that will probably topple with the browser ballot.
Silverlight runs on top of IE6. Silverlight 3 has support for "plugable media codecs", which means that you can stream Theora/OGG content in Silverlight (I don't know if it can be hardware accelerated ... but it would work for non-HD content anyway).
Silverlight also has good browser/JS interoperability, which means it is possible to add support for HTML5 Theora in any IExplorer version without even asking the user if it wants to or not.
I couldn't find better references, but see here ...
http://www.atoker.com/blog/2010/02/04/html5-theora-video-cod...
http://tirania.org/blog/archive/2009/Mar-23-1.html
Penetration is already pretty good, and I'm pretty sure that within the next 2 years all IExplorer users will have Silverlight installed (Microsoft can always push it using their update mechanism).
You could do the same in Firefox ... add support for H.264 by using a Flash or a Silverlight applet in combination with a JS script that manipulates the HTML5 tags and communicates with the applet.
Since Silverlight is also running in Safari, you can add Theora support to it too (wouldn't work for iPhones, but still, it's pretty cool).
And it's all transparent. No confirmation dialogs.
It all depends on penetration rate of Silverlight of course, but recent stats (from riastats.com or statowl.com) puts it at ~ 45% ... jumping 10% from September (probably because of events like the Vancouver Olympics requiring it).
So web developers that are looking for a solution to streaming media that's standards compliant, can just do something like this.
Pretty ironic that the technical solution for this new format war comes from Microsoft.
I'm not sure if there's anything for Theora at all and I don't think there ever will be, considering that Silverlight can legally play back H264 out of the box anyway and anyone who does stuff in Silverlight (and generally Microsoft stack) is probably a pragmatist and not an ideologist who worries about the "freeness" of codecs.
From a consumer standpoint, not playing the video format everyone else plays goes against why so many started using FF in the first place.
I don't care if Theora is great, it's not what people are using right now. Maybe Mozilla can fight this battle on the next go-round, but right now they're the odd man out in a split which has all major browsers and many many content creators on the other side.
If Mozilla was Microsoft they could maybe try this, but they're not, and I think many people are frustrated by this video thing because to people who "just want good software," that was the message behind adopting FF from day one. Not militant idealism or everything should be free hippie coder talk or anything else - the impression they gave at least, was of practical and clean decisions to uncomplicated the lives of average users. Sometimes that means going with the flow, even if only for the time being.
The moment they reintroduce "why doesn't this just work" into the equation, they fail at the expectation they spent so much trying to create when Firefox first caught on. This fight is weird because it feels like "Mozilla the ideological open source organization" is battling against "Mozilla the practical and uncomplicated software for your previously complicated and annoying life" marketing campaign.
It won't cause them any sort of enlightenment, but it will make me feel a bit better.
Sure you could just offload the problem to the operating system via something like GStreamer but that just moves the target, it doesn't eliminate it. It just means anyone who distributes your OS gets into trouble rather than your browser distributor.
This is about eliminating the possibility of submarine patents for an essential feature like video, not just moving the target around.
Open Solaris tries to get around this, by getting you to pay for the codec after install.
Of course not paying is the ideal outcome, for most consumers.
Surely it's not hard to make an operating system and browser that makes it almost transparent to install a codec or bit of software.
I agree, get gstreamer or something else to work seamlessly. And at the same time, give me the ability to turn the damn thing off. I can already imagine, the state of web pages to come, it will be like a license to put video adds all over my webpage, and drag my cpu into hades.
I don't see anyway that FF could compete against them all if people can't watch videos in the browser.
Additionally, they are all owners of massive content sites that will be able to distribute the content as well, so it's a win win for them. They beat out FF as a browser and they beat out rival content distributors.
mozilla is in no position to be directly supporting h264, to suggest otherwise is just naive. its not a free codec and they simply can't afford to bet their future on the liability of massive royalties when the licensing regime changes (and it will).
their reasons for not indirectly supporting h264 via the OS is in my view valid but weak, would assume that this will be overcome with an extension of some sort in the future.
in any case encoding video twice really isn't a big deal.
Every major operating system on the market today (including Linux) has a media framework with support available for H.264. Mozilla's policy is to refuse to delegate to the OS for media handling, largely so that they'll have a political bargaining chip to try to push Theora on everyone else.
In other words, this is not a pragmatic or economic decision by Mozilla; it is purely an ideological decision, because they could -- if they chose -- support H.264 video easily and at zero financial cost to themselves and their users. What we should be talking about, then, is whether this is a good ideological stand to take.
(and, personally, I think it's the wrong stand at the wrong time; Mozilla should be holding off from making any decisions until the Bilski case is decided, because it may well turn out that there's no such thing as a software patent in the US)
According to http://www.streaminglearningcenter.com/articles/h264-royalti... there are "royalties for pay-per-view or subscription video". And this is just what is happening in the internet all over the place. Firefox can't even know if you look a "free" broadcast or just paid for an online stream, so they just have to pay to support this codec?
And in the end, it's not at last the uncertainty about the codec. MPEG-LA could just have said "Alright guys, browsers are free of charge, go ahead with HTML5, we'd like to see our codec in HTML5". Afaik, they didn't. Because there probably is quite a good amount of money to be earned from fees.
Screw that H.264 stuff, support theora or dirac and problems are solved.
But since you mention it:
MPEG-LA could just have said "Alright guys, browsers are free of charge, go ahead with HTML5, we'd like to see our codec in HTML5". Afaik, they didn't.
Personally I'm against having HTML5 specify any codec of any sort. HTML 4 and XHTML 1.0 are each over ten years old now, and HTML5 won't be broadly usable as a replacement for at least another year or two; given the rate of development in video codecs, mandating one in a spec with that sort of expected lifespan would simply be stupid.
But it's worth pointing out that MPEG-LA is currently exempting H.264-encoded online video from royalties (so long as it's provided free of charge to users -- hence YouTube and other video sites don't have to pay every time a video is played), and will continue to do so until at least 2015 (by which point the whole question of software patents may be moot), so rushing to draw lines in the sand now is -- as I already said -- rather premature.
thats what i meant by support via the OS. sorry i thought that that was clear?
linux generally doesn't ship with h264 and html5 offers video features beyond just embedding a video smack on a page. really think its more complicated then a "pure ideological decision".
but thanks, point taken and i will try to make my point more clear in the future.
Being an employee of a one of the largest online video providers, I can assure you that both we and our customers see multiple encoding formats as a big deal.
If anything, Mozilla's stance towards H.264 is an attempt to avoid the web ending up in a similar situation it did with GIF, where the format was deeply entrenched before the companies controlling the licensing began asking users to pay license fees. The MPEG-LA's recent announcement that internet streaming would remain free until 2015 is a direct attempt to achieve further entrenchment of the format. There is a very real possibility that they will ask for licensing fees come 2015. And we have no idea how much they might cost. Even with free streaming, most of the people in the video production chain need to pay license fees to the MPEG-LA right now.
People could (and did) create uncompressed GIFs to avoid the patent risk. For obvious reasons, uncompressed H.264 is not useful.
The last GIF patents expired in 2006 (the first, in 2003 after the 1.0 version of the Mozilla App Suite)
I think I'd argue one proprietary format is worse than two in terms of lock-in, monopoly power and misaligned incentives.
* Fork?
* H.264 HTML Video support via a plugin?
Why aren't these valid solutions?
It's purposefully architected to make a plugin very unsavory — you could do it with a plugin/extension that inspected every DOM for failed <video> embeds, dynamically replacing them with an <embed> of its own NSAPI plugin. You'd be guaranteed to get FOUC, poor detectablity, and regular breakage. At that point the author is better off just seamlessly falling back to Flash.
I'd like a citation for this please, or at least some synthesis based on some explicit rationale (which is what I expected on the with that em dash, instead of a non-sequitur).
This was made explicit when us proles discovered that Mozilla has had a GStreamer <video> implementation for two years, for use in their mobile port so that they have a hope of playing video in real time:
> My exclusive focus for this GStreamer integration has been to make it work with Fennec. Not enabling it in Firefox on platforms where GStreamer has been ported to, is as far as I know a political decision. https://bugzilla.mozilla.org/show_bug.cgi?id=422540#c105
Architecting against plugins is not new in the free software community. RMS purposefully designed GCC so that you couldn't interface with its internal representations to make it impossible to have independent language frontends, optimizers, or target backends. That led directly to ECGS, a complete fork of GCC away from the FSF's control after they let it languish and refused patches — the FSF lost and eventually blessed it as the 'real' GCC. Its closed architecture is the primary motive behind LLVM's ascendancy.
It's like a shareholder owned corporation deciding that making money is someone else's problem.
Only Windows 7 does.
Mozilla is asking us to side with them based purely on ideology and an impact to their bottom line as a corporation. And Mozilla is not a tiny garage operation anymore.
I imagine the HTML5 video tags are pretty deep in Gecko, but surely they could 'pave the way' with a clear interface for such an extension. And then use one that is developed by others. Isn't that one of the advantages of having a standardized <video> tag?
Reading this: http://shaver.off.net/diary/2010/01/23/html5-video-and-codec...
It sounds like Mozilla is worried about (a) encouraging a non-free web and (b) passing on licensing fees to other people who use their product downstream. But surely there is less risk in being 'side-stream' so to speak with licensed technologies, esp. under a standardized markup. Anyway, curious legal issue.
I've already paid for my H.264 licenses. Now I just want to use them. The PC to my left has a video card with licensed H.264 that I paid for and free software that harnesses it, the Mac in front of me has both a video card with licensed H.264 and a licensed software decoder and I paid for both, the Windows 7 VM running in the Mac even has a licensed H.264 decoder that I paid for, the phone to my right has licensed H.264 that I paid for, heck the linux-based set-top box in the living room has hardware in it with licensed H.264 decoding and as I'm sure you can guess I'll point out that I paid for that license too. :)
"If H264 become standard, every browser will have to pay the license fee."
Why? I just want Firefox to let me use the licenses I have already paid for.
All they have to do is defer to the appropriate operating system -level decoding support as many have suggested. That they are refusing to do so suggests to me that this has nothing to do with licensing fees and has everything to do with something else we've not quite uncovered yet.
At the end of the day, though, unless the Mozilla folks change their course I can easily see techies supporting family and/or business by saying "just install Chrome" the same way they used to (and to an extent still do, I suppose) say "just install Firefox" when their supported userbase complained about IE. The real risk now is that even if in the end Mozilla's issue is purely one of ideology it won't stop them from having become irrelevant in the process.
That might not be an unreasonable approach concerning some other aspect of video on the Web, but has only bad consequences in this particular debate.
As you can see, this debate involves Mozilla and co. versus detractors over the following two non-exclusive decision problems:
Support Theora? Support h.264?
But it's incredibly important to keep in mind the greater issue here motivating these questions, which is the desire for a baseline video format. As soon as anyone suggests delegating video decoding to the operating system, they're clearly divorcing themselves from this particular debate. Perhaps that kind of delegation is a solution to a problem concerning another aspect of video on the Web, but not this one, because it gains nothing in the pursuit for a baseline video format.
Support Mozilla for making the tough, but correct choice.
As for freeing On2 codec, google made it clear on their press release when they bought on2 that having an open video standard was primordial for the web. And again, it's in their interest to make the web the best platform possible, and having a free and open video codec usable by all is a huge part of achieving that goal.
Letting the On2 codec locked in a drawer would be a huge mistake, it would help mpeg4 be the ubiquitous standard making any alternative irrelevant and useless (like vorbis or aac were with mp3, even though vorbis and aac were actually better). If there is any time to make use of On2, it's now and that's by making it open source.
What we could use is their independent patent portfolio.
If the decoder is a paid for plugin. Then it makes sense for it not to be shipped.
Why can't Google buy out the h.264 tech and give it to us all?
Why do we need the video tag anyway?
Doesn't it make more sense to use existing codecs that already sit on the system? Why bundle the codecs in the browser, wouldn't it be better to work on a common architecture that can interface with codecs?