6

Firefox on Fedora with OpenH264

 3 years ago
source link: https://mastransky.wordpress.com/2020/09/30/firefox-on-fedora-with-openh264/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Firefox on Fedora with OpenH264

h264_stats.png?w=980

Firefox on Fedora which sits in the updates [F32][F31] right now comes with enabled OpenH264 Cisco decoder for video playback and fdk-aac-free used for audio decoding.

It’s implemented by GMP (Gecko Media Plugin) API so the OpenH264 is not used through ffmpeg library but Firefox sandboxed interface, the same as Firefox uses for Widevine CDM plugin.

The OpenH264 GMP video playback is a fallback solution when system ffmpeg is missing and internal ffvpx library can’t decode the stream, so ffmpeg from RPM Fusion is always a better alternative if you can install it.

The video streams are decoded by system wide OpenH264 2.1.1 which is shipped by Fedora as mozilla-openh264 rpm package. Even if Mozilla OpenH264 (1.8.1) plugin is installed in your profile and claimed at about:plugins page, the Fedora system one is used.

You can also remove the old plugin from your profile (see Bug 1648024 for details) and with the updated Firefox packages ([F32][F31]) it won’t be installed again.

OpenH264 plugin utilization, version and playback parameters can be confirmed from GMP log, just run Firefox on terminal as:

MOZ_LOG=”GMP:5″ firefox

and look for OpenH264 version / path and so on.

Also if you find any bug during video playback (and you definitely will find one :-)), please report that at bugzilla.redhat.com or Cisco bug tracker along with the video link.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK