Lion Player: open-source components and source code
Last updated: 6 December 2026. Lion Player is made by LionScripts. Its playback engine uses free software. This page lists those components, their licences and where to get their complete source code, and explains how to replace them.
Your rights
libmpv and FFmpeg are free software: you can redistribute and/or modify them under the terms of the GNU Lesser General Public License, as published by the Free Software Foundation (FFmpeg: version 3 or later; mpv: version 2.1 or later). They are distributed in the hope that they will be useful, but without any warranty. Lion Player ships them as separate dynamic libraries (frameworks on iPhone, iPad and Mac, libmpv.so on Android, libmpv-2.dll on Windows) so that you can replace them with modified versions.
Nothing in the Lion Player terms, or in any app store's terms, limits these rights. You may modify Lion Player for your own use and reverse engineer it to debug such modifications. Full licence texts: LGPL v3, GPL v3 (LGPL v3 adds permissions to it), LGPL v2.1. They are also inside the app under Settings > About & licenses > Third-party notices.
No GPL or nonfree code
mpv is built with -Dgpl=false. FFmpeg is built with --enable-version3 and without --enable-gpl or --enable-nonfree, so no x264, x265, fdk-aac, Xvid, postproc or other GPL or nonfree component is included. Every release is checked by reading the configure flags and licence strings out of the shipped libraries.
Lion Player 1.0.1: exact sources
The libraries are the prebuilt libmpv packages of the open-source media_kit project. These are the exact build recipes, with all patches and configure options:
- iPhone, iPad and Mac: libmpv-darwin-build v0.6.0 (commit 4286f555, variant video-default; the
downloads.lockfile pins every source by SHA-256) - Android: libmpv-android-video-build v1.1.7 (commit fe8c3ac1, flavor default; versions in
buildscripts/include/depinfo.sh, patches inbuildscripts/patches) - Windows: libmpv
mpv-dev-x86_64-20230924-git-652a1dd(mpv commit 652a1dd907, FFmpeg n6.0) from libmpv-win32-video-build 2023-09-24 - Linux: Lion Player uses the libmpv installed by your Linux distribution; its source comes from your distribution.
- Glue code: media_kit 1.2.6 (MIT)
iPhone, iPad and Mac
| Component | Version | Licence | Source | SHA-256 |
|---|---|---|---|---|
| FFmpeg | 6.0 (+4 patches in the recipe) | LGPL-3.0-or-later | ffmpeg-6.0.tar.xz | 57be87c22d9b49c112b6d24bc67d42508660e6b718b3db89c44e47e289137082 |
| mpv (libmpv) | 0.36.0 (-Dgpl=false, +2 patches) | LGPL-2.1-or-later | v0.36.0.tar.gz | 29abc44f8ebee013bb2f9fe14d80b30db19b534c679056e4851ceadf5a5e8bf6 |
| libass | 0.17.1 | ISC | libass-0.17.1.tar.xz | f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784 |
| dav1d | 1.2.1 | BSD-2-Clause | dav1d-1.2.1.tar.bz2 | a4003623cdc0109dec3aac8435520aa3fb12c4d69454fa227f2658cdb6dab5fa |
| FreeType | 2.13.2 | FTL | freetype-2.13.2.tar.xz | 12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d |
| GNU FriBidi | 1.0.13 | LGPL-2.1-or-later | fribidi-1.0.13.tar.xz | 7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2 |
| HarfBuzz | 8.1.1 | MIT | 8.1.1.tar.gz | b16e6bc0fc7e6a218583f40c7d201771f2e3072f85ef6e9217b36c1dc6b2aa25 |
| libxml2 | 2.11.5 | MIT | libxml2-2.11.5.tar.xz | 3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6 |
| Mbed TLS | 3.4.1 | Apache-2.0 | v3.4.1.tar.gz | a420fcf7103e54e775c383e3751729b8fb2dcd087f6165befd13f28315f754f5 |
| uchardet | 0.0.8 | MPL-1.1 (tri-licensed) | uchardet-0.0.8.tar.xz | e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0 |
| libpng | 1.6.40 | libpng-2.0 | libpng-1.6.40.tar.xz | not pinned upstream |
Android
| Component | Version | Licence | Source |
|---|---|---|---|
| FFmpeg | n6.0 (+2 patches) | LGPL-3.0-or-later | n6.0 |
| mpv (libmpv) | commit 78d43740 (-Dgpl=false, +1 patch) | LGPL-2.1-or-later | 78d43740f52db817d98bcf24fb30a76ab6fa13ff |
| libass | 0.17.1 | ISC | 0.17.1 |
| dav1d | 1.2.0 | BSD-2-Clause | 1.2.0 |
| FreeType | 2.13.0 | FTL | VER-2-13-0 |
| GNU FriBidi | 1.0.12 | LGPL-2.1-or-later | v1.0.12 |
| HarfBuzz | 7.2.0 | MIT | 7.2.0 |
| libxml2 | 2.10.3 | MIT | v2.10.3 |
| Mbed TLS | 3.4.0 | Apache-2.0 | v3.4.0 |
Written offer
For at least three years after we last distribute a given version of Lion Player, LionScripts will give anyone who asks a complete machine-readable copy of the corresponding source code of the LGPL libraries in that version, including our build recipes, patches and the iOS relink kit (an unsigned build of the same app version, for replacing the libraries on your own devices). We charge no more than the cost of physically performing the transfer, and for downloads nothing. Write to support@lionscripts.com with the platform and version (Settings > About).
How to replace the libraries
- Get the source for your platform and version from this page or from us, change it, and rebuild it with the same recipe so the library names and ABI stay the same.
- Android: replace
lib/<abi>/libmpv.soin the APK (or in an APK set made from the app bundle with bundletool), re-sign it with your own key using apksigner, and install it with adb. - Mac: replace the frameworks in
Lion Player.app/Contents/Frameworks(Mpv, Avcodec, Avformat, Avutil, Avfilter, Swscale, Swresample and the others), then re-sign withcodesign --force --deep --sign - "Lion Player.app". - iPhone and iPad: App Store copies are encrypted by Apple, so use the iOS relink kit: replace the frameworks in
Runner.app/Frameworks, sign it with your own Apple ID (a free account works) and install it with Xcode or Apple Configurator. - Windows: replace
libmpv-2.dllnext tolion_player.exe.
Other components
The app's own interface uses Flutter (BSD-3-Clause) and Dart packages under the MIT, BSD and Apache-2.0 licences. The full list is in the app under Settings > About & licenses > Open-source licenses.
Questions: support@lionscripts.com.