Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 459 +-   Examining the HTML 5 Video Codec Debate on Monday July 06, @02:39PM

Posted by ScuttleMonkey on Monday July 06, @02:39PM
from the we'll-cooperate-and-do-it-my-way dept.
internet
technology
Ars Technica has a great breakdown of the codec debate for the HTML 5 video element. Support for the new video element seems to be split into two main camps, Ogg Theora and H.264, and the inability to find a solution has HTML 5 spec editor Ian Hickson throwing in the towel. "Hickson outlined the positions of each major browser vendor and explained how the present impasse will influence the HTML 5 standard. Apple and Google favor H.264 while Mozilla and Opera favor Ogg Theora. Google intends to ship its browser with support for both codecs, which means that Apple is the only vendor that will not be supporting Ogg. 'After an inordinate amount of discussions, both in public and privately, on the situation regarding codecs for and in HTML5, I have reluctantly come to the conclusion that there is no suitable codec that all vendors are willing to implement and ship,' Hickson wrote. 'I have therefore removed the two subsections in the HTML5 spec in which codecs would have been required, and have instead left the matter undefined.'"
story

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • It's a toughy (Score:5, Informative)

    by 91degrees (207121) on Monday July 06, @02:40PM (#28598535) Journal
    Do we use an inferior standard or a closed standard?

    Maybe "implementation dependent" is the term we're after.
    • Do we use an inferior standard or a closed standard?

      Since it seems pretty likely most web users couldn't care less about open vs. closed software, the answer seems obvious - go with h.264, the superior but closed codec. And do it now before Microsoft wades in and decides to muddy things up with more embrace/extend/extinguish shenanigans.

    • Re:It's a toughy (Score:5, Insightful)

      by Draek (916851) on Monday July 06, @03:05PM (#28598813)

      Inferior standard. Judging from HTML4, by the time we could safely drop HTML5 support from our web browsers there'll be at least a dozen codecs that perform far, *far* better than H.264 does today so alleged superiority buys us very little, there'll still be a time where people interested in performance ignore the standard altogether. On the other hand, H.264's patent concerns will be with us for the next ~20 years, so Theora's advantage in ease of implementation will likely hold up for a much longer time.

        • Re:It's a toughy (Score:5, Informative)

          by maxume (22995) on Monday July 06, @03:25PM (#28599081)

          It matters very little. If Microsoft and Apple fail to implement Theora, the fact that the standard calls for it will not matter (because it will not be practical as a universal fallback).

          Mozilla can't license H.264 in a way that lets downstream packagers use it, so they don't want to put it in the standard either.

          The previous /. story discussing the email Hickson sent out covered this stuff pretty well.

          It isn't particularly hard to do things like put a flash fallback inside of a video tag, so people that want to use the standard but still have wide reach have lots of options (flash is the de facto way to play 'web' video today, so I don't think it is unreasonable to assume that this may continue).

    • Re:It's a toughy (Score:4, Insightful)

      by Chabil Ha' (875116) on Monday July 06, @03:18PM (#28598989)

      Why the false dichotomy? The market had already voted long before W3C threw in the towel. Apple wasn't going to budge simply because its hardware platform was geared for h.264. It would render the hardware obsolete because now you have to run a software decoder for Theora, sapping the battery for processing that a dedicated, low power h.264 chip already does.

      The problem with the 'open standard' is not necessarily its inferiority, per se, but its complete, utter lack of general market acceptance.

      • Re:It's a toughy (Score:5, Interesting)

        by nine-times (778537) <nine.times@gmail.com> on Monday July 06, @02:56PM (#28598701) Homepage

        I think Microsoft has lost the media wars, and they pretty well know it. (admittedly, just a guess) Expect their products to support H264 and AAC. The bigger fly in their ointment is probably improved web standards in general. They've been gearing up to fight Adobe (Silverlight vs. Flash) for the proprietary "rich web" market, and if HTML/CSS gets rich enough that we don't need a proprietary plugin, that might not end up being a market worth winning.

          • Re: (Score:3, Insightful)

            The desktop application market never vanished even after web apps became popular, so why assume that plugins and applets will not be worth fighting for?

            ...Because desktop applications have some real strengths where Flash/Silverlight have none? For example, I can't exactly work on a web application when the internet is down. On the other hand, Flash seems to be enjoying hogging CPU cycles and crashing browsers, plus ActionScript isn't much easier to use than JavaScript/HTML/CSS. About the only "strength" Flash has is that it is visually based (its easy for an artist to pick up). There is not a single advantage that Flash or Silverlight really have if HTML,

          • Re:It's a toughy (Score:4, Interesting)

            by MightyYar (622222) on Monday July 06, @03:19PM (#28599003)

            Flash, to my recollection, was pretty much limited to ads and mediocre games before YouTube came along. If YouTube dumped flash, would it still be deemed necessary by the average user? Certainly iPhone users seem to be getting along without it...

  • by Anonymous Coward on Monday July 06, @02:44PM (#28598577)

    Ars Technica has a great breakdown

    Oh, I totally agree. The best articles always insert two lolcats into their page so that we get a better idea of what's going on.

    Did I miss something or is it still 2006?

  • <video codec="blah"> and let the content providers decide.
    • Because otherwise you end up with the case that no one codec works in all browsers, so websites will have to support both formats by encoding all their videos twice. Instead, I suspect most website owners would just say "yeah....OR I could just keep doing it in flash and only worry about 1 format that can work in all browsers."

      • The whole point of the element is to allow content providers to choose one of the always supported formats and therefore know a-priori that it will work in the user's browser. A "choose one from this list" strategy, or creating a new plugin-hell for codecs doesn't accomplish this end.

        I disagree - the video element explicitly allows for several source files, so the whole point is not to allow only for one codec, or to mandate several codecs which are supported by everyone. That would have been nice, but hasn't been possible. As it is the video element is now being treated more like the image one - different browsers will support different image formats, but most will support a few core ones.

        The whole point of the video element is to allow pages to easily embed video files (as opposed to the messy complicated method using object elements). The video element allows for several encodings in order, so the process of choosing a codec is transparent to the user, so long as you can give them something they can play, and is painless for the provider, given that there are free options for converting to ogg.

        So it's quite possible right now, in theory at least, to serve video that every browser on every device can play (h.264/ogg/flash) - here's an example [camendesign.com].

        Life would be great if there was one clear unencumbered codec with no drawbacks, or at least a choice of a few (as there are for image formats), but there isn't one clear winner (ogg theora has definite disadvantages, the most important being lack of hardware support and quality issues). I think Apple should support Ogg, and see why Mozilla resist h.264 - there are strong arguments for both sides.

        In the meantime the video element makes presenting video possible without a plugin with any sane browser (i.e. not IE), and is a step toward native browser support when people converge on a codec (or several) as they did with image formats.

  • Apple and Xiph (Score:5, Interesting)

    by _Hiro_ (151911) <chad@ga m b i t.net> on Monday July 06, @02:45PM (#28598587) Homepage Journal

    It seems like Apple has something against implementing any Xiph codec... FLAC and Vorbis support in iTunes is nonexistent, and even with the QuickTime plugin, iTunes still doesn't have proper tagging support. And now refusing to add Theora support in Safari?

    Perhaps someone on the Xiph board did something to one of Apple's Media guys when they were kids or something?

    • Re: (Score:3, Insightful)

      by Anonymous Coward

      Perhaps someone on the Xiph board did something to one of Apple's Media guys when they were kids or something?

      Apple simply does not like free codecs because if customers are allowed to use them, then the corporation loses some control over the customers. That's the reason why people should refuse to buy anything from Apple and other companies with similar attitude towards their customers.

      • Re:Apple and Xiph (Score:5, Insightful)

        by truthsearch (249536) on Monday July 06, @03:22PM (#28599043) Homepage Journal

        Apple uses open standards in their MobileMe / .Mac implementation. They also write standards-based server components, like CalDAV. Their platforms' preferred 3d library is OpenGL, another open standard.

        Clearly they support many open standards, so it's not just about control over their customers.

    • Re:Apple and Xiph (Score:4, Insightful)

      by Anonymous Coward on Monday July 06, @03:05PM (#28598815)
      Regardless of why they have some hatred for Xiph who cares what Apple's doing? Just specify Ogg. Apple will either lose market share as people switch to a browser that doesn't suck or they'll cave and use Ogg. If you can get 3 of them to agree I'd say that's pretty good. Are we just going to stop bothering to innovate because Apple won't give us its blessing? Let's just rename Apple to "Microsoft" and call it a day.

      We (developers) are the ones that determine who wins the browser battles. We make the sites and we tell people what browser to use. FireFox didn't install itself on grandma's computer - that was us.
      • Re:Apple and Xiph (Score:5, Insightful)

        by 99BottlesOfBeerInMyF (813746) on Monday July 06, @03:19PM (#28599007)

        Regardless of why they have some hatred for Xiph who cares what Apple's doing?

        Ipod and iPhone owners care. Content providers looking to target iPod and iPhone owners care.

        Apple will either lose market share as people switch to a browser that doesn't suck or they'll cave and use Ogg.

        You're oversimplifying. This about more than just Web browsers. It is also about content services. When you don't have Google's Youtube on board with Ogg and you don't have iTunes on board with Ogg and it won't play on iPhones or iPods and you have little likelihood of that changing, specifying Ogg in the spec results in the spec not gaining widespread implementation and failing.

        Are we just going to stop bothering to innovate because Apple won't give us its blessing?

        Apple is one of the companies pushing HTML5 and already implements it in Safari. They aren't holding back progress so much as trying to push it in a different way than what Mozilla and Opera want.

        We (developers) are the ones that determine who wins the browser battles.

        I'd say the content providers have as much or more influence than browser developers. If the video element is implemented in a way content providers like iTunes and YouTube are not happy with, then it will be ignored by them and we''ll be stuck without any progress and a Web still locked into a fragmented mix and dominated by Flash video and Silverlight.

      • Re:Apple and Xiph (Score:5, Informative)

        by shutdown -p now (807394) <int19h.gmail@com> on Monday July 06, @03:23PM (#28599049)

        You misunderstand the nature of HTML5 standardization process. Unlike previous HTML iterations, which were designed by W3C committee which largely did not intersect with people who actually implemented it, HTML5 is a vendor-driven effort that had only recently came under the aegis of W3C (after the latter's XHTML 2.0 died a quick and painless death). Since it's vendor-driven, it's going to be exactly what the vendors can agree upon - no more, and no less.

      • Re:Apple and Xiph (Score:5, Insightful)

        by Evanisincontrol (830057) on Monday July 06, @03:51PM (#28599503)

        We (developers) are the ones that determine who wins the browser battles. We make the sites and we tell people what browser to use.

        Woah woah woah. That's a huge misconception that needs to be squashed right now: We, the content providers, do not tell the customer what browser to use; rather, the customer tells us what browser they're willing to use to view our content.

        Why do you think so many "IE6 approved" sites still exist? Because those website's operators desperately want people to continue using IE6? No, they do it because a very large number of people are still using IE6 and are going to continue using IE6 regardless of what browser we mighty developers to try "force" others to use.

        As someone else pointed out above, the problem with trying to hardball Apple into playing nice is that Apple will just sit and wait. When website developers go to create their sites and try to ensure cross-browser compatibility, their response to the problem will NOT be "Oh, Apple is just being douchebags. I'll just not bother supporting Safari until they support Theora." Instead, what they'll probably say is, "Hey, flash videos work in every browser. Why should I bother using this stupid VIDEO tag?"

          • Re:Apple and Xiph (Score:5, Insightful)

            by radtea (464814) on Monday July 06, @04:24PM (#28599955)

            The fact that it's open source or royalty free doesn't mean there are no patent trolls ready to file a lawsuit once Apple or Microsoft use it.

            Likewise, simply because the MPEG LA controls the licensing of KNOWN patents for H.264 doesn't mean there are no patent trolls ready to file a lawsuit once it gets adopted as a standard.

            There is also no assurance that the MPEG LA won't try to monetize their position as the sole licensing authority for H.264 if it were to be adopted into the standard. Unisys anyone?

            So Apple's case would only be plausible if they can show that there is any reason to believe that the software-patent-related risk is higher for Theora than H.264, and they have not done that.

  • irrelevant (Score:5, Insightful)

    by Anonymous Coward on Monday July 06, @02:45PM (#28598591)

    "Apple is the only vendor that will not be supporting Ogg"

    Except IE, which doesn't support, and has not announced plans to support, anything. Until they decide what they're going to do, it really doesn't matter what everyone else is doing.

    • Re:irrelevant (Score:5, Insightful)

      by nine-times (778537) <nine.times@gmail.com> on Monday July 06, @03:31PM (#28599165) Homepage

      Well it does matter, it's just that the matter is far from settled.

      Honestly, I think it is possible to overestimate the power of Microsoft's vendor lock-in. If they don't get in gear and really compete in the browser market, it's only a matter of time before it bites them in the ass. They've already lost of decent chunk of the market to these other browsers.

      If these browsers get to the point where they're all offering a clearly superior experience on the web, and Microsoft is still dragging their feet, they will eventually become irrelevant themselves.

  • by glwtta (532858) on Monday July 06, @02:46PM (#28598599) Homepage
    Apple and Google favor H.264 while Mozilla and Opera favor Ogg Theora.

    Right, while convenient, that doesn't strike me as a very comprehensive list of "major browser vendors".
    • It doesn't have to be an exhaustive list, it just has to have a few big names in support to mitigate the toppling effects of change.

      Because Mozilla are obviously the good guys because they're the ones I like, personally, Apple and Google need to cave into the will of the commons. The commons, of course, being myself.

    • by sam31415 (558641) <araltaln&gmail,com> on Monday July 06, @03:02PM (#28598791) Journal
      If you click through to Hickson's actual summary [whatwg.org], you can see why Microsoft is being largely omitted from the discussion:

      "Microsoft has not commented on their intent to support <video> at all."

  • by Guspaz (556486) on Monday July 06, @02:46PM (#28598601) Homepage

    They could have simply specified that a browser must support ONE of the two options, h.264 or Theora. This would have at least provided a reference to websites, such that they can guarantee that they need support no more than two codecs. Without a standard, they can't necessarily guarantee that a browser will support either. A third party browser may come by and decide to implement nothing but MJPEG since it isn't specified.

    I mean, there are legitimate concerns in both camps. Theora's hardware support is non-existent, and h.264 has expensive licensing fees. So why not allow browser manufactuerers to pick the one that best suits their position, rather than leaving it undefined entirely?

    A guarantee of at least one of two being supported is better than no guarantee at all.

    • by samkass (174571) on Monday July 06, @03:05PM (#28598811) Homepage Journal

      HTML doesn't specify what image format must be supported (PNG, GIF, JPG, etc); why is video any different? If HTML had specified GIF explicitly up-front, we'd all be in trouble when UniSys became dicks about it.

      Let the market decide. If h.264 succeeds despite the extra cost, it means folks found enough value to justify the cost. If DivX or VC1 come out of nowhere to take over the web we won't be left with an out-dated standard. If a sleeper patent hits Theora hard we'll be glad we didn't lock ourselves down.

      • by ianare (1132971) on Monday July 06, @03:34PM (#28599235)

        That's a good point, but the bandwidth and storage requirements of images pale in comparison to video. I've had to make sites using GIF for IE6 and PNG for browsers that don't suck (to take advantage of the alpha channel). It was a PITA, but the extra storage requirements were not that big a deal. Doing the same with video would be much more of a problem, even with today's cheap storage.

    • Re: (Score:3, Insightful)

      Theora's hardware support is non-existent

      Huh? Theora would have hardware support fired up within three blinks of its ratification as part of HTML5 and the release of browsers supporting it. For many (most? all?) instances, such "hardware" support is often implemented on DSP core(s), not a dedicated ASIC just for a specific codec, making the update just a matter of new firmware for existing systems.

      Allowing a "pick one" scenario means that third-party content providers have no freaking clue what format they can present their data in for their use

  • Hardware Encoders (Score:5, Insightful)

    by Nate53085 (782588) on Monday July 06, @02:46PM (#28598607)
    The best reason I have seen so far as to why Apple/Google favor H.264 is because their current products have H.264 hardware encoders in them. Switching to ogg/theora would hit battery life hard in these devices since it would have to be done in software. While I agree that its a selfish reason, its a reason better then "cause we want it". I would really like to see Theora succeed though, an open standard for web would be a beautiful thing
  • Why does it care? (Score:5, Insightful)

    by kindbud (90044) on Monday July 06, @02:47PM (#28598613) Homepage

    Really? Why does the HTML5 spec care what codecs are used? Why doesn't it just provide a way to specify which codec the author used to encode the media file, and let the browser prompt the user to get it if needed?

    • Re: (Score:3, Insightful)

      Indeed, as was done for pictures using the tag. HTML didn't specify a particular file format. You could use .bmp, .ico, .gif, .jpg, etc. Why on Earth would you WANT to standardize on a particular file format and lose that flexibility? Better file formats will show up over time and certainly you'd like to be able to use tem. The good formats will stick and become de facto standards. The not so good formats will fall by the wayside.
      • Re:Why does it care? (Score:4, Informative)

        by JCSoRocks (1142053) on Monday July 06, @03:11PM (#28598911)
        Because you end up with the craptastic situation like IE6 where they sort of support PNG but not really because they don't support transparency. If there isn't universal browser support for a format it might as well not even exist / be an option because you can't use it. If you have to code for IE6 you can't use transparent PNGs can you? So what difference does it make that you can "use any format?"

        If we go this route with video what options are left? Stick with flash? Encode everything in two different codecs and *hope* that the browsers all support one of the two? I don't know about you but I think those options suck.
      • Re:Why does it care? (Score:5, Informative)

        by shutdown -p now (807394) <int19h.gmail@com> on Monday July 06, @03:27PM (#28599111)

        The fear is that the "good format" in this case will be H.264, and once it will stick and become de facto standard, we'll have the same mess as with GIF all over again - since FOSS browsers won't be able to support it legally (at least in U.S.), nor free content creation/editing tools.

    • Re: (Score:3, Insightful)

      > Why does the HTML5 spec care what codecs are used?

      You somehow missed the whole discussion, didnt you? If a spec shouldnt care in what way content is encoded it is trying to show, what _should_ it actually care about?

      > Why doesn't it just provide a way to specify which codec the author used to encode the
      > media file, and let the browser prompt the user to get it if needed?

      And where should a free browser get a patented and thus non-free codec from? Or did you actually mean that a free browser shoul

    • by clone53421 (1310749) on Monday July 06, @03:17PM (#28598979) Journal

      At present, any time I'm surfing the Web and I get a popup telling me "You need to install 'X' to view this video", I assume it's a virus. I'd actually prefer to keep it that way... it's simple, at least.

  • XiphQT Components (Score:5, Informative)

    by Anonymous Coward on Monday July 06, @02:50PM (#28598643)

    http://xiph.org/quicktime/ [xiph.org]

    Adds support for Ogg Vorbis and Ogg Theora to QuickTime (which is used for nearly all media playback on OSX). Easy to install (but could be made easier easily - such as making into a .pkg), and makes Safari 4 work with <video> and Theora.

    Also, can we please stop whining about this in relation to the HTML5 spec? HTML has never specified file formats for media/objects (<img>, <object>) and it should *not* start now.

  • by SuperKendall (25149) on Monday July 06, @03:18PM (#28598985)

    You can use a single block of HTML below to provide video for everyone using the new tag:

    Video For Everybody [camendesign.com]

    It works on older browsers too, falling back on built in players or even flash if it has to. You simply provide it one .mp4, and one .ogg file and it uses which is best.

    Don't let this bickering stop everyone from moving to the video tag as soon as possible, which may then see further solution on a final standard.

    I have to say though, the hardware support aspect to me makes h.264 support a must. I also think Apple should support ogg too, but Mozilla really needs to support this de-facto standard for video (it's not just Apple using this in hardware).

  • Not another time (Score:4, Informative)

    by kmike (31752) on Monday July 06, @03:36PM (#28599267)

    I could swear I already saw this a few days ago here, on Slashdot. And indeed:
    http://tech.slashdot.org/story/09/07/02/184251/Browser-Vendors-Force-W3C-To-Scrap-HTML-5-Codecs?from=rss [slashdot.org]

    • Re: (Score:3, Insightful)

      It would be nice if Apple would go ahead and support OGG Vorbis and OGG Theora. Can any lawyerly folk give an idea of the worst possible scenario here? Someone steps forward claiming to have patented something in OGG, and Apple is forced to either strip support or pay a licensing fee?

      On the other hand, their method of supporting the video tag seems somewhat reasonable. It looks like any format that Quicktime supports, Safari will support in the "video" tag. It's not hard to go download the OGG Theora c

      • Re:Translation (Score:4, Informative)

        by timster (32400) on Monday July 06, @03:25PM (#28599079)

        Well, with a "submarine" patent, the patent holder will typically wait until the "invention" is in common use, THEN sue for retroactive damages. Those sorts of awards can get very expensive.

    • Re:Like Capitalism (Score:4, Insightful)

      by Chabil Ha' (875116) on Monday July 06, @03:23PM (#28599051)

      The market has already decided. But it wasn't decided because of software, it was decided on hardware. Theora does not have a dedicated hardware decoder that hardware makers can pull off the shelf and incorporate into their devices. h.264 does. And, when you take into consideration the sheer number of devices that have that chip installed (virtually every 5th generation iPod and forward from Apple) it becomes very easy to tell that h.264 was going to be the winner.

          • Re:Like Capitalism (Score:4, Insightful)

            by gbarules2999 (1440265) on Monday July 06, @07:31PM (#28602093)
            How can free software have a strategy for hardware at all? It's free software, not free hardware.

            Again, this isn't just free software that licensing this will damage. End users will pay the price for licensing. It's not free; not even freeware.

            And no, "free software" as a collective is not going in one direction. When the hell has any one type of software ever done that? Is "propietary software" going in one direction, too? Sure, parts have objectives - Gnome is going their pretty nifty Gnome Shell (which has no "me too" in it, I can assure you) and KDE is simply interested in polishing what they've got so far. The Linux kernel is working out filesystems and making things faster, all the while adding drivers. As a collective, these projects are making progress, but not in any distinct fashion. But then again, are all of the programs installed on the average Windows box also cohesively working as a team? I dare say not. You have a double standard for free software because you lump them together as if they should be a team, which is ludicrous at best.
      • Re:Like Capitalism (Score:4, Insightful)

        by MightyMartian (840721) on Monday July 06, @03:24PM (#28599067) Journal

        All I can say is "Fuck Apple".

          • Re:Like Capitalism (Score:4, Insightful)

            by MightyMartian (840721) on Monday July 06, @07:37PM (#28602141) Journal

            The key here is that pretty much everyone else is either going to be neutral on the codecs or is going to be seeking the least encumbered. If Apple wants to cripple its products, then I say "Fuck them". Apple is rapidly taking Microsoft's place as being the most pernicious abuser of vendor lock-in ploys. I could care less whether those poor little iPhone and Safari fanbois can't watch online videos because Steve Jobs and his pack of well-trained corporate trolls somehow think that trying to ignore open standards is a worthwhile pursuit. There is enough penetration by players like Google and Mozilla now that I think giving a bunch of worthless assholes like Steve Jobs and Co. the one-fingered salute can probably fly. It ain't 1985 any more, and those retards at Apple will either wake up to it, or find, once more, they're taking good hardware and marginalizing it.

If your bread is stale, make toast.