News for hackers. Stuff that matters.
Re:No double standards: supporting Google's push for WebM by spiffworks on Wednesday January 19, 2011 @10:08AM (#2119909)
You missed the most critical point, which is

"This license is fundamentally incompatible with software freedom. It requires developers to restrict how their software can be used, and to collect royalties in many situations."

And that is what it is all about. H.264 imposes end-user licenses and if it gets entrenched, freely redistributable browsers would lose. The argument against dropping H.264 is basically "why switch formats when what we have works?". H.264 does not work for free software. It's as simple as that. If HTML5 video suffers in the short term, that's the price we'll pay - at least that's the FSF's position.

>Everyone points to the GIF fiasco. The net result? PNG was born. If the screws are ever put to us on H.264, you'll see exactly the same thing, only quicker.

Why wait until a fiasco?

> Computing power being what it is today, the effort of re-encoding every video that exists on the Web is actually not that hard of a problem, and is certainly in the realm of what Google can do today, let alone 5-10 years from now.

Seriously, you're arguing against yourself here. Besides, what of the omnipresent 'hardware decoders' we keep hearing about?

Re:No double standards: supporting Google's push for WebM by cletus on Wednesday January 19, 2011 @11:01AM (#2120120)
> "This license is fundamentally incompatible with software freedom. It requires developers to restrict how their software can be used, and to collect royalties in many situations."

According to the FSF's definition of software freedom. The FSF has quite a radical view in this regard. A Microsoft exec once described the GPL as "viral' [1] and it's a fair point. Many view licenses like MIT and Apache as being more free simply because they're not as restrictive.

This ambiguity is more pronounced when you use words like "open" because it means different things to different people.

So it would be more accurate to say that H.264 is incompatible with the FSF's idea of software freedom.

> if it gets entrenched

What do you mean "if"? It already has.

> Why wait until a fiasco?

Because anyone who writes software knows that writing code to solve problems you may never have is a recipe for wasted effort if not outright disaster.

It's a bit like the standoff between the (former) Soviet Union and the USA: not a single shot was ever (directly) fired between the two but the threat of escalating conflict kept them in check (resulting in proxy conflicts in Korea, Vietnam, Afghanistan, etc but I digress).

Think about it this way: MPEG-LA could announce tomorrow that licenses now cost $1 trillion. The result? Obviously no one would pay and a new standard would arise pretty quickly. What if it was $1 billion? $100 million? The point here it is simply a question of degree.

So what keeps (and will keep) MPEG-LA in check is market forces, the limits of what people can and will pay and the threat of a free or cheaper alternative... much like any market. Switching formats is a process that can be automated so the transition cost isn't really that high.

[1]: http://en.wikipedia.org/wiki/GNU_General_Public_License#Vira...

Re:No double standards: supporting Google's push for WebM by _delirium on Wednesday January 19, 2011 @11:59AM (#2120394)
> So it would be more accurate to say that H.264 is incompatible with the FSF's idea of software freedom.

It depends on how you define "compatible", but H.264 is only sort of compatible with MIT-style licensing as well. It's compatible in the sense that, if you start with MIT-licensed software, you can slap on the required H.264 license and not violate any laws (MIT-licensed software can be relicensed under more restrictive terms). But it's incompatible in the sense that you can't actually choose to ship your software under the MIT license and the MIT license alone. In that sense, H.264's license is viral: any software that supports H.264 in any form must incorporate the the H.264 license.

Re:No double standards: supporting Google's push for WebM by spiffworks on Wednesday January 19, 2011 @11:14AM (#2120177)
Ok, here is how I define minimal software freedom - I give you a piece of software, along with source code, you are free to use it in anyway you please, or make your modifications and distribute it to as many people as you like. With H.264 bundled with a piece of software, that is not possible.

> This ambiguity is more pronounced when you use words like "open" because it means different things to different people.

I never once used the word in my post.

>What do you mean "if"? It already has.

You're arguing for the status quo. Everything seems entrenched until an alternative comes along.

You seem to completely ignore that the H.264 license is directly opposed to free software. There's a reason Chromium never supported H.264, while only Chrome did. Nobody except the patent holders benefits from a de facto patent-encumbered codec.

Re:No double standards: supporting Google's push for WebM by GHFigs on Wednesday January 19, 2011 @12:05PM (#2120416)
With H.264 bundled with a piece of software, that is not possible.

The decision to only support bundled codecs and refuse to let the user use anything else was made by Mozilla, Google, and Opera. It is not a spec requirement or technical necessity. The idea that a browser would be forced to bundle h.264 is quite evidently mistaken, as the browsers that do support it don't bundle it.

Re:No double standards: supporting Google's push for WebM by vetinari on Wednesday January 19, 2011 @12:22PM (#2120486)
The browsers that do support it run on the platform by the same vendor. IE9 runs only on Vista/7, where MS provides H.264 decoder. Safari runs only with Quicktime, where Apple provides H.264 decoder. So although the browsers do not come with decoders, they use their vendor's decoder and nothing else.

On the other hand, if Mozilla/Opera/Chrome used third party decoder, that would be support nightmare ("It works on my computer, but not on friend's! Please fix it!").

Re:No double standards: supporting Google's push for WebM by GHFigs on Wednesday January 19, 2011 @03:04PM (#2121040)
The browsers that do support it run on the platform by the same vendor.

I don't understand the significance. The same APIs are accessible to any other browser. If someone has evidence that Mozilla, et al. have been technically locked out of using the media APIs on Windows or Mac OS X, I'd be interested in the details, and if someone has evidence that they've been locked out of using the media APIs on Linux, I'll eat my hat.

they use their vendor's decoder and nothing else

I'm not sure what you mean. If you mean something like "Windows will only support h.264 and you can't use anything else", then that is exactly wrong.

Re:No double standards: supporting Google's push for WebM by vetinari on Wednesday January 19, 2011 @04:39PM (#2121370)
It is not only about APIs, but also about control.

Microsoft can always rely, that IE9 will supports whatever formats they want it to support. They know, that it will play H.264, because they ship H.264 with Vista and 7 and IE9 supports only Vista and 7.

Apple can also always rely, that Safari will display formats they want it to display. They know, that Safari will play H.264, because Quicktime ships with H.264 and Quicktime is bundled with OSX, or with Safari for Windows.

If Mozilla/Google/Opera outsource this to OS, they lose control. They will not know, what the browser will display (imagine handing off control about HTML/CSS/JS to Microsoft, when IE6 was going down and Firefox up. It would be like Firefox using IE HTML control to display HTML).

Another problem from the control perspective is inconsistent support among platforms. Platform A, it will play formats X and Y. On platform B, formats Y and Z. On C, X a Z. Do you see problem here?

Re:No double standards: supporting Google's push for WebM by ezalor on Wednesday January 19, 2011 @09:47PM (#2122386)
The handling of a <video> is outsourced to the OS.
Re:No double standards: supporting Google's push for WebM by vetinari on Thursday January 20, 2011 @03:38AM (#2123096)
For IE9 and Safari (except Safari for Windows) is is exactly the case. And because the OS vendor is the same as browser vendor, the effect is the same as bundling with the browser.

That is not the case for browser vendor without their OS. They cannot achieve the same effect.

Re:No double standards: supporting Google's push for WebM by spiffworks on Wednesday January 19, 2011 @12:52PM (#2120589)
If all browsers did that, web codec development would move at the same glacial pace as Windows version updates, not to mention losing any semblance of uniformity and all possible hope of changing the status quo in any meaningful way away from patent-encumbered codecs.
Re:No double standards: supporting Google's push for WebM by GHFigs on Wednesday January 19, 2011 @02:32PM (#2120918)
web codec development would move at the same glacial pace as Windows version updates

I'm not convinced that that is the case, but even if it were, the state of things with bundling codecs is being limited to what Google and Mozilla say is ok for them. You, the user, have no say in what you can view. This might be acceptable if you have supreme confidence in them (where is the next free codec going to come from, anyway?) but frankly I don't think they've earned it.

not to mention losing any semblance of uniformity

I find this extremely dubious. The incentive to publish in a format viewable by the widest audience applies regardless of what format that happens to be. Flash became ubiquitous for web video precisely because it was the most useful at achieving this aim, not because any browser decided to forbid other plug-ins. I see no reason to think that this incentive would dissolve if codec support was left open-ended.

changing the status quo in any meaningful way away from patent-encumbered codecs

This is is an ideological demand, not a spec requirement or a technical necessity. Which is my point: that is why these browser vendors are doing this. Not because they are forbidden from supporting h.264 (compare Epiphany) but because they're trying to push an ideology under which h.264 is heathen.

Re:No double standards: supporting Google's push for WebM by spiffworks on Wednesday January 19, 2011 @03:27PM (#2121140)
The whole point of moving things to the browser was to remove any lockin advantages a specific platform might have. That is the reason Flash gets so much hate from anybody who doesn't use Windows. Going back to OS-specific codecs would limit codec choice to what the OS vendor considers kosher. And lest we forget, its far harder to switch operating systems than it is to switch browsers. If you don't like Chrome, Firefox or Opera, nobody's stopping you from using IE or Safari.

> bundling codecs is being limited to what Google and Mozilla say is ok for them

What you are suggesting merely takes the power out of the hands of browser vendors and puts it in the hands of the os vendors. I trust Mozilla, and to a far lesser extent Google, more than I ever will trust Microsoft.

Re:No double standards: supporting Google's push for WebM by GHFigs on Wednesday January 19, 2011 @06:33PM (#2121763)
Going back to OS-specific codecs would limit codec choice to what the OS vendor considers kosher.

Not true. e.g.: http://xiph.org/dshow/ http://xiph.org/quicktime/

Why am I not free to do this with h.264 in "open" browsers?

Re:No double standards: supporting Google's push for WebM by nitrogen on Wednesday January 19, 2011 @08:16PM (#2122096)
Using operating system facilities to support video codecs, font rendering, image decoding, etc. is an unnecessary security risk. Independent browser vendors don't want to be blamed for someone else's bad code.
Re:No double standards: supporting Google's push for WebM by morganw on Wednesday January 19, 2011 @12:25PM (#2120499)
> A Microsoft exec once described the GPL as "viral' [1] and it's a fair point.

It's not. Plain old copyright is viral. A derived work's copying can only be done with permission of original and deriving author. If you use a commercial library, the license you paid for is that permission. If someone then creates a new work from yours, permission is needed from all three authors unless the original library came with those particular redistribution rights.

Re:No double standards: supporting Google's push for WebM by rimantas on Wednesday January 19, 2011 @10:13AM (#2119917)
Let's not forget that PNG is superior format compared to GIF. Also, let's not forget, that browsers were not dropping support for GIF's meanwhile adopting PNG. Sure, issue with GIF helped PNG, but I'd say it was destined to "win" anyway.
Re:No double standards: supporting Google's push for WebM by spiffworks on Wednesday January 19, 2011 @10:20AM (#2119947)
H.264 is probably superior to webm. I don't understand video codecs, but it's the consensus opinion among people who know this stuff. However, I fail to see how its relevant in any way. The tegra2 can already decode 1080p vp8 in hardware, and I'm pretty sure you wouldn't notice the difference between a 720p video in webm and another in H.264 in terms of performance on your x86 cpu. The inefficiency, if any, would be negligible.
Re:No double standards: supporting Google's push for WebM by patrickaljord on Wednesday January 19, 2011 @10:48AM (#2120061)
H.264 baseline codec is similar to vp8, not superior. And baseline is what is used on mobile and all hardware encoders, so the highest versions of H.264 don't even matter.
Re:No double standards: supporting Google's push for WebM by pohl on Wednesday January 19, 2011 @11:07AM (#2120143)
...baseline is what is used on mobile...

That's the market segment that the baseline profile was conceived for, but the phone in my pocket and the tablet on my nightstand both support the main profile. Sure, most content that I view on it is probably encoded in baseline, but there are 17 million iPads in the wild that support the main profile. Edit: it's not just iOS devices, either. The Playstation Portable supports the main profile too. There are around 62 million of them out there.

VP8 needs to skate to where the puck is going to be, as it were.

Re:No double standards: supporting Google's push for WebM by ZeroGravitas on Wednesday January 19, 2011 @11:28AM (#2120260)
The iPad really should have supported High Profile. No-one's going to encode a 3rd version for the iPad when everyone else jumped straight from Baseline to High, which means it's effectively Baseline.

Seems strange that the iPhone 4 got better specs so shortly after (much like the 256MB memory). I'm sure they'll fix it in the next rev though, which just increases the chance that rev. 1 devices will be served Baseline.

edit: I just checked and the iPhone's only 720p Main Profile too? I'm confused now, I was sure iPhone 4 went to High Profile.

Re:No double standards: supporting Google's push for WebM by pohl on Wednesday January 19, 2011 @12:01PM (#2120404)
when everyone else jumped straight from Baseline to High

Interesting. Which mobile device(s) did that, and what decoder chip(s) did they use?

Re:No double standards: supporting Google's push for WebM by vetinari on Wednesday January 19, 2011 @02:55PM (#2121008)
He is talking about content providers, not devices. It is really diificult to find main@ bitsreams in the wild.
Re:No double standards: supporting Google's push for WebM by Locke1689 on Wednesday January 19, 2011 @04:14PM (#2121298)
What? Who told you that? H.264 baseline is definitely superior to VP8. The 8x8 transform block basically ensures that.
Re:No double standards: supporting Google's push for WebM by vetinari on Wednesday January 19, 2011 @04:55PM (#2121424)
The x264 developer often cited by H.264 proponents. He wrote, that VP8 is slightly better than H.264 baseline.
Re:No double standards: supporting Google's push for WebM by Locke1689 on Wednesday January 19, 2011 @06:22PM (#2121730)
Jason GG? Yes. He did. When he agreed with me. He even confirmed my suspicion about 8x8[1].

[1] http://x264dev.multimedia.cx/archives/377

Re:No double standards: supporting Google's push for WebM by ZeroGravitas on Thursday January 20, 2011 @07:34AM (#2123420)
Quote from your link:

"VP8 is simply way too similar to H.264: a pithy, if slightly inaccurate, description of VP8 would be “H.264 Baseline Profile with a better entropy coder”

I believe this was written before the update that acknowledges that VP8 has a partial analogue for B-Frames (which aren't present in Baseline H.264).

Another quote:

"The primary weaknesses mentioned above are the lack of proper adaptive quantization, lack of B-frames, lack of an 8×8 transform, and non-adaptive loop filter. With this in mind, I expect VP8 to be more comparable to VC-1 or H.264 Baseline Profile than with H.264"

I guess it's arguable what he actually means because he's not explicit but I read both quotes together (and indeed the whole piece) as saying the VP8 spec is better than the H.264 Baseline spec. Whether that translates in the actual encoders, depends mostly on the particular H.264 encoder.