• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kivy / kivy / 44316139181
62%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2026 01:49PM UTC
Jobs 2
Files 358
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2026 01:40PM UTC coverage: 62.179% (-0.01%) from 62.19%
44316139181

push

github

web-flow
Video: Media Foundation provider (Windows) (#9525)

* Video: Media Foundation provider for Windows

Add video_mediafoundation, the default video provider on Windows. It is
built on IMFMediaEngine, so it uses the decoders installed in Windows
and Kivy bundles none: standard MP4 (H.264/AAC) plays on any PC, and
HEVC, AV1, VP9 and MPEG-2 play once Microsoft's video extensions are
installed. On Windows "N" editions, which lack Media Foundation, the
import fails and Kivy falls back to the next provider.

Media Foundation decodes into a D3D11 texture that is shared with
OpenGL without a CPU copy. The bridge follows the GL context that is
actually current: WGL_NV_DX_interop2 for a WGL context (glew, sdl3, and
angle_sdl3 on drivers with their own ES profile), or
EGL_ANGLE_d3d_texture_client_buffer on ANGLE's own D3D11 device for an
ANGLE context. If the bridge can't register, each frame is copied
through the CPU instead. Playback never blocks the main thread; the
native layer is polled once per Clock tick.

Also implements generate_thumbnail(), adds an example that shows a
clip's thumbnail and plays it on tap
(examples/widgets/video/thumbnail_demo.py), and documents the new
default providers on Windows and macOS/iOS in the migration guide,
installation guide, Windows packaging guide and video docstrings.

Verified on NVIDIA (RTX 2060) and Intel (Iris Xe) under glew, sdl3,
angle_sdl3, and angle_sdl3 forced onto ANGLE: zero-copy, live frame
updates, correct orientation and thumbnails in every configuration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Play formats without a D3D11 decoder in the MF video provider

IMFMediaEngine only opens the formats an HTML5 <video> element would, so
MPEG-PS .mpg, WMV and AVI were rejected even when Windows can play them,
and the failure was silent: the video just never loaded. That broke
kivy/tests/pyinstaller's video test, which plays cityCC0.mpg (MPEG-1).

- Open sources through the system IMFSourceResolver, ... (continued)

5101 of 13118 branches covered (38.89%)

5 of 8 new or added lines in 2 files covered. (62.5%)

18 existing lines in 8 files now uncovered.

31334 of 50393 relevant lines covered (62.18%)

1.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
45.07
2.82% kivy/tests/pyinstaller/test_pyinstaller.py

Coverage Regressions

Lines Coverage ∆ File
4
50.34
1.34% kivy/core/__init__.py
3
78.74
0.96% kivy/core/video/__init__.py
3
0.0
-100.0% kivy/core/video/video_null.py
2
71.15
66.35% kivy/core/audio_output/audio_ffpyplayer.py
2
65.7
63.64% kivy/core/video/video_ffpyplayer.py
2
51.49
-0.26% kivy/data/style.kv
1
45.07
2.82% kivy/tests/pyinstaller/test_pyinstaller.py
1
93.18
56.82% kivy/tests/test_audio.py
Jobs
ID Job ID Ran Files Coverage
1 44316139181.1 18 Nov 2026 01:49PM UTC 358
62.15
GitHub Action Run
2 44316139181.2 18 Nov 2026 01:49PM UTC 358
60.59
GitHub Action Run
Source Files on build 44316139181
  • Tree
  • List 358
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44316139181
  • aaa10563 on github
  • Prev Build on master (#44309815129)
  • Next Build on master (#44356251035)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc