MPVKit is only suitable for learning
libmpv
and will not be maintained too frequently.
MPVKit
is a collection of tools to use mpv
in iOS
, macOS
, tvOS
applications.
It includes scripts to build mpv
native libraries.
Forked from kingslay/FFmpegKit
Metal support only a patch version (#7857) and does not officially support it yet. Encountering any issues is not strange.
https://github.com/mpvkit/MPVKit.git
Version | License | Note |
---|---|---|
MPVKit | LGPL | FFmpeg details , mpv details |
MPVKit-GPL | GPL | Support samba protocol, same as old MPVKit version |
make build
# specified platforms (ios,macos,tvos,tvsimulator,isimulator,maccatalyst,xros,xrsimulator)
make build platform=ios,macos
# build GPL version
make build enable-gpl
# clean all build temp files and cache
make clean
# see help
make help
./mpv.sh --input-commands='script-message display-stats-toggle' [url]
./mpv.sh --list-options
Use Shift+i to show stats overlay
- moltenvk-build
- libplacebo-build
- libdovi-build
- libshaderc-build
- libluajit-build
- libass-build
- libsmbclient-build
- gnutls-build
- openssl-build
If you appreciate my current work, you can buy me a cup of coffee ☕️.
MPVKit
source alone is licensed under the LGPL v3.0.
MPVKit
bundles (frameworks
, xcframeworks
), which include both libmpv
and FFmpeg
libraries, are also licensed under the LGPL v3.0. However, if the source code is built using the optional enable-gpl
flag or prebuilt binaries with -GPL
postfix are used, then MPVKit
bundles become subject to the GPL v3.0.