Quantcast
Channel: Pinguy OS Forum - All Forums
Viewing all articles
Browse latest Browse all 1646

Enable Hardware Acceleration in Firefox & Get 1080p in Youtube’s HTML5 player

$
0
0
Youtube’s HTML5 player in Firefox limits the maximum video resolution to 720p. Other video resolutions including 144p, 240p and 480p are also not provided.

To enable all available video resolutions in Firefox open a new tab and go to:

Code:
about:config

Then search for;

Code:
mediasource

Double click on;

Code:
media.mediasource.enabled

Code:
media.mediasource.webm.enabled

In order to change their value to “true”.

Next while still in about:config, search for;

Code:
layers.acceleration.force-enabled

Code:
layers.offmainthreadcomposition.enabled

And change their values to “true” to enable Hardware Acceleration.

Finally close Firefox and open a terminal and enter;

Code:
sudo bash -c "echo export MOZ_USE_OMTC=1 >> /etc/X11/Xsession.d/90environment"

Now if you open Firefox and check about:support you should see;

Image

If you don't see this. Look here to enable it in Firefox settings: https://support.mozilla.org/en-US/kb/upg...celeration

And Youtube’s HTML5 player should show all available video resolutions.

Image

If you would like to enable MSE & H.264.

Open about:config and search for;

Code:
media.fragmented-mp4.*

And set;

Code:
media.mediasource.mp4.enabled

Code:
media.fragmented-mp4.exposed

Code:
media.fragmented-mp4.gmp.enable

to “true”.

And;

Code:
media.fragmented-mp4.use-blank-decoder

to “false”.

Image

Now if you go to https://www.youtube.com/html5 MSE & H.264 will be enabled.

Image

EDIT#

If Firefox becomes a bit "Crashy". Set:

Code:
layers.acceleration.force-enabled

To “false”.

This will disable hardware acceleration but will keep all the other changes.

Viewing all articles
Browse latest Browse all 1646

Trending Articles