{"id":14985027,"url":"https://github.com/mpvkit/mpvkit","last_synced_at":"2025-08-21T09:32:34.806Z","repository":{"id":248218176,"uuid":"826582082","full_name":"mpvkit/MPVKit","owner":"mpvkit","description":"mpv library for iOS, macOS, tvOS applications","archived":false,"fork":false,"pushed_at":"2024-10-24T13:13:50.000Z","size":588,"stargazers_count":37,"open_issues_count":7,"forks_count":12,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-25T04:35:13.652Z","etag":null,"topics":["ffmpeg","libmpv","mpv","swift","swift-package-manager"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpvkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"cxfksword"}},"created_at":"2024-07-10T01:56:44.000Z","updated_at":"2024-10-24T13:13:52.000Z","dependencies_parsed_at":"2024-09-14T15:12:13.928Z","dependency_job_id":"f4250df4-8b0c-4b92-92f8-b8f01acb29e6","html_url":"https://github.com/mpvkit/MPVKit","commit_stats":{"total_commits":117,"total_committers":2,"mean_commits":58.5,"dds":"0.14529914529914534","last_synced_commit":"2577d53967ca895827278f7d5aaf6e061b6b3083"},"previous_names":["mpvkit/mpvkit"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpvkit%2FMPVKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpvkit%2FMPVKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpvkit%2FMPVKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpvkit%2FMPVKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpvkit","download_url":"https://codeload.github.com/mpvkit/MPVKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230507049,"owners_count":18236944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffmpeg","libmpv","mpv","swift","swift-package-manager"],"created_at":"2024-09-24T14:10:07.589Z","updated_at":"2025-08-21T09:32:34.801Z","avatar_url":"https://github.com/mpvkit.png","language":"Swift","funding_links":["https://ko-fi.com/cxfksword","https://ko-fi.com/C0C410P7UN"],"categories":[],"sub_categories":[],"readme":"# MPVKit\n\n[![mpv](https://img.shields.io/badge/mpv-v0.40.0-blue.svg)](https://github.com/mpv-player/mpv)\n[![ffmpeg](https://img.shields.io/badge/ffmpeg-n7.1.1-blue.svg)](https://github.com/FFmpeg/FFmpeg)\n[![license](https://img.shields.io/github/license/mpvkit/MPVKit)](https://github.com/mpvkit/MPVKit/main/LICENSE)\n\n\u003e MPVKit is only suitable for learning `libmpv` and will not be maintained too frequently.\n\n`MPVKit` is a collection of tools to use `mpv` in `iOS`, `macOS`, `tvOS` applications.\n\nIt includes scripts to build `mpv` native libraries.\n\nForked from [kingslay/FFmpegKit](https://github.com/kingslay/FFmpegKit)\n\n## About Metal support\n\nMetal support only a patch version ([#7857](https://github.com/mpv-player/mpv/pull/7857)) and does not officially support it yet. Encountering any issues is not strange. \n\n## Installation\n\n### Swift Package Manager\n\n```\nhttps://github.com/mpvkit/MPVKit.git\n```\n\n### Choose which version\n\n| Version | License | Note |\n|---|---|---|\n| MPVKit | LGPL | [FFmpeg details](https://github.com/FFmpeg/FFmpeg/blob/master/LICENSE.md) , [mpv details](https://github.com/mpv-player/mpv/blob/master/Copyright) |\n| MPVKit-GPL | GPL | Support samba protocol, same as old MPVKit version |\n\n\n## How to build\n\n```bash\nmake build\n# specified platforms (ios,macos,tvos,tvsimulator,isimulator,maccatalyst,xros,xrsimulator)\nmake build platform=ios,macos\n# build GPL version\nmake build enable-gpl\n# clean all build temp files and cache\nmake clean\n# see help\nmake help\n```\n\n## Make demo app using the local build version\n\nIf you want the demo app to use the local build version, you need to modify `Package.swift` to reference the local build xcframework file.\n\n\u003cdetails\u003e\n\u003csummary\u003eClick here for more information.\u003c/summary\u003e\n  \n```\n.binaryTarget(\n    name: \"Libmpv-GPL\",\n    path: \"dist/release/Libmpv.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libavcodec-GPL\",\n    path: \"dist/release/Libavcodec.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libavdevice-GPL\",\n    path: \"dist/release/Libavdevice.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libavformat-GPL\",\n    path: \"dist/release/Libavformat.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libavfilter-GPL\",\n    path: \"dist/release/Libavfilter.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libavutil-GPL\",\n    path: \"dist/release/Libavutil.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libswresample-GPL\",\n    path: \"dist/release/Libswresample.xcframework.zip\"\n),\n.binaryTarget(\n    name: \"Libswscale-GPL\",\n    path: \"dist/release/Libswscale.xcframework.zip\"\n),\n```\n\n\u003c/details\u003e\n\n## Run default mpv player\n\n```bash\n./mpv.sh --input-commands='script-message display-stats-toggle' [url]\n./mpv.sh --list-options\n```\n\n\u003e Use \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003ei\u003c/kbd\u003e to show stats overlay\n\n## Related Projects\n\n* [moltenvk-build](https://github.com/mpvkit/moltenvk-build)\n* [libplacebo-build](https://github.com/mpvkit/libplacebo-build)\n* [libdovi-build](https://github.com/mpvkit/libdovi-build)\n* [libshaderc-build](https://github.com/mpvkit/libshaderc-build)\n* [libluajit-build](https://github.com/mpvkit/libluajit-build)\n* [libass-build](https://github.com/mpvkit/libass-build)\n* [libbluray-build](https://github.com/mpvkit/libbluray-build)\n* [libsmbclient-build](https://github.com/mpvkit/libsmbclient-build)\n* [gnutls-build](https://github.com/mpvkit/gnutls-build)\n* [openssl-build](https://github.com/mpvkit/openssl-build)\n\n## Donation\n\nIf you appreciate my current work, you can buy me a cup of coffee ☕️.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/C0C410P7UN)\n\n## License\n\n`MPVKit` source alone is licensed under the LGPL v3.0.\n\n`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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpvkit%2Fmpvkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpvkit%2Fmpvkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpvkit%2Fmpvkit/lists"}