This tutorial tells you how to replace the LGPL libraries used in the Video Player app (Precise Frame Seek Volume mpv Video Player) with your own build(s) if you wish.
Source code
You can get the source code of the libraries used in our app from the downloads page
Extract an APK from the installed app
If you do not have the APK file of the app, you can extract the APK using free or paid programs available for download from the internet such as Apk Extractor which is available from Google Play store
Build libraries
FFmpeg
If you do not have a build of FFmpeg you can build it according to instructions found at
- “Build instructions (Linux, macOS)” here (for app versions 1.0 and less)
- https://trac.ffmpeg.org/wiki/CompilationGuide (for app versions later than 1.0)
For app versions later than 1.0
mpv
If you do not have a build of mpv you can build it according to instructions found at https://github.com/mpv-player/mpv
fridibi
If you do not have a build of fribidi you can build it according to instructions found at https://github.com/fribidi/fribidi
libplacebo
If you do not have a build of libplacebo you can build it according to instructions found at https://github.com/haasn/libplacebo
Once the libraries are built, you should have .so files created somewhere. You can replace the library in the app with these .so files.
Replacing the .so files and reinstalling APK
- Decompile the APK using a program such as APK Easy Tool or open the APK using an archive viewer
- Look for the
.sofiles inside the APK which should be inside the folders inside the toplibsfolder - Copy the
.sofiles from your build output(s) to replace the ones in the APK. - Resign and rebuild the APK using a program such as APK Easy Tool
- Reinstall the rebuilt APK on your device