Code Monkey home page Code Monkey logo

h264ify-firefox's Introduction

h264ify-firefox

About

h264ify is a Firefox/Chrome extension that makes YouTube stream H.264 videos instead of VP8/VP9 videos.

Try h264ify if YouTube videos stutter, take up too much CPU, eat battery life, or make your laptop hot.

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.

Requirements

Firefox

Looking for the Chrome version? See: https://github.com/erkserkserks/h264ify

Installation

Install from here: https://addons.mozilla.org/firefox/addon/h264ify/

If all goes well, when you visit https://www.youtube.com/html5, you should see this:

Note: The current version of Firefox (35) doesn't support MSE, but when support arrives, h264ify will also block VP9.

h264ify-firefox's People

Contributors

anewuser avatar erkserkserks avatar xbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

h264ify-firefox's Issues

h264ify stopped working on FireFox

FireFox 123.0.1 (64-bit), the plug-in has stopped functioning recently, and the H264 override in another plug-in (Enhancer for YouTube) also fails. It looks like a back-end YouTube update has borked whatever method both plug-ins used to override the default V9 encoder.

My laptop, while nowhere near bad, always overheats and shuts down while playing YouTube videos specifically unless I crank the fan speed to maximum without the plugin.

Sadly, while this thing is pretty powerful for a laptop, it doesn't properly support the VP8/VP9 video codec and will consistently spike CPU temperatures to the point my laptop automatically shuts down. This isn't a problem with any other video player, online or offline.

My specs are:

CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.20 GHz

RAM: 16 GB DDR5

GPU: NVIDIA GeForce GTX 1050 Ti (12120 MB memory, 4018 MB VRAM, 8102 MB Shared Memory)

gives error for multiple video streams.

gives error for multiple video streams.

i tried it on the following sites:
image
image

and its fixed after disabling the extension

firefox is v 111 on ubuntu 22.04. apt version not snap

Loud static on Raspberry Pi 3

The add-on helps with the stuttering on videos, but introduces really loud constant static and weird distorted audio on top of it. I'm on a Raspberry Pi 3 with Ubuntu Mate 16.04, I'm assuming the hardware is at least part of the issue.

Video pauses when refreshing off-focus tab

Hi there,

When I want to play a music video in the background by refreshing it's tab when it's already open, it pauses after a sec or 5, the current workaround is to press Play on the actual video itself, stay on the tab for 5 sec and then go to another tab.

I hope this can be fixed.
Thanks in advance!

Add option to Block "AV1" video

user_pref("media.av1.enabled", false);

  1. When vp9 is blocked, youtube plays "AV1" video stream, which is not available in all resolutions:
    sdsdd
    (Firefox 68, windows)

  2. AV1 takes more than twice the amount CPU power to play than VP9.

  3. There is not any AV1 hardware acceleration yet on desktop GPU or snapdragon SOC.

h264fy is not multiprocess compatible

Or at least that is what firefox 49 reports when trying to install the extension in a multiprocess-enabled instance. Now that we are in the transition phase towards multiprocess becoming the default, could you look into it? Thanks.

As of 2017-05-01 Nightly marks the addon as legacy

It means it will stop working when FX 56 comes down the pike. Can you look into how to make this a WebExtension? (My educated guess is that the chrome code is a good start).

(Spookingly, this ended up being issue 13).

Languages

You may add the possibility of languages, if needed I help you in translate, in portuguese and another languages.

Disable ONLY VP9

I would like to disable only Vp9 and leave Vp8 active. Is it possible to add an option for this purpose or is there some Firefox config string to modify?

Add Firefox mobile (Fennec) support ?

It should be very useful, also a lot of people use Firefox for playing YouTube in background for music, this would allow better efficiency.
I can report bugs on my oneplus one.

Add Block 60fps option

I found the option to block 60fps video useful in the Chrome version. It would be wonderful to have it for the firefox version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.