Skip to content

cxfksword/MPVKit

Repository files navigation

MPVKit

mpv ffmpeg license

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

About Metal support

Metal support only a patch version (#7857) and does not officially support it yet. Encountering any issues is not strange.

Installation

Swift Package Manager

https://github.com/cxfksword/MPVKit.git

How to build

swift run build enable-openssl enable-libsmbclient enable-libass enable-ffmpeg enable-mpv

Run default mpv player

swift run mpv --script-opts=osc-visibility=always --input-commands='script-message display-stats-toggle' [url]
swift run mpv --list-options

Use Shift+i to show stats overlay

License

Because MPVKit compiles FFmpeg and mpv with the GPL license enabled. So MPVKit follow the GPL license.