Total Pageviews

Sunday, 30 July 2017

IINA: mac上的一款视频播放器

The modern video player for macOS. 
IINA is the modern video player for macOS.

Features

  • Based on mpv, a powerful media player
  • Designed for modern macOS (10.10+)
  • Aims to offer the best user experience
  • All the features you need for videos, audios, subtitles, playlist, chapters and so on
  • MPV config files and script system are available for advanced users
  • Written in Swift, followed up on new technologies like Touch Bar, Force Touch, Picture-in-picture, etc.
  • Still in active development

Build

Use pre-compiled dylibs
  1. Please make sure CocoaPods is installed.
gem
sudo gem install cocoapods
homebrew
brew install cocoapods
  1. Run pod install in project root directory.
pod install
  1. Open .xcworkspace file.
Theoretically no extra work is needed. If you are unwilling to use the provided dylibs, follow the instructions below.
Build with the lastest mpv
  • Install mpv
    brew install mpv --with-uchardet
    
    Feel free to include any other libraries if you like.
  • Copy latest header files into libmpv/include/mpv/
  • other/parse_doc.rb
    This script will fetch the lastest mpv documentation and generate MPVOption.swiftMPVCommand.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.
  • other/change_lib_dependencies.rb
    This script will deploy the depended libraries into libmpv/libs. Make sure you have a phase copying of all these dylibs in Xcode's build settings.
from  https://github.com/lhc70000/iina

No comments:

Post a Comment