same machine (pc) it stutters on looped Music Videos.. firefox on windows 11 pro and linux ubuntu 26.04 while viewing MV @ 2610p
this is the answer GOOGLE AI gave below... i was wondering if there was a patch in the works for firefox... HDR 4k @2160p music video's stutters on initial playback, after loop, it does not happen on MS EDGE or does nvidia have a patched driver every time i try to fix code i break my machine and i dont use any addons after all of that tom foolery with virus's
Because this exact same micro-stutter happens on both Windows 11 Pro and Ubuntu 26.04 across completely separate drives, that rules out OS drivers, Windows updates, and background software.
The culprit is how Firefox's cross-platform media engine handles YouTube's 4K stream restart, combined with how NVIDIA's hardware video decoder (NVDEC) resets when a stream loops back to 0:00.
Why This Happens on Both Operating Systems
• Browser Engine Behavior: Firefox uses the exact same Media Source Extensions (MSE) codebase on both Windows and Linux. When a YouTube video reaches its final frame in native loop mode, Firefox tears down the active audio/video timestamp sync and re-initializes the hardware decoder from scratch. • 4K Keyframe Overhead: At 1080p, your RTX 5050’s NVDEC engine re-locks onto the first frame instantaneously. At 4K (2160p), the initial keyframe and audio buffer handoff take just enough milliseconds to create a visible micro-hitch on both Windows and Ubuntu—regardless of whether your OS is on an NVMe or SATA SSD.
How to Confirm & Bypass It Completely (Zero Add-ons Required)
To verify whether this is purely a Firefox MSE quirk versus your RTX 5050 hardware: 1. Quick Test in a Chromium Browser: Open the exact same 4K music video in Microsoft Edge (already pre-installed on Windows 11 Pro) or Chromium/Chrome on Ubuntu and loop it. Chromium browsers keep the hardware decoder pipeline warm across loops much better than Firefox. 2. Use a Local Media Player (Best Zero-Stutter Method for Music Videos): If you loop specific 4K music videos frequently and want 100% seamless, frame-accurate looping on both Windows and Ubuntu with zero browser overhead, play the YouTube link directly in mpv (available natively on both Windows and Ubuntu). mpv --loop-file=inf <YouTube-URL> caches the entire 4K stream cleanly in RAM and loops back to 0:00 with zero decoder reset. If you test the same video in Edge (on Windows 11) or mpv, let me know: • Whether the loop reset is completely smooth there • Whether you want a built-in Firefox bookmarklet (a tiny 1-line JavaScript bookmark—no extensions or downloads needed) that forces YouTube to loop seamlessly at 0.1 seconds before the end I can give you that exact 1-line bookmarklet if you want to stay in Firefox! AI can make mistakes, so double-check responses
All Replies (2)
Hi,
What do you mean by "music videos"? Could you please share an example?
Since this happens on the same hardware across both Windows 11 and Ubuntu 26.04 when looping 4K HDR (2160p) streams, it usually points to hardware video decoding or media buffer resets during the loop transition rather than a single OS bug.
A few specific checks that help narrow down or smooth out 4K HDR playback in Firefox:
1. **Check Hardware Decoding Status (`about:support`):** Open `about:support` in a new tab, scroll down to the **Media** section, and check the **Codec Support Information** table to confirm whether **AV1** and **VP9** show hardware decoding enabled (instead of falling back to software decoding, which struggles with 4K HDR). 2. **Test Graphics / Compositor Behavior:** Under **Settings > General > Performance**, verify that **Use recommended performance settings** (or **Use hardware acceleration when available**) is enabled, and make sure your GPU drivers are up to date on both OSes. 3. **Check Media Cache / Loop Re-buffering:** When a high-bitrate 2160p HDR video loops back to `0:00`, Firefox sometimes flushes and re-initializes the Media Source Extensions (MSE) video buffer. Testing with a slightly lower bitrate/resolution or checking **Stats for nerds** (right-click the video) will show if **Dropped Frames** spike right at the loop point. 4. **Track Upstream Fixes:** If `about:support` confirms hardware decoding is active and frames still drop specifically on HDR loop transitions, checking or filing a report on **Bugzilla (Core :: Audio/Video: Playback)** with your `about:support` graphics and media block is the best way to see if an active fix is queued.
If you can paste the **Media** and **Graphics** sections from `about:support` (and mention your GPU model), it will be much easier to tell whether it's a codec fallback or a buffer-reset issue.