Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
/ MPVKit Public archive

mpv library for iOS, macOS, tvOS applications

License

Notifications You must be signed in to change notification settings

cxfksword/MPVKit

Repository files navigation

Note

New version has move to repository: https://github.com/mpvkit/MPVKit

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.