Slashdot Mirror


Mozilla Adds H.264 Support To Android Firefox

sl4shd0rk writes "Chris Double of the Mozilla developer team has (H.264, AAC and MP3) working with the Android version of Firefox on a Nexus S handset. Although a preliminary patch, it looks like it is on track to be included in Firefox 17, which will enter the Aurora channel at the end of the month. It will be some time before being made available to users, so hang in there. A very welcome addition. Thanks Chris!"

17 of 77 comments (clear)

  1. WebM by Tufriast · · Score: 2, Interesting

    No offense, but what happened to the "WebM is super double plus good, and all we're gonna nom-nom on" dogma that was touted? I'm happy that they are adding support for H.264, but after all this baby mama drama, what was the point? I'm wondering what happened internally to reverse this choice. Was it a matter of "the world has moved on" or "we're just gonna make the best UX possible" that drove the decision?

    --
    Help me, help you. - Jerry McGuire
    1. Re:WebM by idontgno · · Score: 4, Informative

      This happened.

      Mozilla bloggery indicates that, at least on mobile platforms, WebM is just a non-starter. H.264 is already out there in hardware (all bastard patents tidily licensed, all i's dotted, all t's crossed); WebM wasn't getting any traction; and Google didn't look all that serious. (Protip, Google: if you threaten to pull H.264 support in Chrome in order to strengthen WebM's hand, you need to follow through within at least a couple of years. Otherwise, you just look like a poser chump.)

      Mozilla was supporting Google's play, and Google stopped playing.

      I think it boils down to "the mobile world has moved on".

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    2. Re:WebM by VortexCortex · · Score: 4, Informative

      And then there's folks like me, who need to render out video from their games, and would like to enable end users to click a button and have the replay of game footage uploaded to youtube (or placed in a folder) -- because I need to make the video w/o screen recorders myself anyway. I have a plugin system for handling the video encoding so I can create multiple encoders, but the only encoder I can actually AFFORD to ship is WebM (or Theora, but I only have so much time)... I'm using Google's code at current in my WebM plugin implementation, but I've seen many cases where I could create GPU shaders to do WebM encoding or decoding more efficiently than they do... My software is a Game, so I can rely on the minimum GPU specs being higher than WebM can afford at present. I don't see any reason that WebM couldn't detect the shader support and use hardware decoding over CPU decoding if available.

      As mobiles get more powerful shader support, and heterogeneous computing becomes more pervasive, I don't see any reason to choose H.264 over WebM -- The patent and licensing BS of H.264 are enough to swing my vote to WebM. "Hardware Decoding" out of the box doesn't mean a whole hell of a lot if either decoder is running on the GPU... It's really all about adoption. Google didn't get GPU MFGs on board for their implementation for whatever reason, so we have H.264 "in hardware"
      o_O (I suspect this means it's in that binary blob that gets uploaded to the GPU, so "in firmware" would be a better name for it).

      I wonder what sort of license Mozilla has? I mean, Will I still be able to compile my own Firefox and get H.264 support via their licensing deal? Actually this isn't "Mozilla" it's just some dude who works for Mozilla. It would be like a Ford factor line worker adding hydros to her personal Mustang, then someone headilnes: Ford is experimenting with crazy-ass Hydrolic lift kits on new Mustangs!

  2. Re:Sanity prevails by fuzzyfuzzyfungus · · Score: 5, Informative

    "Mozilla decided that, where available, Firefox should take advantage of the media decoding capabilities supplied by the underlying hardware and operating system. This approach means that Mozilla won’t have to license patent-encumbered codecs or include built-in decoders in the browser—it can just use the decoding capabilities that are already present in relevant environments."

    Given that the vast majority of smartphones seem to be based on SoCs with hardware h.264 decoding as an option, usually turned on, I suspect that it is largely a dead issue on the mobile side. Nobody can really afford to not support it at all, full stop, that capability stubbed out in the little crypto blob that controls the hardware decoder; and once you've enabled it, there is minimal additional complexity(and no legal entanglement) for Mozilla or anybody else who wishes to ask the decoder to do some decoding.

    On the desktop, where hardware decoding cannot be as reliably depended upon, or in relatively closed embedded systems where cost is a major factor, there might still be room.

    (Alternately, it could be that Google doesn't really give a damn about formats, they just care about licensing fees, and only need WebM to be plausible enough to keep the MPEG-LA running a little bit scared, not enough to run them into the ground, which is likely too expensive to be cost effective.)

  3. I find your use the of subject line by Anonymous Coward · · Score: 5, Funny

    refreshing.

  4. Re:Sanity prevails by Richard_at_work · · Score: 2

    Google is trying to sneak WebM in through the back door by making it a mandatory codec for WebRTC - which would, coincidentally, make it the *only* mandatory codec for the next generation of web technologies (HTML5, WebRTC et al)...

    Thats why you haven't heard anything from Google - they've switched to stealth mode and are trying to do an end run around the opposition.

  5. Not good news by Anonymous Coward · · Score: 2, Insightful

    Distributing software that can decode H.264 costs money.

    Making H.264 the de facto standard means only rich companies will be able to develop web browsers (or other devices/services that play H.264).

    Would we have had the same amount of competition if other web formats/standards required paying licenses? (stuff like JPG, PNG, GIF, JS, ...)

  6. Re:Sanity prevails by ZorinLynx · · Score: 5, Insightful

    This is not a battle we can win.

    Everyone is using h.264. Not supporting it just makes your product inferior as it won't support as many websites as one that does.

    We are just going to have to deal with it. Eventually the patents will expire and it will no longer be a problem; we just have to make the mistake of not choosing an encumbered standard NEXT TIME once h.264 is obsolete.

  7. Re:Sanity prevails by Verunks · · Score: 3, Insightful

    on the desktop both windows and osx have an integrated h264 decoder, on linux is probably just a matter of installing ffmpeg or something like that

  8. Re:Firefox is irrelevant by LordLimecat · · Score: 2

    People who want a refuge while Chrome's pepper-flash is un unstable lump?

    Im just happy they finally have their update system finally in order.

  9. Re:Sanity prevails by fuzzyfuzzyfungus · · Score: 2

    XP doesn't, not sure about Vista(and there may be some ghastly mess with 'business' and 'home basic' vs. 'home premium' or some nonsense).

    Generally, though, the bet among pragmatists seems to be that, sooner or later, Mozilla will go down the 'just expose platform's preferred media decode system' road(though that would increase the amount of platform specific code, and would actually gimp support for things like webM and ogg vorbis/FLAC, since those tend not to show up by default in quicktime or directshow). Mobile is an unsurprising starting point, since the delta(in performance and battery life) between hardware decoded and software decoded-on-some-horrid-little-ARM is so dramatic; but the bet seems to be that the desktop version will probably go that way at some point.

  10. Re:Sanity prevails by KingMotley · · Score: 3, Informative

    XP does/did. Every Nvidia card and integrated chipset with onboard video made since 2004 has had h.264 hardware decoding included, with the exception of the 6100 made around the same time.

  11. Re:So bloated it won't run on my 3-yr-old phone by g8oz · · Score: 2

    Try Opera. Seriously.

  12. Re:Firefox is irrelevant by kelemvor4 · · Score: 2
  13. Re:So bloated it won't run on my 3-yr-old phone by EmagGeek · · Score: 2

    Mine's been running since this morning with 6 tabs open and is sitting right at 1.6GB.

  14. Re:Sanity prevails by Kjella · · Score: 2

    We are just going to have to deal with it. Eventually the patents will expire and it will no longer be a problem; we just have to make the mistake of not choosing an encumbered standard NEXT TIME once h.264 is obsolete.

    Doubtful, the work on HEVC is already in draft status and will probably be submitted for final approval in January 2013. That said, the significance is going down, for example I don't think many people outside technical communities care much about MP3 vs AAC vs OGG Vorbis anymore. With fiber and other superbroadband rolling out H.264 vs HEVC might not make that huge a difference. I know at least with myself that I manage to download everything I want just fine with H.264, sure it'd be nice if it took half the bandwidth and half the disk space but it's not revolutionary.

    --
    Live today, because you never know what tomorrow brings