Slashdot Mirror


Firefox 33 Integrates Cisco's OpenH264

NotInHere (3654617) writes As promised, version 33 of the Firefox browser will fetch the OpenH264 module from Cisco, which enables Firefox to decode and encode H.264 video, for both the <video> tag and WebRTC, which has a codec war on this matter. The module won't be a traditional NPAPI plugin, but a so-called Gecko Media Plugin (GMP), Mozilla's answer to the disliked Pepper API. Firefox had no cross-platform support for H.264 before. Note that only the particular copy of the implementation built and blessed by Cisco is licensed to use the h.264 patents.

8 of 194 comments (clear)

  1. Re:Trusting a binary from Cisco by ledow · · Score: 5, Insightful

    But with access to the source code, it's easily possible to verify that the binary supplied corresponds to the source.

    That's how we know that TrueCrypt has no "binary" backdoors - we just try different combinations of compiling, noting the differences, until we find the one that Cisco used. If we never find the exact combination, the differences between a "known good" compile of the original source and the final binary make the amount of code to blind-check almost negligible in comparison.

    It's when people DON'T provide source that you should be suspicious, or when you can't get close to their source providing their binary.

  2. Re:So Kind of open? by Actually,+I+do+RTFA · · Score: 5, Informative

    The source is open: you can read it, you can compile it and compare binaries, etc.

    In fact, it is BSD licensed.

    But that only covers the copyright. The patent is not opened (nor owned by Cisco), and seem to prevent derivative works.

    Cisco paid the fees to use the patent in this one application, and open-sourced it to the world. Seems like a great solution, security-wise, and clever legally.

    And, it becomes just more BSD code when the patent expires in... what, a decade? Or if the new Supreme Court ruling is found to invalidate the patent.

    --
    Your ad here. Ask me how!
  3. bad for standards by l2718 · · Score: 5, Insightful

    Mozilla capitulating on the tag has serious implications for web standards. By including patent-encumbered code in the browser they take the rug from under those in the www foundation that argue for free web standards. Yes, some websites wanted to use H.264 for video encoding, but Mozilla shouldn't have abetted them.

    1. Re:bad for standards by tlhIngan · · Score: 5, Informative

      It also still doesn't give anyone permission to generate their own h.264 video files (outside of webrtc "video-chatting" inside the browser) legally without paying someone a patent "poll-tax" for permission, so this is still "consume-only".
      I'm also under the impression that there are,absurdly, potential patent-license issues with the .mp4 file format that h.264 video is most often stored in.

      Finally, of course unless the usual obstructionist Apple and Microsoft ever implement opus codec support, this also doesn't give you the legal ability to include sound (mp3 or aac, typically, for h.264 videos) with the video. Hope everybody likes silent movies...

      If you have a camcorder, the license to create h.264 is present as part of the camcorder. This includes phones and everything else people submit to YouTube, for example.

      The only constraint is that if you post content online, you cannot take payment on the content itself - i.e., you can put it online, you can put ads around it, but you cannot force someone to pay to view that content (commercial activity). So those videos on YouTube where you have to pay in order to view them come under a different license.

      As for the Mp4 format being patented - it's RAND by Apple ages ago (MP4 is a subset of the QuickTime MOV format). If Apple's asserting any patents on the format, that is. But since people mass-license the h.264 patents through the MPEG-LA, that means any patents Apple has on MP4 are included in the license fee you pay to create or display the content.

      Sound is licensed under a separate agreement - MP3 or AAC. Again, your typical MPEG-LA license for h.264 will probably include use licenses for AAC (most typical format) so you can have a soundtrack.

      If not, there's always PCM as well - handled by the format just fine.

  4. Re:Trusting a binary from Cisco by Actually,+I+do+RTFA · · Score: 5, Informative

    Cisco heard your concerns and has responded: Development and maintenance will be overseen by a board from industry and the open source community.

    --
    Your ad here. Ask me how!
  5. Re:Trusting a binary from Cisco by ArcadeMan · · Score: 5, Funny

    That's why I know I'm safe. I use OS X, which is a closed-source OS. And since it's closed, the government doesn't have access to it.

    I love the smell of bad logic in the morning.

  6. Re:Trusting a binary from Cisco by Wrath0fb0b · · Score: 5, Informative

    No. In fact it's absurdly difficult to reliably create reproducible builds. Debian has been working on this since at least 2009 (afaict) and has been plowing through issues but you still can't get an identical Kernel as the .deb. Heck, it was 8 weeks just for the Tor browser.

    It's not just the compilation tools, it's the entire build environment that needs to be homogenized. All kinds of components will insert uname/hostname and paths into the binary, filesystems list the contents of a directory in undefined order, timestamps and permissions are embedded into tarballs and documentation, different locale produces other weirdness.

    tl;dr: it's much harder than just installing an identical version of clang and hitting make.

    [ And, as an aside, this goes back decades. The infrastructure around builds was never designed with reproducibility as a design goal. We are basically retrofitting this new requirement on decades of legacy code that never even considered that we would want such a thing ... ]

  7. Re:Trusting a binary from Cisco by Anonymous Coward · · Score: 5, Interesting

    Not only will it be your choice to accept the binary, but Mozilla also shares those concerns. Hence why they're sandboxing the CDM plugins to limit their access and ability to do anything except what they advertise. We'll have the choice to trust Mozilla's work, disable it, or partake in an effort to confirm that it's as legit as we want, so I honestly fail to see any major issue here.