mpvkit/MPVKit
소개
mpv library for iOS, macOS, tvOS, visionOS applications
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMPVKit
MPVKit is only suitable for learning
libmpvand will not be maintained too frequently.For production use, consider try using AetherEngine
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/mpvkit/MPVKit.git
Choose which version
| Version | License | Note |
|---|---|---|
| MPVKit | LGPL | FFmpeg details , mpv details |
| MPVKit-GPL | GPL | Support samba protocol, same as old MPVKit version |
How to build
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
Make demo app using the local build version
If you want the demo app to use the local build version, you need to modify Package.swift to reference the local build xcframework file.
Click here for more information.
.binaryTarget(
name: "Libmpv-GPL",
path: "dist/release/Libmpv.xcframework.zip"
),
.binaryTarget(
name: "Libavcodec-GPL",
path: "dist/release/Libavcodec.xcframework.zip"
),
.binaryTarget(
name: "Libavdevice-GPL",
path: "dist/release/Libavdevice.xcframework.zip"
),
.binaryTarget(
name: "Libavformat-GPL",
path: "dist/release/Libavformat.xcframework.zip"
),
.binaryTarget(
name: "Libavfilter-GPL",
path: "dist/release/Libavfilter.xcframework.zip"
),
.binaryTarget(
name: "Libavutil-GPL",
path: "dist/release/Libavutil.xcframework.zip"
),
.binaryTarget(
name: "Libswresample-GPL",
path: "dist/release/Libswresample.xcframework.zip"
),
.binaryTarget(
name: "Libswscale-GPL",
path: "dist/release/Libswscale.xcframework.zip"
),
Run default mpv player
./mpv.sh --input-commands='script-message display-stats-toggle' [url]
./mpv.sh --list-options
Use Shift+i to show stats overlay
Related Projects
- moltenvk-build
- libplacebo-build
- libdovi-build
- libshaderc-build
- libluajit-build
- libass-build
- libbluray-build
- libsmbclient-build
- gnutls-build
- openssl-build
Donation
If you appreciate my current work, you can buy me a cup of coffee ☕️.
License
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.
관련 프로젝트 살펴보기
불러오는 중…