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.lock file 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 in buildscripts/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

ComponentVersionLicenceSourceSHA-256
FFmpeg6.0 (+4 patches in the recipe)LGPL-3.0-or-laterffmpeg-6.0.tar.xz57be87c22d9b49c112b6d24bc67d42508660e6b718b3db89c44e47e289137082
mpv (libmpv)0.36.0 (-Dgpl=false, +2 patches)LGPL-2.1-or-laterv0.36.0.tar.gz29abc44f8ebee013bb2f9fe14d80b30db19b534c679056e4851ceadf5a5e8bf6
libass0.17.1ISClibass-0.17.1.tar.xzf0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784
dav1d1.2.1BSD-2-Clausedav1d-1.2.1.tar.bz2a4003623cdc0109dec3aac8435520aa3fb12c4d69454fa227f2658cdb6dab5fa
FreeType2.13.2FTLfreetype-2.13.2.tar.xz12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d
GNU FriBidi1.0.13LGPL-2.1-or-laterfribidi-1.0.13.tar.xz7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2
HarfBuzz8.1.1MIT8.1.1.tar.gzb16e6bc0fc7e6a218583f40c7d201771f2e3072f85ef6e9217b36c1dc6b2aa25
libxml22.11.5MITlibxml2-2.11.5.tar.xz3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6
Mbed TLS3.4.1Apache-2.0v3.4.1.tar.gza420fcf7103e54e775c383e3751729b8fb2dcd087f6165befd13f28315f754f5
uchardet0.0.8MPL-1.1 (tri-licensed)uchardet-0.0.8.tar.xze97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0
libpng1.6.40libpng-2.0libpng-1.6.40.tar.xznot pinned upstream

Android

ComponentVersionLicenceSource
FFmpegn6.0 (+2 patches)LGPL-3.0-or-latern6.0
mpv (libmpv)commit 78d43740 (-Dgpl=false, +1 patch)LGPL-2.1-or-later78d43740f52db817d98bcf24fb30a76ab6fa13ff
libass0.17.1ISC0.17.1
dav1d1.2.0BSD-2-Clause1.2.0
FreeType2.13.0FTLVER-2-13-0
GNU FriBidi1.0.12LGPL-2.1-or-laterv1.0.12
HarfBuzz7.2.0MIT7.2.0
libxml22.10.3MITv2.10.3
Mbed TLS3.4.0Apache-2.0v3.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

  1. 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.
  2. Android: replace lib/<abi>/libmpv.so in 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.
  3. Mac: replace the frameworks in Lion Player.app/Contents/Frameworks (Mpv, Avcodec, Avformat, Avutil, Avfilter, Swscale, Swresample and the others), then re-sign with codesign --force --deep --sign - "Lion Player.app".
  4. 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.
  5. Windows: replace libmpv-2.dll next to lion_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.