Giter Site home page Giter Site logo

edwardivash / iina Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iina/iina

0.0 0.0 0.0 246.1 MB

The modern video player for macOS.

Home Page: https://iina.io

License: GNU General Public License v3.0

Ruby 0.97% Swift 88.57% Objective-C 1.74% JavaScript 0.45% HTML 0.35% Rich Text Format 7.89% Shell 0.02%

iina's Introduction

IINA

IINA is the modern video player for macOS.

Website · Releases · Telegram Group


Features

  • Based on mpv, which provides the best decoding capacity on macOS
  • Designed with modern versions of macOS (10.11+) in mind
  • All the features you need for video and music: subtitles, playlists, chapters…and much, much more!
  • Force Touch, picture-in-picture and advanced Touch Bar support
  • Customizable user interface including multiple color schemes and on screen controller (OSC) layout positioning
  • Standalone Music Mode designed for audio files
  • Video thumbnails
  • Online subtitle searching and intelligent local subtitle matching
  • Unlimited playback history
  • Convenient and interactive settings for video/audio filters
  • Fully customizable keyboard, mouse, trackpad, and gesture controls
  • mpv configuration files and script system for advanced users
  • Command line tool and browser extensions provided
  • In active development

Building

  1. IINA uses CocoaPods for managing the installation of third-party libraries. If you don't already have it installed, here's how you can do so:

    Using RubyGems

    $ sudo gem install cocoapods

    Using Homebrew

    $ brew install cocoapods
  2. Run pod install in project's root directory.

  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.

    Using the pre-compiled libraries

    1. Download pre-compiled libraries by running
    ./other/download_libs.sh
    1. Open iina.xcworkspace in the latest public version of Xcode. IINA may not build if you use any other version.

    2. Build the project.

    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 iina/homebrew-mpv-iina
      $ brew install mpv-iina

      With MacPorts

      Pass in these flags when installing:

      # port install mpv +uchardet -bundle -rubberband configure.args="--enable-libmpv-shared --enable-lua --enable-libarchive --enable-libbluray --disable-swift --disable-rubberband"
    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"

      With MacPorts

      $ port contents mpv | grep '\.dylib$' | xargs other/change_lib_dependencies.rb /opt/local
    5. Open iina.xcworkspace 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.

Contributing

IINA is always looking for contributions, whether it's through bug reports, code, or new translations.

  • If you find a bug in IINA, or would like to suggest a new feature or enhancement, it'd be nice if you could search your problem first; while we don't mind duplicates, keeping issues unique helps us save time and considates effort. If you can't find your issue, feel free to file a new one.

  • If you're looking to contribute code, please read CONTRIBUTING.md–it has information on IINA's process for handling contributions, and tips on how the code is structured to make your work easier.

  • If you'd like to translate IINA to your language, please visit IINA's instance of Crowdin. You can create an account for free and start translating and/or approving. Please do not send pull request to this repo directly, Crowdin will automatically sync new translations with our repo. If you want to translate IINA into a new language that is currently not in the list, feel free to open an issue.

iina's People

Contributors

lhc70000 avatar saagarjha avatar darkbrow avatar matsune avatar shilch avatar euf avatar drabweb avatar cgand avatar leoyoon-tsaw avatar inflation avatar superzazu avatar neesonqk avatar harukama avatar imkota avatar setanarut avatar aikyuichi avatar erikminekus avatar miigon avatar anohren avatar cee avatar xu-cheng avatar xjbeta avatar metacosm avatar ailtonvivaz avatar maddthesane avatar j-rg avatar thkir avatar iina-bot avatar sidneys avatar marianvinicay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.