Note
New version has move to repository: https://github.com/mpvkit/MPVKit
MPVKit is only suitable for learning
libmpvand 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/cxfksword/MPVKit.git
swift run build enable-openssl enable-libsmbclient enable-libass enable-ffmpeg enable-mpvswift run mpv --script-opts=osc-visibility=always --input-commands='script-message display-stats-toggle' [url]
swift run mpv --list-optionsUse Shift+i to show stats overlay
Because MPVKit compiles FFmpeg and mpv with the GPL license enabled. So MPVKit follow the GPL license.