mpv-android is a video player for Android based on libmpv.
Hardware and software video decoding
Gesture-based seeking, volume/brightness control and more
libass support for styled subtitles
Secondary (or dual) subtitle support
High-quality rendering with advanced settings (scalers, debanding, interpolation, ...)
Play network streams with the "Open URL" function
Background playback, Picture-in-Picture, keyboard input supported
mpv-android is not a library/module (AAR) you can import into your app.
If you'd like to use libmpv in your app you can use our code as inspiration.
The important parts are MPVLib, BaseMPVView and the native code.
Native code is built by these scripts.
You can download mpv-android from the Releases section or
Note: Android TV is supported, but only available on F-Droid or by installing the APK manually.
Take a look at the README inside the buildscripts directory.
Some other documentation can be found at this link.