About AvMediaPlayer
A lightweight media player for flutter that builds on system or app level components. Video rendering in Texture widget. For api documentation please check here.
Platform | Version | Backend |
---|---|---|
iOS | 12+ | AVPlayer |
macOS | 11+ | AVPlayer |
Android | 5+ | ExoPlayer |
Windows | 10+ | MediaPlayer |
Linux | N/A | libmpv^libmpv |
Supported media formats
The full list depends on the platform's native components. But the following formats are generally supported:
Type | Formats |
---|---|
Video Codec | H.264, H.265(HEVC)^h265 |
Audio Codec | AAC, MP3 |
Container Format | MP4, TS |
Transfer Protocol | HTTP, HLS, LL-HLS |
^libmpv
: Linux backend requires libmpv
(aka mpv-libs
) to work. For developer who needs to integrate this plugin on linux, please install libmpv-dev
(aka mpv-libs-devel
) instead. If none of these packages are available in your package manager, you may need to build libmpv
from source. For more information, please refer to mpv-build.
^h265
: Windows user may need to install a free decoder for H.265(HEVC) from Microsoft Store.