Skip to content

Instantly share code, notes, and snippets.

@bytenekos
Last active December 12, 2024 00:55
Show Gist options
  • Save bytenekos/141d211093a0229a4c49b2883fcaf2a4 to your computer and use it in GitHub Desktop.
Save bytenekos/141d211093a0229a4c49b2883fcaf2a4 to your computer and use it in GitHub Desktop.
Getting HEVC in your browser

Enabling HEVC on firefox (on windows, for mac and linux see this)

Type in about:support into your url bar and do ctrl+f and search for HEVC.

If it says HEVC supported in any of the columns, you're good.

image

If it says HEVC unsupported in both columns, do the following (at your own risk of course :P):

  • Type in about:config into your url bar

  • Search for HEVC. You should see a setting called media.wmf.hevc.enabled image

  • Set it to 1.

  • Restart browser

  • Now go to about:support and see if you have HEVC support now!

  • If you don't, follow this guide and try again

Enabling HEVC on a Chrome based browser (Chrome, Brave, Vivaldi, etc)

If you're on windows or mac, it should just work ootb! If it doesn't then check the FAQ. If it still doesn't please send me a message in chat telling me so

If you're on linux, you might need to install libavcodec-extra if you're on an ubuntu based distro
(so do sudo apt install libavcodec-extra) (reference).


Google is your best friend here as HEVC support on linux seems a bit wonky with support for it (or any other search engine, I don't judge :P)

FAQ

Help! I'm on linux/mac and I don't see anything related to HEVC in about:config!!!

Again... see this

I'm on windows/mac and I'm not seeing HEVC on chrome!

Make sure you have hardware acceleration enabled! If you're using edge you might not see HEVC unfortunately. You can test what codecs you can play back here (HEVC is what you want to see working here)

I followed all the steps and I still don't get HEVC!

Send a message in chat if I'm live, I'll try to help out the best I can :P

I'm on mobile and I don't see any quality settings above 720p...

Make sure you're on the latest twitch app version. Twitch will not serve you any qualities that your app won't support (so no HEVC)

Why are you using HEVC if some people can't play back your stream at full quality???

I like testing stuff (even if for free xd). I'm part of a closed beta test group for twitch so don't worry, your favourite streamers aren't gonna be using HEVC just yet (unless I'm your favourite streamer, in which case wtf, I'm sorry to hear that)

Can I link/use this gist in my own streams (if I'm also testing HEVC)?

Sure thing! Please keep in mind that this gist is stylised for me specifically (with the jokes and whatnot xd) so if you're fine with that, go right ahead. If you have a github account you can also fork this gist and make your own changes to it! All I ask is that if you find some new information, PLEASE leave a comment here. My goal with this gist is that there's a "central list" of stuff that streamers can use to help out their viewers :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment