Skip to content

lordbasilaiassistant-sudo/BrightVids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrightVids 🔆

See dark movie & TV scenes clearly — on any site with video.

Ever watch a night battle scene and see... nothing? Plain brightness controls wash the whole picture out. BrightVids instead applies gamma correction (shadow lift) to the video itself: dark areas get boosted a lot, bright areas barely change. Dark scenes become visible while the image still looks like the movie.

Works on YouTube, Netflix, Hulu, Plex, Jellyfin, embedded players — anything that uses an HTML <video> element.

BrightVids icon

Features

  • Auto mode (default) — watches the video and adjusts itself: strong shadow lift in dark scenes, hands-off in bright ones, smoothly eased so it never flickers. You just set the Max boost cap. A live meter in the popup shows scene darkness and the boost currently applied.
  • Manual mode — a fixed shadow boost (gamma) you control, with presets: Subtle · Movie Night · Max.
  • Brightness / Contrast / Saturation fine-tuning sliders (apply in both modes).
  • Keyboard toggle: Alt+Shift+B — works even in fullscreen.
  • Per-site pause — turn it off just for sites where you don't want it.
  • Settings apply live to playing video and persist across sessions.
  • No tracking, no network calls, no analytics. Everything stays in your browser.

Install (from release zip)

  1. Download BrightVids.zip from the latest release.
  2. Unzip it anywhere (e.g. Documents\BrightVids). Don't delete the folder afterward — Chrome loads it from there.
  3. Open Chrome and go to chrome://extensions.
  4. Turn on Developer mode (toggle, top-right).
  5. Click Load unpacked and select the unzipped folder.
  6. Pin BrightVids from the puzzle-piece menu so it's one click away.

That's it. Open any video, hit a dark scene, click the icon, and drag Shadow boost up.

Install (from source)

git clone https://github.com/lordbasilaiassistant-sudo/BrightVids.git

Then follow steps 3–5 above, selecting the cloned folder.

How it works

A content script injects an SVG feComponentTransfer filter with type="gamma" and applies it to every <video> (including ones inside open shadow DOM and iframes). Gamma with exponent 1/boost maps pixel values nonlinearly — a pixel at 10% brightness with boost 2.0 becomes ~32%, while a pixel at 90% only becomes ~95%. That's why shadows open up but highlights don't clip.

Auto mode samples the main playing video into a 64×36 canvas ~2.5×/second, computes a luminance metric (median + mean, with letterbox bars excluded), maps darkness to a target boost capped at your Max boost, and eases the live gamma toward it — slow enough to be invisible, with a faster snap across scene cuts.

The brightness/contrast/saturation sliders are standard CSS filters chained after the gamma stage.

Notes

  • The gamma filter works on DRM-protected streams (Netflix etc.) because it's applied at compositing time, after decode. Auto mode's frame sampling, however, is blocked by DRM — so on protected streams auto mode falls back to your manual shadow-boost value and the popup says so. On YouTube, Twitch, Plex, Jellyfin, and most sites, auto works fully.
  • If a site looks wrong with the filter, use Pause on this site in the popup.
  • To change the keyboard shortcut: chrome://extensions/shortcuts.

License

MIT

About

Chrome extension that makes dark movie/TV scenes visible — gamma shadow lift on any video, without washing out the bright parts.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors