Firefox, Openh264, Gecko Media Plugins, and current state of development

Martin Brinkmann
Jul 18, 2014
Firefox
|
18

Cisco announced back in October 2013 that it would release an open source H.264 codec in the near future that would be made available to open source projects so that these projects could integrate the codec into their applications without having to worry about licensing fees or integrating proprietary code.

Github was selected to host the OpenH264 repository and progress has been made ever since the announcement was made.

Mozilla too has been at work adding support for OpenH264 to Firefox. The organizations main goal is to use the codec for WebRTC even though it can also be useful for other encoding activities such as those on video hosting websites like YouTube.

A recent change marks the beginning of the integration of OpenH264 in the Firefox browser. Firefox Nightly, currently on version 33, will list the codec now under plugins if a switch is flipped in the browser's configuration.

How to enable it

open h264 codec firefox

  1. Type about:config into the browser's address bar and hit enter.
  2. Confirm you will be careful if you receive a warning.
  3. Filter for media.peerconnection.video.h264_enabled and double-click the entry to set it to true.

When you open about:addons afterwards and switch to plugins there in the sidebar, you will notice the new "OpenH264 Video Codec provided by Cisco Systems, Inc" listed on that page.

The codec is disabled by default and cannot be enabled at this point in time. A message reads "will be installed shortly" suggesting that it will be downloaded and installed in the next time.

openh264 video codec

The integration is interesting for a number of reasons. First, even though OpenH264 is listed under plugins, it is not a standard plugin, Mozilla files it under Gecko Media Plugins

GMP is a special purpose extension point for authorised 3rd party codecs and EME (Encrypted Media Extensions) CDMs (Content Decryption Modules).

Besides that, it is a component that gets downloaded and installed directly by the browser even though it is not maintained by Mozilla but downloaded from Cisco instead.

Mozilla had quite the discussion about how to handle this delicate matter. For now, it seems to favor the following decisions:

  • The video codec is listed under Plugins in the Add-ons Manager.
  • Users will have options to activate or deactivate it there.
  • Click to play support wont be implemented.
  • Automatic updates will be supported.
  • Target are all supported desktop platforms.

Mozilla is making good progress on the implementation and while it is only for WebRTC at the moment, it is possible that the organization will implement it for other purposes as well.

Summary
Firefox, Openh264, Gecko Media Plugins, and current state of development
Article Name
Firefox, Openh264, Gecko Media Plugins, and current state of development
Description
Find out how Mozilla's implementation of Cisco's open source OpenH264 codec progresses, and what Gecko Media Plugins are.
Author
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Xenozilla said on February 1, 2015 at 6:29 am
    Reply

    I really do not like that this was installed without my consent. I can’t seem to find any means to remove it. Is it possible to remove?

  2. Lim Lynn said on December 23, 2014 at 6:23 am
    Reply

    I wonder if the creator can allow uninstall the unnecessary addon when it seems to crash every single time.

  3. Tommy said on October 17, 2014 at 5:46 pm
    Reply

    was looking how to remove this thing from firefox but did’nt find any info but this site. anyone have a tip how to remove it from the browser? And i mean remove it not just disable it.

    1. Person said on October 25, 2014 at 2:53 am
      Reply

      Within the address bar type “about:config” click “I’ll be careful, I promise!” . Type in the search bar 264. Then set every Boolean variable to false.

  4. Duke said on October 15, 2014 at 11:35 pm
    Reply

    Updated to Firefox33 on Linux this morning, noticed Internet activity on launching Firefox, H264 installed. Closed Firefox and relaunched and there was an outbound connection, performed a quick netstat -A inet -p and found that Firefox with H264 activated was connecting to http://77.67.21.66 permanently on my system and on every Firefox launch – Why? After checking out the IP address it turns out to be Akamai Technologies who provide content delivery and of course tracking according to http://uk.ask.com/wiki/Akamai_Technologies?lang=en

    Wonderful as the technology is – and I’d love to get away from Flash although I can control that, I will give it a miss, have since gone back to Firefox 32 – now maybe I’m turning paranoid, overly suspicious, OTT etc, but I guess there’s a price to pay for some things in life….

  5. Scott said on October 14, 2014 at 10:07 pm
    Reply

    I followed the instructions and it still didn’t work.

  6. Omega said on July 23, 2014 at 8:31 pm
    Reply

    Note. Slashdot is reporting Gecko Media Plugins as a replacement for Google’s “Pepper”.

    That is not the case.

    This is only for EME codecs and its grim reaper DRM code. You can’t use it to implement/deploy anything other than a codec and the encryption module. You’d be better off with NPAPI.

  7. Zsolt said on July 23, 2014 at 12:50 am
    Reply

    Does the codec have hardware acceleration?

    1. Sean Sparacio said on July 23, 2014 at 4:02 pm
      Reply

      H.264 silicon is cheap nowadays, yes.

  8. Erick Ribeiro said on July 20, 2014 at 8:31 am
    Reply

    Thanks, all Cisco and Mozilla members, for making the Web better!!!

  9. Dave said on July 19, 2014 at 7:05 pm
    Reply

    I need to move to a genuinely open browser pretty quickly. Why oh why didn’t Opera fork Firefox?

  10. RazielCuts said on July 19, 2014 at 6:43 pm
    Reply

    Didn’t help.

  11. Marc Black said on July 19, 2014 at 1:29 am
    Reply

    There’s also mozjpeg 2.0:
    https://blog.mozilla.org/research/2014/07/15/mozilla-advances-jpeg-encoding-with-mozjpeg-2-0/

    Lots of interesting things happening on the Mozilla front.

  12. RazielCuts said on July 18, 2014 at 10:54 pm
    Reply

    I don’t have “media.openh264.providerEnabled” but I do have “media.peerconnection.video.h264_enabled”. I have the latest Nightly x64.

    1. Martin Brinkmann said on July 18, 2014 at 11:04 pm
      Reply

      Provider comes when you set the first preference to true.

      1. RazielCuts said on July 18, 2014 at 11:49 pm
        Reply

        I set “media.peerconnection.video.h264_enabled” to True and this plugin didn’t appear.

      2. Martin Brinkmann said on July 19, 2014 at 7:19 am
        Reply

        Try a restart.

    2. Martin Brinkmann said on July 18, 2014 at 10:57 pm
      Reply

      I cannot see a difference between the two?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.