h264ify – Hardware accelerated youtube playback with increased performance and battery life

h265ify logo

How it works

From their website:

“Makes YouTube stream H.264 videos instead of VP8/VP9 videos

By default, YouTube streams VP8/VP9 encoded video. However, this can cause problems with less powerful machines because VP8/VP9 is not typically hardware accelerated.

In contrast, H.264 is commonly hardware accelerated by GPUs, which usually means smoother video playback and reduced CPU usage. h264ify makes YouTube stream H.264 videos instead of VP8/VP9 videos.”

I have been using it for a while and in addition to being higher-performance, it also resolved some screen-tearing issues I was having with youtube video playback on linux. I highly recommend it.

Firefox Add-On: https://addons.mozilla.org/en-US/firefox/addon/h264ify/

Google Chrome Extension: https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal

Install MediaTek / Ralink drivers on Debian

Affordable Mediatek aka Ralink Wifi USB adapters are available on Amazon and Ebay. Unfortunately they do not work out of the box on Debian. You have to connect the machine to ethernet and install package “firmware-misc-nonfree”.

This should work for the following adapters:

RT2561 (RT2501 / RT5201 chipset)
RT2561S (RT2501 Turbo / RT5201 Turbo chipset)
RT2661 (RT2600 / RT5600 chipset)
RT2760 / RT2790 / RT2860 / RT2890 / RT3090 (RT2700P[D]/RT2700E[D]/RT2800P[D]/RT2800E[D]/RT3000E[D] chipset)
RT2870 / RT3070 / RT3071 / RT3072 (RT2800U[D] chipset)
RT3071 / RT3072
RT3290
RT2571W / RT2671 (RT2501USB / RT5201USB chipset)

To install, open a terminal window and type:

sudo apt update
sudo apt install firmware-misc-nonfree

That’s it! Restart the computer, and you should be able to connect to your wireless network.