better_player_windows 1.0.0
better_player_windows: ^1.0.0 copied to clipboard
The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.
better_player_windows #
Windows implementation of the better_player plugin.
Usage #
This package is a federated plugin implementation. Do not depend on it directly. Use the main better_player package instead:
dependencies:
better_player: ^1.21.0
Requirements #
- Windows: Windows 10 (version 1809) or higher (64-bit).
- Graphics: DirectX 11 or compatible graphics hardware or driver.
Features #
- High-performance playback engine powered by
libmpvand FFmpeg. - Video rendering via Flutter's
TextureRegistrar. - Full HLS adaptive bitrate streaming (
.m3u8) and MPEG-DASH (.mpd). - RTSP live streaming support.
- Subtitle parsing and audio track switching.
- Custom HTTP headers and network buffering configuration.
mpv-2.dll requirement #
better_player_windows relies on mpv-2.dll (or libmpv-2.dll) for media playback and software frame rendering. Due to its binary size (~35 MB), the native DLL is not packaged with the pub.dev distribution by design.
To run your Windows application:
- Download the
mpv-2.dllWindows 64-bit build (e.g. from mpv-player-windows on SourceForge). - Place
mpv-2.dllinto your application's output directory alongside the executable (e.g.build/windows/x64/runner/Debug/orRelease/), or place it intopackages/better_player_windows/windows/libs/mpv-2.dllso CMake automatically copies it on build.