mpv_kit_video 0.1.0-dev.3
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 bybackend/reason, and theMPV_KIT_VIDEO_RENDERERenvironment override. - Dedicated native render thread with a quarantined frame ring, idle detection for hidden windows, and failure backoff.
eventsstream ofMpvVideoEventdiagnostics (resize, idle/active, render errors, GPU timeouts, recovery, device loss) andisBroken.setIccProfilefor display color management.- Persistent shader cache in a per-user directory by default;
display-fps-overrideset from Flutter's display refresh rate. - Render context disposed before the mpv core via
Player.addDisposeHook. - Re-exports
package:mpv_kitand depends onmpv_kit_libs.