better_player_linux
Linux 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.29.0
Requirements
- Linux: Any standard desktop distribution with GTK 3.0+ and
glibc2.31+. - libmpv:
libmpv.so.2orlibmpv.so.1installed on the system.
Installing libmpv
On Debian/Ubuntu:
sudo apt update
sudo apt install libmpv-dev libmpv2
On Fedora/RHEL:
sudo dnf install mpv-libs-devel
On Arch Linux:
sudo pacman -S mpv
Features
- High-performance playback engine powered by
libmpvand FFmpeg. - Video rendering via Flutter's
FlPixelBufferTexture. - Full HLS adaptive bitrate streaming (
.m3u8) and MPEG-DASH (.mpd). - RTSP live streaming support.
- Subtitle parsing (SRT, WebVTT, TTML) and audio track switching.
- Custom HTTP headers and network buffering configuration.