Hacker News new | ask | show | jobs
by eridius 4227 days ago
> Their historic sickening opposition to open codecs

What are you talking about? I'm not aware of any historic opposition to open codecs at Apple. Hell, they're still big into AAC, which is an open codec. And even ALAC is now open source and royalty-free.

3 comments

What are you talking about?

AAC is pay for use codec and Apple receives royalties for its use through MPEG-LA. ALAC was historically proprietary, it was opened only after it lost to FLAC. Apple never supported any codec, that was really free, like Vorbis or FLAC.

There's been plenty of detailed reports concluding for the small number of patent Apple holds, they don't receive anywhere near enough money to cover their own MPEG-LA fees. They aren't doing this out of financial interest — it simply isn't worth enough to them to justify that.
That does not matter, from financial perspective they still pay less, than any non-member of the MPEG-LA would, say Debian or Mozilla.

It also provides them a bit of control over potential competition, that they would not have with really open codec. They also make it inconvenient from licensing/business model to use in some projects, see what trouble these codecs cause to projects like Mozilla/Opera, Linux distributions, XBMC, VLC etc, which does hamper them significantly.

For Apple, that's competitive advantage.

The far bigger financial advantage for them is the fact that they hit the maximum fee — so they end up paying comparably little per user.

I'm not sure Apple is even that concerned about the competition from such projects — all their major competitors have no issue with paying the licensing charges.

It's worthwhile pointing out that Mozilla nowadays use H.264/AAC/MP3 support from the platform layer, as does Opera (though, yes, most Linux distributions do not ship such things by default — but that's a small percentage of the market) — and in Opera's case the argument to not support it was always one of philosophy (avoiding giving themselves a competitive advantage that works against a free and open web) rather than one of finance (Opera has plenty of revenue to pay for the license).

When there were all the discussions around HTML5 and mandated video codecs the reasons that Apple publicly put forward seem reasonable from their point-of-view: supporting video codecs that no major company has previously shipped bears a risk of patent infringement cases (and defending such cases is expensive, even if your odds of winning them are good!) that might result in huge fines/compensation. When the majority of the content on the web was already using H.264 (and it seemed dubious that many sites would support more than just H.264 unless everyone dropped H.264 support, which seemed highly unlikely to happen), there was no compelling market reason to take on that risk. The de-facto state was the web already relied on a non-free codec, and mandating a free one was only of marginal benefit if nobody started using it (yes, it provides a free common baseline, but de-facto everyone has to support H.264 as a baseline anyway, however sad that is). This isn't so malicious as it is accepting the reality of the market, sadly.

When almost all browser installs support H.264 already, you may as well use it for WebRTC. Would it be nice if the web didn't rely on H.264? Yes. But we're already at a point of relying on it, so we may as well rely on it elsewhere.

> This isn't so malicious as it is accepting the reality of the market, sadly.

What about the music market? Apple intentionally avoided supporting free codecs which are not patented. That's malice.

Yeah, the audio case is arguably far more interesting (enough major companies have shipped Vorbis and Speex that it is likely anyone holding a patent would've sued someone by now). One may speculate that by the time the iTunes Music Store launched (2003) they felt locked in to the set of codecs the iPod (launched 2001) supported natively (the CPU in it is weak, and while it is powerful enough for a modern, highly optimised Vorbis implementation, these didn't yet exist, and one must question running the CPU at almost total utilisation for heat/battery reasons…).
> And even ALAC is now open source and royalty-free.

Nothing stops them from supporting FLAC as well except their nasty attitude in general. FLAC is actually used by many services which sell music, unlike ALAC.

AAC is nowhere patent free.

>Nothing stops Mozilla from supporting JPEG2000 except their nasty attitude in general. JPEG2000 is actually supported by many image editors, unlike APNG.

I think in most of these cases the real reasons are more mundane - spending the resources on supporting extra formats would give them no competitive advantage (and a significant cost in terms of maintenance and security). It sucks, but that's the capitalist system for you.

That analogy seems to ignore that FLAC is literally the lossless format that is used everywhere - except on Apple devices, and has not and never had patent concerns. On top of that, ALAC is clearly based on FLAC but has effectively been worsened. It is pure and 100% literal NIH. The same can't be said for JPEG2000. Not even close.

Nobody's complaining Apple doesn't support actual MPEG ALS, for example.

Supported everywhere != used everywhere. In my experience, extremely few people use FLAC, because there's almost never a reason to care about having a lossless audio codec. I'm pretty sure I've seen FLAC mentioned by people coming up with reasons to complain about Apple several orders of magnitude more times than I've actually seen FLAC in the wild.
> Supported everywhere != used everywhere. In my experience, extremely few people use FLAC,

Way more than ALAC. Music in FLAC is provided by many music services and digital stores. Music in ALAC? I never saw it being sold anywhere.

> because there's almost never a reason to care about having a lossless audio codec.

That's utter nonsense. Any time you want to reencode your music, you care about the lossless codec for the source, otherwise you'll degrade your quality. For example if tomorrow some state of the art lossy codec comes out which reduces size / computational complexity of decoding (such as Opus for instance), you can reencode your audio library in it for usage in mobile devices and so on. But without lossless sources that won't be an option. Lossless codecs are functionally equivalent to audio CDs. Lossy ones are not.

> Music in ALAC? I never saw it being sold anywhere.

Because almost nobody has any reason to want lossless music. Anyone buying music in FLAC is deluding themselves if they think they can hear a difference between that and a properly encoded lossy codec like MP3 or AAC.

> Any time you want to reencode your music, you care about the lossless codec for the source, otherwise you'll degrade your quality.

True. But this is an issue for so few people as to be effectively zero. Extremely few people actually do this sort of thing, and I would wager that most of them aren't Apple customers to begin with.

If Apple had infinite engineering resources, then yes, it would be nice to solve every single problem for every person, everywhere. But Apple's engineering resources are not infinite, and it would be a flagrant waste of those resources to spend them on issues like this that impact effectively zero Apple users.

> Nothing stops Mozilla from supporting JPEG2000

Patents stop them (JPEG2000 is not a free format). FLAC is not patented. Q.E.D. Apple don't supported it just in order to be nasty to everyone.

>Patents stop them (JPEG2000 is not a free format).

Oh please, stop with this FUD. JPEG2000 is no different to Ogg or VP8 in that regard, both of which Mozilla is happy to ship. It was designed to be usable without having to licence any patents. Any known patents have been waived. The possibility of unknown patents remains but is vanishingly small by this point (other organisations much larger than Mozilla have been shipping JPEG2000 code for years).

http://www.jpeg.org/jpeg2000/index.html

>Furthermore, it includes guidelines and examples, a bibliography of technical references, and a list of companies from whom patent statements have been received by ISO. JPEG 2000 was developed with the intention that Part 1 could be implemented without the payment of licence fees or royalties, and identified patent holders have waived their rights toward this end. However, the JPEG committee cannot make a formal guarantee, and it remains the responsibility of the implementer to ensure that no patents are infringed.

What the fuck does Mozilla even mean by "free format" these days? It's an ISO standard, it was designed to be usable without paying any fees, there is a waiver of any known patents, it's been used across the industry for years without legal problems. I can't think of a single way that it could be made "more free". The only possible reason I can see is that it wasn't invented by Mozilla/Xiph. And really that is just pathetic and very much a "nasty attitude".

It's not fully patent free:

> It has always been a strong goal of the JPEG committee that its standards should be implementable in their baseline form without payment of royalty and license fees...

It's only for baseline.

> is no different to Ogg or VP8 in that regard

They are patent free, no strings attached, unlike JPEG2000.

I can't decide if you genuinely believe that Apple is deciding not to spend resources supporting FLAC because you think they have a "nasty attitude", or if you're deliberately misrepresenting the reasons that lead to such a decision.

Supporting FLAC requires investing engineer resources in doing this, and possibly legal resources as well. It's only something that Apple would do if there's any benefit to them doing it. And there doesn't really seem to be any benefit toward it. None of Apple's hardware supports FLAC natively, so adding support to SO X would actually be rather counterproductive as anyone using it would have to transcode it to some other format to get power-efficient decoding support on mobile devices anyway. And Apple's already had their own lossless compression codec (ALAC) for over a decade. Pretty much the only benefit to supporting FLAC natively would be to make things very slightly easier for the 0.0001% of their customers that acquire music in the FLAC format.

> Supporting FLAC requires investing engineer resources in doing this, and possibly legal resources as well. It's only something that Apple would do if there's any benefit to them doing it.

FLAC is patent free and actively used (commercially including) by many parties big and small, so this legal FUD is totally unconvincing. ALAC isn't supported in hardware any better than FLAC, so that argument completely misses the point.

> Apple's already had their own lossless compression codec (ALAC) for over a decade

And for over than a decade "couldn't find resources" to support FLAC which is actually used unlike ALAC. Poor, poor Apple.

> And for over than a decade "couldn't find resources" to support FLAC which is actually used unlike ALAC.

Are you really this uninformed, or do you just like to make things up when the facts don't go your way?

ALAC was created for the purpose of streaming audio between Apple devices. I believe it was first used to stream audio to an AirPort Express (which has audio output, so you can plug a speaker into it and stream music from iTunes to that speaker). I assume it's still used for that purpose, but it's also used for the more general category of streaming audio over AirPlay. Given that, I would wager that ALAC is used many orders of magnitude more than FLAC is, even if it's not directly exposed to the end user.

ALAC was pure NIH, since FLAC existed before it. And it wasn't even open until much later. Anyway, it's not any excuse for Apple not to support FLAC. It's irrelevant to this subject really.
He meant patent-free codecs, not open codecs. i.e. Vorbis, FLAC, Opus, Theora, VP8.
Yes, free codecs probably would be a better term. Open here refers not just to the availability of open source tools, but them being open for entry for any participant (including for example projects and individuals who can't pay any license fees).