Earlier in my article about HTML 5, we were excited to mention addition of open source video codec. But the bad news is here. HTML 5 will no longer specify Ogg Theora as its video codec, the Google employee who maintains the burgeoning web-coding standard has announced.
Ian Hickson wrote that he was reluctantly dropping the open standard due to opposition from Apple, and said the rival H.264 codec could also not be specified due to opposition from other browser vendors. This means HTML 5 will not specify a single codec for web development.
One of the key features of HTML 5 is its native handling of rich media such as video and audio. However, “there is no suitable codec that all vendors are willing to implement and ship”, Hickson wrote on the website of the Web Hypertext Application Technology (WHAT) Working Group, the coalition of companies working to develop HTML 5.
“I have therefore removed the two subsections in the HTML 5 spec in which codecs would have been required, and have instead left the matter undefined, as has in the past been done with other features like IMG and image formats, and plugin APIs, or web fonts and font formats,” Hickson wrote.
Hickson said that Apple will not implement Ogg Theora for Quicktime video due to “lack of hardware support and an uncertain patent landscape”, although he acknowledged that he may have oversimplified the situation in that assessment.
Google has implemented both H.264 and Ogg Theora in Chrome. However, Google cannot provide the H.264 codec license to third-party distributors of Chromium, the Linux version of Chrome, and has indicated a belief that Ogg Theora’s quality-per-bit is not yet suitable for the volume handled by YouTube, according to Hickson.
Opera and Mozilla — the latter of whom has built Ogg Theora support into its recently released Firefox 3.5 — will not implement H.264 due to patent and licensing issues, and Microsoft has “not commented on their intent to support at all”, Hickson wrote.
Hickson suggested two future scenarios: one where Ogg Theora support and use increases to the point where Apple’s concern regarding patents is reduced, in which case Theora becomes the de facto codec for the web; and one where the relevant H.264 patents expire and that standard becomes freely available, in which case H.264 becomes the de facto technology.
“The situation for audio codecs is similar, but less critical, as there are more formats,” Hickson wrote. “Since audio has a much lower profile than video, I propose to observe the audio feature and see if any common codecs surface, instead of specifically requiring any. I will revisit this particular topic in the future when common codecs emerge.”
Hickson noted in his post that he was “incredibly sorry” about the state of video codecs in HTML 5. “This is a terrible situation for the spec to be in,” he wrote. “I wish we had good answers instead of this quagmirish deadlock.”