Lightweight Chrome extension that offloads YouTube video playback to MPV player using hardware-accelerated H.264.
Ideal for older laptops where VP9/AV1 decoding is not hardware-accelerated.
Modern YouTube videos use VP9 or AV1, which often lack hardware acceleration on older systems. This leads to:
- π₯ High CPU usage
- πͺ Loud fans
- π Reduced battery life
This extension:
- π§ Keeps your laptop cooler
- π Runs quieter
- π Improves battery life
- π Uses MPV with H.264 fallback (hardware-accelerated)
- Adds a toolbar button and right-click menu
- Sends current YouTube video URL to native Python script
- Plays video in MPV with a format string that prefers H.264
- Works out-of-the-box on Linux
- β Supported: Linux (x11/Wayland)
- β macOS: not yet supported (due to app sandbox and MPV launch issues)
- β Windows: not yet supported
from here and extract it locally, or...
git clone https://github.com/klimanek/ChillTube- Go to
chrome://extensions/ - Enable Developer Mode
- Click Load unpacked and select the
extensionfolder - Copy the extension ID
cd ChillTube# ChillTube package structure
βββ install.sh
βββ README.md
βββ extension
βββ yt_h264.pyOpen install.sh in your favorite text editor and insert the copied extension ID:
EXT_ID="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # change thatThen run:
sh install.shCurrently supported:
- π¬π§ English
- π¨πΏ Czech
Feel free to contribute translations in your language!
- Add macOS support (via IINA?)
- Optional in-video button
- Preferences/config panel
- Windows support
MIT
YouTube overheat, loud fans, battery drain, MPV player, H.264 fallback, yt-dlp helper, external player for YouTube, Chromium extension, older laptops, fanless playback, AV1 problem, VP9 decoding issues