Enable Media Source Extensions, MSE & H.264, Firefox, Opera

Post tutorials, HOWTO's and other useful resources here.
Post Reply
Posts: 583
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland

Enable Media Source Extensions, MSE & H.264, Firefox, Opera

Post#1 by tome » 03 Dec 2015, 10:18

For Firefox:
1. Go to https://youtube.com/html5
- If you have all the boxes in blue, you have the functions active, you don' t need to do anything, else follow the steps below.

2. Open about:config in Firefox
3. Change the value from false to true for:
- media.mediasource.enabled
- media.mediasource.webm.enabled
4. Create media.mediasource.ignore_codecs value: Right-click -> New -> New Boolean value -> media.mediasource.ignore_codecs -> save the value and select true.
5. Change the value from false to true for:
- media.fragmented-mp4.exposed
- media.fragmented-mp4.ffmpeg.enabled
- media.fragmented-mp4.gmp.enabled

Source: https://www.youtube.com/watch?v=XtR9YIDFhYI

For Opera (chromium based):
Download chromium-codecs-ffmpeg-extra: http://pkgs.org/search/?query=chromium- ... mpeg-extra
Replace libffmpeg.so.33 (33 is an example, find this file in opera/lib dir) with libffmpeg.so from downloaded package and rename it like removed one (here: libffmpeg.so.33)
Sometimes it may not work - "renderer crashes when trying to play .H264 video. We are working to fix it as soon as possible."

Black ninja
Black ninja
Posts: 95
Joined: 20 Sep 2015, 21:02
Distribution: Arch, Porteus-Nemesis 3.5
Location: London > . < Paris

Re: Enable Media Source Extensions, MSE & H.264, Firefox, Op

Post#2 by datruche » 21 Dec 2015, 22:32

First time I get Firefox with *all* html5 video formats ON on the youtube test. ANd that happens on Porteus live on an old Atom/gma500 box. Wooow tome :beer:

EDIT: Allowing Fx to play h264 videos made it play youtube vids pretty well on the dreadfull gma500 "Intel" Graphics :D As CPU usage is then slow, compared to playing any 720p format on the desktop (*no* XV CPU @ ~100%) I believe it now plays web videos with the otherwise unavailable hardware acceleration of that fu*kin son of a su*ker b*tch PowerVR SGX based chip.

User avatar
Posts: 1440
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Enable Media Source Extensions, MSE & H.264, Firefox, Op

Post#3 by Rava » 24 Dec 2015, 05:45

In my recent palemoon (Firefox clone) none of the mentioned settings existed,so I created them all (as bolean) and reloaded the youtube page [ https://www.youtube.com/html5 ] , but sadly, it not worked. Only 2 of the 6 boxes are blue.

Seems I have to ask on the palemoon forum for more info... :(
Yours Rava

Post Reply