SVP:IINA

From SmoothVideo Project
Jump to navigation Jump to search

Iina.png

Setting up IINA (macOS)

Requires:

Basic settings

  • macOS 13 or later: allow Terminal app to update other applications in System Settings -> Privacy & Security -> App Management -> Terminal = checked

The following steps are essential after every IINA update!

  • Install IINA, let's assume that you've it in /Applications/IINA.app
  • Important! Launch it for the first time, then exit.
  • Open Terminal and remove all the libmpv.* files distributed with IINA:
rm -f /Applications/IINA.app/Contents/Frameworks/libmpv.*
  • Link Homebrew's mpv to IINA.app (Apple M1/M2 systems):
ln -s /opt/homebrew/lib/libmpv.2.dylib /Applications/IINA.app/Contents/Frameworks/libmpv.2.dylib
  • the same for Intel-based systems:
ln -s /usr/local/lib/libmpv.2.dylib /Applications/IINA.app/Contents/Frameworks/libmpv.2.dylib
  • the same for MacPorts installation instead of Homebrew:
ln -s /opt/local/lib/libmpv.2.dylib /Applications/IINA.app/Contents/Frameworks/libmpv.2.dylib

The rest steps are for the first time installation only.

  • Run IINA again, open Preferences, go to the Advanced section. Check the Enable advanced settings option, then add a few options into the Additional mpv options field:
Name Value
input-ipc-server /tmp/iinasocket
hr-seek-framedrop no

Iina-mpv-opts.png

  • Go to the Video/Audio section and set Hardware decoder to Auto (copy)

Iina-decoder.png

  • Restart IINA again

macOS 10.13 and earlier

You must rebuild mpv with a --disable-swift option. Since Homebrew has removed this flag, you must run

brew edit mpv 

and change the formula manually as below:

Mpv-disable-swift.png