The only people who should be pleased with this announcement are Adobe. Moving away from Flash will be an uphill struggle, and this makes it just a little bit harder.
The only people who should be pleased with this announcement are Adobe. Moving away from Flash will be an uphill struggle, and this makes it just a little bit harder.
So, I don't necessarily agree with this reasoning, but I'd suspect it goes like this:
The hardware point is quite valid; Apple doesn't manufacture all the hardware in, say, an iPhone (they buy lots of stuff off the shelf and assemble overseas), and would probably like to avoid the expense involved in not only finding and/or designing a Theora decoder but also integrating it into a space- and power-constrained device. And they've invested too much in H.264 to just drop it, so they'd have to make both work, which is even tougher.
The patent concerns, meanwhile, are probably less about minimizing exposure to possible patent claims and more about ensuring that Apple doesn't have significantly more exposure than any other major player. They have that situation right now with H.264: everybody's on a level playing field with respect to the known licensing, and if submarine claims pop up, Apple's not the only company vulnerable, so they wouldn't suddenly be at a huge disadvantage.
With Theora that situation doesn't exist yet; nobody's yet taken the big plunge into wide-scale deployment of Theora in the market, and Apple (and others, including Nokia) are skittish about being the first to do so, since first to market may end up being first to get sued, and then nobody else will want to use Theora, leaving them all alone exposed to patent claims. I suspect that if somebody else steps up and does Theora in a big way first, Apple will feel more comfortable following, since then they'll once again be maintaining rough parity of exposure.
Not to mention H.264 was designed with hardware decoding in mind, while Ogg Theora was not.
From reddit: http://www.reddit.com/r/programming/comments/8yhi6/decoding_...
Theora is derived from VP3 and neither were designed with hardware implementations in mind. VP3 uses funky high precision unsigned multiplication because it was fast on a Pentium II MMX back in the day. Theora carries this over and it makes hardware implementation a pain in the arse and virtually unimplementable in some cases ... H.264 was specifically designed with hardware implementation in mind and is thus pure 16-bit mathematics, at least through to Main Profile.
It would seem that for the embedded market, Theora is not going to happen anytime soon.
For starters "designed with hardware implementations in mind" is a double edged sword. It seems to me that H.264 used this as a crutch to a degree that maybe only makes sense if selling decoding chips is part of your revenue stream.
But it appears that even "hardware" implementations of H.264 don't even use ASICs anymore. They just use a seperate, but generic, chip with DSP. It's sometimes treated as a hardware black box by the rest of the system but inside it's software:
http://lwn.net/Articles/337101/
There's an OMAP version of Theora being built right now, (sponsored by Mozilla I tihnk) but I can't find the link right now. That should reset people's expectations somewhat in this regard.
http://archive.netbsd.se/?ml=mozilla-dev-planning&a=2009...
There's a summary post at the very end which says, Theora on portable hardware with DSP acceleration is very doable, and that they have a suitably qualified volunteer to do it.
"On performance:
* Right now we're getting 1-2fps with decoding video (wasn't sure what size, though?)
* Some people on the call had done testing and it's possible to do 24fps at VGA resolution of Theora decoding, not including YUV -> RGB conversion and without the painting overhead. This was on a 200mhz ARM chip. So we know it can go fast.
* It's very possible to port that decoding code to a DSP chip - someone did it at broadcom and was able to get 720p decoding at full speed on a 125mhz DSP chip. So we know this is possible.
* In theory because of the design of Theora we should be able to do better than H.264 in terms of performance and be able to match on power consumption as well. "
Here is a mail confirming that the work is underway: http://www.mail-archive.com/whatwg@lists.whatwg.org/msg15730...
This has now changed with Snow Leopard, but even then it's only one video card:
""While Apple has previously included graphics cards that have contained hardware support for H.264 decoding, the company has only recently taken advantage of this hardware acceleration. Mac OS X Snow Leopard's specs officially acknowledge this support but it appears to be limted to the NVIDIA 9400M graphics processors found in recent Apple laptops and desktops," Kim reports.
"Unfortunately, it does not appear that this support will extend to older video cards," Kim reports. "Hardware decoding of H.264 video improves the performance of video playback while leaving your computer's CPU free for other tasks."
Also, it's not like their hardware can't support it right now; Ogg video in Firefox 3.5 runs just fine on my Mac.
And right now that's going a long way toward killing Theora; mobile devices need a power-efficient hardware decoder to do video, and if they don't get one for Theora they're not going to run everybody's battery life into the ground by using software decoding.
It means, that if TI/Qualcomm/etc start developing Theora DSPs this year, they will be on the market and in the devices before HTML5 goes mainstream.
Standardizing on Theora is pretty good incentive to have it hardware accelerated.
Interestingly, when YouTube supported only Sorenson, Apple didn't care for that and went on ignoring YouTube. Why it is suddenly a problem?
However, remember that Apple is a MPEG LA member, so every time someone pays for H.264 license, a cut from the money goes to Apple.
For recent example why your theory of parity of exposure is not valid, see Microsoft vs. Alcatel-Lucent.
And what, pray tell, do you want me to take away from that?
My point is simply this: big companies know they can't avoid the possibility of patent trolls. The next best thing, then, is ensuring that your competitors in a given market are at least as screwed as you are if someone starts slinging lawsuits.
Having other people implement Theora first while they sit back and watch to see what happens gives Apple (and Nokia, which everybody still seems to forget) that position: if nobody sues immediately, they can choose to implement Theora and know they're no worse off than the competition. If somebody does sue immediately, they (Apple and Nokia) will just issue an "I told you so" and stay away from Theora.
Similarly, right now if somebody starts suing over submarine claims on H.264, Apple's not really any worse off than some of the other players.
This has nothing whatsoever to do with law or lawyers or courtrooms, and everything to do with managing risk.
"Similarly, right now if somebody starts suing over submarine claims on H.264, Apple's not really any worse off than some of the other players."
is simply not true. Microsoft properly licensed MP3 format. So did other companies. Lucent sued only Microsoft and not other companies. Patent holders can pick and choose who, when and where they will be suing for infringement. There is no duty to sue all known infringements.
But if you're the only company implementing the infringing technology, the risk is entirely yours. If lots of companies implement it, it's more of a game of Russian roulette; maybe they pick you, maybe not.
And historically, patent trolls don't seem to be quite so picky, and they're the ones to worry about. The Lucent suit demonstrates why it's so rare for bigger players to sue each other -- you end up with $BIGNUM suits and countersuits seeking damages which exceed the GDP of Switzerland, and that's not good for anyone involved.