Topic: SVP 4 Mac: long delay on startup before interpolation begins

I'm using SVP 4 Mac 4.30.0.150 with mpv 0.29.1.  It works great, but it takes 10-15 seconds from when mpv starts up to when SVP begins interpolating videos.  This is just for the first item it plays -- if I play multiple items in a playlist, SVP works immediately when skipping to the next track.  Is this normal, and is there a way to reduce or eliminate this delay?

My mpv config is here:

ytdl-format=[protocol!=http_dash_segments]
slang=eng
no-osc
no-sub
sub-font-size=36
native-fs=no
keep-open=yes
keep-open-pause=no
input-ipc-server=/tmp/mpvsocket
hwdec-codecs=all
hwdec=auto-copy
opengl-early-flush=no
hr-seek-framedrop=no
no-resume-playback
hr-seek=yes

Thanks.

Re: SVP 4 Mac: long delay on startup before interpolation begins

Yeah, I see it too after upgrade to 10.14 and mpv 0.29.1.
Will try to figure out the reason hmm

Re: SVP 4 Mac: long delay on startup before interpolation begins

Actually this's a known issue caused by abnormal 'lsof' behavior in macOS.
https://apple.stackexchange.com/questio … ously-slow

Nobody knows why it happens on some systems hmm
As I can finally reproduce it on my system (AFTER Mojave upgrade!) this's a good time to find some workaround!

4 (edited by tonycpsu 20-10-2018 16:57:16)

Re: SVP 4 Mac: long delay on startup before interpolation begins

At least on my system, passing -p (pid) doesn't have this delay, so if you had the pid already (or some way to get it) you could add -p argument to get the file descriptor.  Not helpful if you're using lsof to get the pid in the first place... in which case maybe reach out to mpv developers (submit a PR?) to allow get-property to get pid (or even file descriptor if that's what you need from lsof) directly from mpv?

Re: SVP 4 Mac: long delay on startup before interpolation begins

fixed in rev.151

Re: SVP 4 Mac: long delay on startup before interpolation begins

Indeed it is!  Thanks for the quick fix.  smile