Video playback fails to embed (detached window) or renders black screen on Windows 11 Canary + AMD (Anki 25.07 Qt6.8)

Environment

  • OS: Windows 11 Home China (Insider Canary Build 26200.7171)
  • Anki Version: 25.07.2 (3adcf05c)
  • Python/Qt: Python 3.13.5 / Qt 6.8.1 / PyQt 6.8.0
  • Hardware: AMD Ryzen 7 6800H with Radeon Graphics (Integrated)

The Problem

I am experiencing severe video rendering issues with the latest development build of Anki on Windows 11 Canary.

  1. OGV Files: Play audio but show a black screen directly in the reviewer.
  2. MP4 Files: When inserted via the paperclip icon (generating [sound:file.mp4]), the video launches in a detached/external mpv window instead of playing inline within the card.

It appears that the mpv backend is failing to attach/embed to the Anki window surface correctly.

Steps to Reproduce

  1. Install Anki 25.07.2 on Windows 11 (Build 26200).
  2. Import an .ogv video → Result: Black screen (Audio OK).
  3. Import an .mp4 video using the paperclip icon.
  4. Review the card → Result: A separate “mpv” window pops up to play the video. The card area remains blank/static.

Troubleshooting Attempted

I have tried the following solutions with NO success:

  1. Changing Anki Preferences → Video Driver to Software, OpenGL, and ANGLE.
  2. Creating an mpv.conf in collection.media with:
    • hwdec=no
    • vo=direct3d11
    • vo=gpu-next + gpu-api=vulkan + wid=yes

None of these configurations forced the video to embed correctly. The video either remains black or continues to open in a detached window.

Logs / Debug Info

(If you know how to collect logs, paste them here, otherwise leave blank)

1 Like

This is the normal behavior. mpv opens as a separate window for videos.

Does that only happen with certain videos/formats?

1 Like

Thank you for the response.

Regarding the “detached window” behavior: In previous stable versions of Anki (e.g., 24.06), videos always played inline (embedded within the card), which provides a much better review experience.
In this 25.07 build:

OGV files actually do embed correctly (I can see the inline progress bar and controls inside the card), but the video surface renders as a black screen (Audio works).
MP4 files, however, fail to embed completely and pop out into a detached window.
So it seems the “embedding” capability is partially broken/unstable in this build.

To answer your question:
Yes, the black screen issue seems specific to .ogv files on my setup.
The detached window issue happens with .mp4 files.

Update / Solution found:
I have confirmed that downgrading to Anki 24.06.3 (Qt6) completely resolved both issues on this same machine. In 24.06, both OGV and MP4 files play inline perfectly with video. This strongly suggests a regression or compatibility issue with the Qt 6.8 / mpv backend in the 25.07 development build on Windows 11 Canary.

1 Like

I don’t see any controls with any audio/video files. Are you using <video> or perhaps relying on some add-on? Can you post a screenshot?

Can you post a screenshot of that too?

1 Like