Topic: SVP 4 Mac and IINA

Would SVP 4 Mac be compatible with IINA? https://lhc70000.github.io/iina/

IINA is a video player based on mpv.

Re: SVP 4 Mac and IINA

It ships mpv as binary: https://github.com/lhc70000/iina/tree/master/libmpv/lib and I assume they don't compile with vapoursynth. When you compile yourself (with vapoursynth) (you can use homebrew to compile libmpv) it should work as you can use all mpv options. But someone better test this before you believe me, I'm just speculating.

3 (edited by sv0911 26-03-2017 15:51:09)

Re: SVP 4 Mac and IINA

Replace IINA`s libmpv.1.dylib with the one from Brew installation: /usr/local/lib/libmpv.1.dylib
-> /Applications/IINA.app/Contents/Frameworks/libmpv.1.dylib

Use IINA`s configuration setup “enhanced settings“ for : input-ipc-server=/tmp/mpvsocket

Name: input-ipc-server
Value: /tmp/mpvsocket

Configuration folder: ~/.config/mpv/

and if you like for other enhanced mpv options too..

Maybe also important...:
In mpv.config i only have these lines..:

input-ipc-server=/tmp/mpvsocket
hwdec-codecs=all
hwdec=auto-copy
hr-seek-framedrop=no
opengl-early-flush=no

everything else i use via the IINA`s enhanced setttings!

Works for me….

Enjoy

Re: SVP 4 Mac and IINA

hmmm.... missed this one

Re: SVP 4 Mac and IINA

Actually it's better not to mess IINA settings with the "common" mpv.conf.
SVP can monitor several sockets at the same time, so - see the image.

Note main.setup.mpv value in SVP's config = /tmp/mpvsocket;/tmp/iinasocket

Don't forget to restart both IINA and SVP after changing these settings.


bash-3.2$ ls -l /Applications/IINA.app/Contents/Frameworks/libmpv*
lrwxr-xr-x  1 chainik  admin  29 Mar 26 19:00 /Applications/IINA.app/Contents/Frameworks/libmpv.1.dylib -> /usr/local/lib/libmpv.1.dylib
Post's attachments

iina.png, 215.77 kb, 974 x 433
iina.png 215.77 kb, 1142 downloads since 2017-03-26 

Re: SVP 4 Mac and IINA

Can someone write the instruction step by step how to use the IINA player? I don't know how we replace those files? I just finished these steps and it is still not working:

I changed this line : /tmp/mpvsocket;/tmp/iinasocket

I added advanced settings:
input-ipc-server=/tmp/mpvsocket
hwdec=auto-copy
hr-seek-framedrop=no
opengl-early-flush=no

That's it, I need help with this smile

Re: SVP 4 Mac and IINA

radowit wrote:

Can someone write the instruction step by step how to use the IINA player? I don't know how we replace those files? I just finished these steps and it is still not working:

I changed this line : /tmp/mpvsocket;/tmp/iinasocket

I added advanced settings:
input-ipc-server=/tmp/mpvsocket
hwdec=auto-copy
hr-seek-framedrop=no
opengl-early-flush=no

That's it, I need help with this smile

Yes, can someone please write a step by step tutorial on how to enable this once you have downloaded IINA?

I have two licenses here but don't know how to use them sad

Re: SVP 4 Mac and IINA

you don't know what?
how to install mpv?
how to replace /Applications/IINA.app/Contents/Frameworks/libmpv.1.dylib?

Re: SVP 4 Mac and IINA

I replaced IINA`s libmpv.1.dylib with the one from Brew installation but now the app crashes.

Re: SVP 4 Mac and IINA

Nevermind, I reinstalled mpv with vapoursynth and replaced the files again. It's working perfectly now.

Re: SVP 4 Mac and IINA

Chainik wrote:

you don't know what?
how to install mpv?
how to replace /Applications/IINA.app/Contents/Frameworks/libmpv.1.dylib?

Something like this: https://github.com/lhc70000/iina/wiki/Use-SVP-with-IINA

But since it's already been made, thank you anyway!

Re: SVP 4 Mac and IINA

I have recently gotten a new MacBook Pro 2017 and just followed all the steps on the wiki page but it doesn't seem to work. Whenever I open a video file with IINA directly (double click to open) it won't pop up SVP OSD saying that it has been activated, I need to right click and click on open with SVP, which in turn it opens MPV and I can see that Hardware Monitor from SVP is showing a number on SVP Index, otherwise with IINA is NA.

It is also very obvious to see whether SVP is running because on mpv the CPU usage is quite high, the SVP index shows as 1-2 while on IINA, the CPU usage is low and there's no SVP Index.

Do you know what could be happening?

Thanks!

Re: SVP 4 Mac and IINA

restart SVP after this step:

5. (Recommendation from SVP dev) In SVP settings, change main-setup-mpv to /tmp/mpvsocket;/tmp/iinasocket.