Topic: Plex for Windows does not use SVP

Hi!

I've followed the steps in this link: https://www.svp-team.com/wiki/SVP:Plex_Media_Player
But i still can't get plex to use SVP.

Re: Plex for Windows does not use SVP

It works to me.
Plex Media Player 4.29.2 + Plex Media Server 1.18.9.2578

Re: Plex for Windows does not use SVP

Yeah SVP for "Plex for windows" seems broken on my end as well, if SVP is open when I open plex and play a movie/tv show it will hang for a second after opening the media and crash, and will continue to crash so long as SVP is open/enabled

SVP ver: 4.5.0.200
"Plex for windows" ver: 1.23.0.1435
Plex server ver: 1.21.0.3608

Re: Plex for Windows does not use SVP

have you updated env variables?
have you replaced the mpv-1.dll?

5 (edited by armadillo 23-11-2020 23:35:28)

Re: Plex for Windows does not use SVP

@Chainik
Yup; picture of env variables: https://ibb.co/pP1cVx6
And yeah the mpv-1.dll was replaced
mpv.conf is also edited with:

input-ipc-server=mpvpipe
hwdec-codecs=all
hr-seek-framedrop=no

Looking into the logs of plex for windows, mpv is recognized and running

Re: Plex for Windows does not use SVP

Just updated Plex to the very same version, removed the mpv-1.dll (not even replaced cause the correct .dll is already on PATH), and everything is working as expected.

Add "log-file=<some-path>" to capture mpv's log as well and show all logs here (Plex, mpv, SVP)

7 (edited by armadillo 24-11-2020 11:23:25)

Re: Plex for Windows does not use SVP

@Chainik

- Just to rule out basic problems; I uninstalled svp & plex for windows via control panel, and reinstalled to their "standard" C:\ locations as well as re-adjusted the environment variables.

Link to SVP, Plex, and MPV logs (for new installation attempt): https://gofile.io/d/anQQzP

Re: Plex for Windows does not use SVP

does plain mpv work for you?

Re: Plex for Windows does not use SVP

armadillo wrote:

Yeah SVP for "Plex for windows" seems broken on my end as well

I thought I saw a note about needing to use the Plex Media Player for this to work, that web browsers won't work.  The plex download page felt confusing to me, but I assume the Plex for Windows is the server part.  But maybe you're trying to have the server do the work for any and all players?  Which would be nice.

I've got the current Windows 10 Plex Media Player version working fine using the SVP directions mentioned initially.  I've played successfully from the local server and a remote one.  I see the usual framerate green text at the start, like I do from MPC-HC for local files.

10 (edited by armadillo 24-11-2020 23:52:48)

Re: Plex for Windows does not use SVP

@chainik

Yeah playing a file from both drag+drop into the MPV window, and the SVP menu works fine. MPV and SVP both work.


edit: so I installed "plex media player" to test as an alternative, exact same behaviour happens :\.

edit 2: got Plex for windows to work, some very old legacy versions of vapoursynth and other libraries that I'm pretty sure where conflicting with newer versions that had remained installed and windows did not properly remove.

Re: Plex for Windows does not use SVP

Plex for Windows used to work with SVP 4 for me, but I had to reinstall Windows from scratch. And now I can't seem to get Plex for Windows to work with SVP 4 anymore for some reason. I have followed the instructions for installation, and it works with MPC-HC and VLC, but not with Plex for Windows.

I haven't installed Plex Media Player though, since they are not updating that anymore.

Re: Plex for Windows does not use SVP

Hey guys, I've also followed the instruction for "Plex for Windows" as stated in the wiki (https://www.svp-team.com/wiki/SVP:Plex_Media_Player). It does not work for me. Regular mpv works flawlessly.

Re: Plex for Windows does not use SVP

Hello, are you guys working on this?

Re: Plex for Windows does not use SVP

working on what?
if it does not work for you then you did something wrong

Re: Plex for Windows does not use SVP

I've copied over the mpv-1.dll, set up the environment values and also the mpv.conf file.
Here is the content of mpv.conf:

input-ipc-server=mpvpipe
hwdec-codecs=all
hr-seek-framedrop=no
saturation=-100

The removal of saturation works (ie. plex is reading the configuration file) but it won't interpolate. When I open a video file locally with mpv I get interpolation as expected. I don't know what I could be doing wrong.

Re: Plex for Windows does not use SVP

check SVP's log for errors

Re: Plex for Windows does not use SVP

This is what happens when I play a file on Plex

10:37:14.299 [i]: VideoPlayer: mpv 0.33.0-dirty /via 'mpvpipe'
10:37:14.893 [i]: Media: video looks like some kind of stream
10:37:14.893 [i]: Media: video 512x384 [PAR 1.000] at 25.000 fps (via video player)
10:37:14.893 [i]: Media: codec type is mpeg4 (MPEG-4 part 2), NV12, BT.709 BT.1886
10:37:14.923 [i]: Playback: starting up...
10:37:14.927 [i]: Playback [eb93bb7]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
10:37:14.927 [i]: Playback [eb93bb7]: resulting video frame 512x384
10:37:14.928 [i]: Playback [eb93bb7]: 2 acceptible profiles, best is 'Copy of Automatic' [0]
10:37:14.929 [i]: Playback [eb93bb7]: enabled while video is playing
10:37:14.931 [i]: Playback [eb93bb7]: playing at 60 [25 *12/5] 
10:37:14.944 [E]: Playback [eb93bb7]: VS - Could not initialize VapourSynth scripting.

Re: Plex for Windows does not use SVP

this means either wrong env. variables paths or conflicting Python installation
delete mpv-1.dll from Plex folder, it the PATH is correct it will use mpv-1.dll from SVP's folder directly
if Plex won't run at all after this -> path is incorrect
if it will run then most likely it's a Python conflict. do you have any other Python versions installed somewhere?

19 (edited by adamkex 10-01-2022 17:39:18)

Re: Plex for Windows does not use SVP

Plex plays normally (ie. it still doesn't work) after I've deleted mpv-1.dll from the Plex folder. Yes I do have Python installed elsewhere.

These are my env variables
https://i.imgur.com/IH4kwII.png

Re: Plex for Windows does not use SVP

I have exactly the same issue.
Same when i try the new Plex HTPC app. Replaced .dll and made mpv.conf as described.
PATH and PYTHONPATH is correct.

21 (edited by joaoserraseal 22-01-2022 19:32:57)

Re: Plex for Windows does not use SVP

+1 here
I've been using SVP for over a year now... and i had to replace the plex mvp-1.dll each time the client updates (i think)
but now this seems to have change probably on plex side. so my guess is the instalation instructions need to be updated?
maybe plex is using the dll from some other folder?

i tried to contact the svp team by bug reporting via app requesting to contact me on this issue but still no answer.
With this thread i Just found out i am not the only one having this issue

-- update --
so i used process explorer to check what would be using mpv-1.dll and i can confirm plex.exe is still using the mpv-1.dll at
"c:\Program Files\Plex\Plex\mpv-1.dll"
by deleting this file is starts using the mpv-1.dll from SVP 4 folder as stated above.... but still nothing has changed at plex

so something else must be wrong

Re: Plex for Windows does not use SVP

Plex Media Server 1.25.3.5408
Plex Media Player 4.29.2
SVP 4.5.0.213

I can playback videos from my hard disk with smoothness. My SVP log:

14:01:39.845 [i]: VideoPlayer: mpv [PlexMediaPlayer.exe] connected, waiting for the video info...
14:29:55.703 [i]: VideoPlayer: mpv 0.32.0-204-gfc8c1fcfb2-dirty /via 'mpvpipe'
14:29:55.878 [i]: Media: video looks like some kind of stream
14:29:55.878 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps (via video player)
14:29:55.879 [i]: Media: codec type is vp9 (Google VP9), YUV420P, BT.709 BT.1886
14:29:55.932 [i]: Playback: starting up...
14:29:55.980 [i]: Playback [40a74a86]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
14:29:55.986 [i]: Playback [40a74a86]: resulting video frame 1280x720
14:29:55.989 [i]: Playback [40a74a86]: 2 acceptible profiles, best is 'MAG79' [0]
14:29:57.303 [i]: Playback [40a74a86]: enabled while video is playing
14:29:57.339 [i]: Playback [40a74a86]: playing at 60 [25 *12/5]

P.S.
Setup instruction of Plex Media Player is used from SVP site by this link:
https://www.svp-team.com/wiki/SVP:Plex_ … dia_Player

23 (edited by joaoserraseal 24-01-2022 16:43:10)

Re: Plex for Windows does not use SVP

I'm using plex for windows not plex media player, and I've follow the instructions more times than i can remember, so this is something new.
I will check the logs when i have the time (currently i've been really busy, so it may take a while) and see if i can find something else

Re: Plex for Windows does not use SVP

The issue of joaoserraseal is solved!
In support mail we have found the cause. It was vapoursynth wrong version not compatible to SVP.
SVP log:

16:26:05.878 [i]: Playback [16b152dd]: Frame server (64-bit) C:\Program Files\VapourSynth\core\vapoursynth.dll
...
16:26:05.915 [E]: Playback [16b152dd]: VS - Could not initialize VapourSynth scripting.

As you can see the folder loaction is C:\Program Files\VapourSynth\core\
Correct folder loaction must be C:\Program Files (x86)\SVP 4\mpv64\

Re: Plex for Windows does not use SVP

The issue of joaoserraseal is solved!

Thanks you MAG79


all I had to do to fix it was uninstall the vapoursynth and reinstall the svp