WesselKroos / youtube-ambilight

This browser extension adds ambient light to YouTube videos
MIT License
87 stars 8 forks source link

Video framerate jittering on high refreshrate monitors #166

Closed WesselKroos closed 1 year ago

WesselKroos commented 1 year ago

Bug description

With ambient light enabled the video framerate is jittering on refresh rates higher than 60Hz.

Steps to reproduce the behavior

  1. Go to the video https://www.youtube.com/watch?v=dObEm7u_ytM&t=181s
  2. Disable the "Smooth motion" setting
  3. Set the "Synchronization" setting to another value than "Display framerate"
  4. Play the panning scene (repeat the scene)

Browser

Chrome, Microsoft Edge, Opera

Operating system

Windows

Extension version

2.37.24

The bug still happens in these conditions

Additional context and/or screenshots

There are currently 3 workarounds, but those have a negative impact on the performance:

WesselKroos commented 1 year ago

Reported to Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1431894 https://bugs.chromium.org/p/chromium/issues/detail?id=1433124

WesselKroos commented 1 year ago

Implemented workaround