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

Advertisement

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
Article Name
Firefox, Openh264, Gecko Media Plugins, and current state of development
Author
Description
Find out how Mozilla's implementation of Cisco's open source OpenH264 codec progresses, and what Gecko Media Plugins are.
Please share this article

facebooktwittergoogle_plusredditlinkedinmail

Advertisement

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

  1. RazielCuts July 18, 2014 at 10:54 pm #

    I don't have "media.openh264.providerEnabled" but I do have "media.peerconnection.video.h264_enabled". I have the latest Nightly x64.

    • Martin Brinkmann July 18, 2014 at 10:57 pm #

      I cannot see a difference between the two?

    • Martin Brinkmann July 18, 2014 at 11:04 pm #

      Provider comes when you set the first preference to true.

      • RazielCuts July 18, 2014 at 11:49 pm #

        I set "media.peerconnection.video.h264_enabled" to True and this plugin didn't appear.

      • Martin Brinkmann July 19, 2014 at 7:19 am #

        Try a restart.

  2. Marc Black July 19, 2014 at 1:29 am #

    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.

  3. RazielCuts July 19, 2014 at 6:43 pm #

    Didn't help.

  4. Dave July 19, 2014 at 7:05 pm #

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

  5. Erick Ribeiro July 20, 2014 at 8:31 am #

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

  6. Zsolt July 23, 2014 at 12:50 am #

    Does the codec have hardware acceleration?

    • Sean Sparacio July 23, 2014 at 4:02 pm #

      H.264 silicon is cheap nowadays, yes.

  7. Omega July 23, 2014 at 8:31 pm #

    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.

Leave a Reply