mpv_kit_video 0.1.0-dev.3 copy "mpv_kit_video: ^0.1.0-dev.3" to clipboard
mpv_kit_video: ^0.1.0-dev.3 copied to clipboard

Flutter video output for mpv_kit: zero-copy Vulkan rendering into Flutter textures (D3D11 shared textures on Windows, GL memory objects on Linux, IOSurface on macOS) with a software fallback.

0.1.0-dev.3 #

  • Requires mpv_kit / mpv_kit_libs 0.1.0-dev.3: zero-copy Vulkan rendering works with the bundled libmpv on Windows (dev.1/dev.2 always used the software fallback there).

0.1.0-dev.2 #

  • Requires mpv_kit / mpv_kit_libs 0.1.0-dev.2: macOS apps build again (the 0.1.0-dev.1 libraries could not be repackaged by Flutter) and listing audio devices no longer crashes on machines without audio output.

0.1.0-dev.1 #

  • MpvVideoController / MpvVideo: mpv's Vulkan render backend with zero-copy sharing on Windows (D3D11 shared textures), Linux (GL memory objects) and macOS (IOSurface via MoltenVK), software fallback everywhere.
  • Renderer choice MpvVideoRenderer (auto, gpuNext, gpu, software) with the fallback chain gpu-next → gpu → software, the active path reported by backend / reason, and the MPV_KIT_VIDEO_RENDERER environment override.
  • Dedicated native render thread with a quarantined frame ring, idle detection for hidden windows, and failure backoff.
  • events stream of MpvVideoEvent diagnostics (resize, idle/active, render errors, GPU timeouts, recovery, device loss) and isBroken.
  • setIccProfile for display color management.
  • Persistent shader cache in a per-user directory by default; display-fps-override set from Flutter's display refresh rate.
  • Render context disposed before the mpv core via Player.addDisposeHook.
  • Re-exports package:mpv_kit and depends on mpv_kit_libs.
0
likes
130
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter video output for mpv_kit: zero-copy Vulkan rendering into Flutter textures (D3D11 shared textures on Windows, GL memory objects on Linux, IOSurface on macOS) with a software fallback.

Repository (GitHub)
View/report issues

Topics

#mpv #video #vulkan #player

License

MIT (license)

Dependencies

flutter, mpv_kit, mpv_kit_libs

More

Packages that depend on mpv_kit_video

Packages that implement mpv_kit_video