Skip to content

glamout/iina-danmaku

 
 

Repository files navigation

IINA - Fork - Danmaku

IINA is the modern video player for macOS.

Website · Releases · Telegram Group


NEW Features

Building

  1. 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:

  2. Run the following command line in project's root directory.

    carthage update --platform macOS --use-xcframeworks --new-resolver --cache-builds

  3. 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.

    Building mpv manually

    1. Build your own copy of mpv. If you're using a package manager to manage dependencies, the steps below outline the process.

      With Homebrew

      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
    2. Copy the latest header files from mpv (*.h) into deps/include/mpv/.

    3. Run other/parse_doc.rb. This script will fetch the latest mpv documentation and generate MPVOption.swift, MPVCommand.swift and MPVProperty.swift. This is only needed when updating libmpv. Note that if the API changes, the player source code may also need to be changed.

    4. Run other/change_lib_dependencies.rb. This script will deploy the dependent libraries into deps/lib. If you're using a package manager to manage dependencies, invoke it like so:

      With Homebrew

      $ other/change_lib_dependencies.rb "$(brew --prefix)" "$(brew --prefix mpv-iina)/lib/libmpv.dylib"
    5. Open iina.xcodeproj in the latest public version of Xcode. IINA may not build if you use any other version.

    6. 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.

    7. Drag all the .dylib files in deps/lib into the "Embedded Binaries" section of the iina target.

    8. Build the project.

About

The modern video player for macOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 88.8%
  • Rich Text Format 7.8%
  • Objective-C 1.7%
  • Ruby 1.0%
  • JavaScript 0.4%
  • HTML 0.3%