Skip to main content

better_player_windows 1.3.0 copy "better_player_windows: ^1.3.0" to clipboard
better_player_windows: ^1.3.0 copied to clipboard

PlatformWindows

The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.

1.3.0 #

  • Fixed: Resolved deadlocks during TextureBridge::Dispose() by unregistering textures outside mutex lock.
  • Fixed: Enabled hardware video decoding (hwdec=auto-safe) in mpv initialization.
  • Fixed: Resolved orphan player leaks across hot restarts by clearing native players on plugin startup.
  • Fixed: Added ClearKey DRM playback support via mpv decryption_key.
  • Fixed: Quoted HTTP headers containing commas to prevent incorrect mpv header field splitting.
  • Fixed: Supported bufferingConfiguration by configuring demuxer-readahead-secs and demuxer-cache-wait.
  • Fixed: Respected overriddenDuration when loading data sources and on property updates.
  • Fixed: Resolved video, audio, and subtitle track selection by matching IDs in track-list.
  • Fixed: Resolved local asset path resolution for packaged Flutter desktop executables.
  • Added: Supported Linux dynamic library resolution (libmpv.so.2, libmpv.so.1, libmpv.so) in MpvBindings.

1.2.1 #

  • Fixed: Aligned BetterPlayerWindows.preCache method signature with BetterPlayerPlatform in better_player_platform_interface 1.5.0.
  • Updated: Bumped better_player_platform_interface dependency to ^1.5.0.

1.2.0 #

  • Fixed: Added disposal state guards across player methods and mpv FFI invocations to prevent invalid pointer access after disposal.
  • Fixed: Corrected audio track indexing to map 0-based index to 1-based aid property and disable audio with 'no'.
  • Fixed: Added hls-bitrate property configuration in setTrackParameters.
  • Fixed: Added seek and bufferingUpdate (from demuxer-cache-time) event emissions and use display dimensions dwidth/dheight for video sizing.
  • Fixed: Cleared mpv render update callback prior to freeing render context in TextureBridge to avoid native callback race conditions during shutdown.

1.1.0 #

  • Added: setTextTrack method on MpvPlayer to select or disable subtitle and closed caption tracks via mpv sid property (#1066).
  • Added: sub-text property observer emitting captionUpdate events with active subtitle lines.

1.0.1 #

  • Added: Better Player logo screenshot and branding metadata for pub.dev package listing.

1.0.0 #

  • Added: Initial release of better_player_windows with native libmpv playback, pixel buffer texture rendering, FFI bindings, native logging, and HLS/DASH support.
0
likes
160
points
869
downloads
screenshot

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.

Repository (GitHub)
View/report issues

Topics

#video #player #windows #libmpv #streaming

License

Apache-2.0 (license)

Dependencies

better_player_platform_interface, ffi, flutter, path

More

Packages that depend on better_player_windows

Packages that implement better_player_windows