av_media_player 1.2.2

SDKflutter
Platformandroidioswindowslinuxmacos

A lightweight media player with subtitle rendering and track selection support, leveraging system or app-level components for seamless playback, video rendering via Texture widget.

This package is deprecated and no longer maintained. Please use video_view instead.

About

av_media_player is a lightweight media player with subtitle rendering1 and track selection support, leveraging system or app-level components for seamless playback, video rendering via Texture widget. For API documentation, please visit here.

PlatformVersionBackend
iOS15+AVPlayer
macOS12+AVPlayer
Android8+ExoPlayer
Windows10+MediaPlayer
LinuxN/Alibmpv2

Supported media formats

The supported media formats vary by platform but generally include:

TypeFormats
Video CodecH.264, H.265(HEVC)3
Audio CodecAAC, MP3
Container FormatMP4, TS
Subtitle FormatWebVTT4
Transfer ProtocolHTTP, HLS, LL-HLS

Footnotes

  1. Only internal subtitle tracks are supported.

  2. The Linux backend requires libmpv(aka mpv-libs). Developers integrating this plugin into Linux app should install libmpv-dev(aka mpv-libs-devel) instead. If unavailable in your package manager, please build libmpv from source. For details, refer to mpv-build.

  3. Windows user may need to install a free H.265(HEVC) decoder from Microsoft Store.

  4. WebVTT is supported on all platforms except Linux, where SRT and ASS formats are supported instead.