IINA is the modern video player for macOS.
Website · Releases · Telegram Group
- mpv 0.33.1 Intel Only
- Fix some bugs #3364
-
IINA Danmaku uses Carthage for managing the installation of third-party libraries. If you don't already have it installed, here's how you can do so:
-
Run the following command line in project's root directory.
carthage update --platform macOS --use-xcframeworks --new-resolver --cache-builds
-
Obtain the mpv libraries.
IINA uses mpv for media playback. To build IINA, you can either fetch copies of these libraries we have already built (using the instructions below) or build them yourself by skipping to these instructions.
-
Build your own copy of mpv. If you're using a package manager to manage dependencies, the steps below outline the process.
Use our tap as it passes in the correct flags to mpv's configure script:
$ brew tap xjbeta/homebrew-mpv-iina $ brew install mpv-iina
-
Copy the latest header files from mpv (*.h) into
deps/include/mpv/
. -
Run
other/parse_doc.rb
. This script will fetch the latest mpv documentation and generateMPVOption.swift
,MPVCommand.swift
andMPVProperty.swift
. This is only needed when updating libmpv. Note that if the API changes, the player source code may also need to be changed. -
Run
other/change_lib_dependencies.rb
. This script will deploy the dependent libraries intodeps/lib
. If you're using a package manager to manage dependencies, invoke it like so:$ other/change_lib_dependencies.rb "$(brew --prefix)" "$(brew --prefix mpv-iina)/lib/libmpv.dylib"
-
Open iina.xcodeproj in the latest public version of Xcode. IINA may not build if you use any other version.
-
Remove all of references to .dylib files from the Frameworks group in the sidebar and drag all the .dylib files in
deps/lib
to that group. -
Drag all the .dylib files in
deps/lib
into the "Embedded Binaries" section of the iina target. -
Build the project.
-