Project IINA is a modern video player for macOS.

Website: lhc70000.github.io/iina/

The Releases: github.com/lhc70000/ii…

Features

Build

Please make sure cocoapods is installed.

sudo gem install cocoapods
Copy the code

Run pod install in root directory.

pod install
Copy the code

Theoretically no extra work is needed. If you are unwilling to use the provided dylibs, follow the instructions below.

Install mpv

brew install mpv --with-uchardet
Copy the code

Currently ytdl is not included when building, but will be considered in later versions.

other/parse_doc.rb

This script will fetch the lastest mpv documentation and generate MPVOption.swift, MPVCommand.swift and MPVProperty.swift. Only needed when updating libmpv. Note that once API changed, player source code may also need to be changed.

other/change_lib_dependencies.rb

This script will resolve library dependencies and copy all required dylibs into libmpv/libs.

Before running this script, you shohuld first copy libmpv into libmpv/libs:

"cp path/to/libmpv ./libmpv/libs" "sudo install_name_tool -id @executable_path/.. / Frameworks/libmpv 1.23.0. Dylib. / libmpv/lib/libmpv 1.23.0. Dylib"Copy the code

Where path/to/libmpv should be in your homebrew install path.

Make sure in XCode build settings, you have a phase copying all these dylibs.

License

GPLv3