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.
Platform | Version | Backend |
---|---|---|
iOS | 15+ | AVPlayer |
macOS | 12+ | AVPlayer |
Android | 8+ | ExoPlayer |
Windows | 10+ | MediaPlayer |
Linux | N/A | libmpv2 |
The supported media formats vary by platform but generally include:
Type | Formats |
---|---|
Video Codec | H.264, H.265(HEVC)3 |
Audio Codec | AAC, MP3 |
Container Format | MP4, TS |
Subtitle Format | WebVTT4 |
Transfer Protocol | HTTP, HLS, LL-HLS |
Footnotes
-
Only internal subtitle tracks are supported. ↩
-
The Linux backend requires
libmpv
(akampv-libs
). Developers integrating this plugin into Linux app should installlibmpv-dev
(akampv-libs-devel
) instead. If unavailable in your package manager, please buildlibmpv
from source. For details, refer to mpv-build. ↩ -
Windows user may need to install a free H.265(HEVC) decoder from Microsoft Store. ↩
-
WebVTT is supported on all platforms except Linux, where SRT and ASS formats are supported instead. ↩