26

(53 replies, posted in Using SVP)

very interesting and helpful thread....

currently my display is set at 59hz and i have svp set to 2.5, so for 23.9 movies i'm getting 59.8, is there a better setting i should be using?

27

(18 replies, posted in Using SVP)

ok, so what did you do? by just responding to my post you made it work? because it's now working fine!

seriously, as it turns out the svp osd that i have enabled wasn't popping up at the start of play so i assumed svp wasn't kicking in, i didn't bother actually looking at movie, instead i just watched for the osd, if i had been looking at he movie i would have been able to tell svp was enabled!

not that it's important, but does the osd not display when using direct? doesn't seem to be working, which is fine, i usually turn it off once  i've settled on my settings! thanks!



Chainik wrote:

so what? I see everything works until you close PotPlayer

28

(18 replies, posted in Using SVP)

not sure but i think this section of the log pertains to the issue?

PotPlayer: found new player instance
Updates: found updates for: core.full, opt.mpv64, opt.mpv_dll64
Screens: screen 0 - 1536x656 @59.940 Hz [measured], x1.0 [76 DPI]
Screens: primary screen is 0
Performance: quick estimation = 757 (previous value was 727)
PotPlayer: new video in Potplayer.exe (64-bit) [PotPlayer 0.0.0.0] on screen 0 using Avisynth engine
Media: video 1920x804 [PAR 1.000] at 23.976 fps [constant]
Media: codec type is AVC, YUV/4:2:0/8 bits
Playback: starting up...
Playback [60cd9ec8]: Frame server (64-bit) 0.1.0.0, AviSynth+ 0.1 (r2728, MT, x86_64), C:\Windows\SYSTEM32\avisynth.dll
Playback [60cd9ec8]: resulting video frame 1920x804
Playback [60cd9ec8]: 2 acceptible profiles, best is '1080p' [0]
Playback [60cd9ec8]: enabled while video is paused
Playback [60cd9ec8]: playing at 59.94 [23.976 *5/2]
Playback [60cd9ec8]: frame transformations are disabled in this video player
PotPlayer: player closed
Playback [60cd9ec8]: disabled while video is stopped
Playback [60cd9ec8]: deleted
PotPlayer: found new player instance
PotPlayer: new video in Potplayer.exe (64-bit) [PotPlayer 0.0.0.0] on screen 0 using Avisynth engine
Media: video 1920x804 [PAR 1.000] at 23.976 fps [constant]
Media: codec type is AVC, YUV/4:2:0/8 bits
Playback: starting up...
Playback [60d39f16]: Frame server (64-bit) 0.1.0.0, AviSynth+ 0.1 (r2728, MT, x86_64), C:\Windows\SYSTEM32\avisynth.dll
Playback [60d39f16]: resulting video frame 1920x804
Playback [60d39f16]: 2 acceptible profiles, best is '1080p' [0]
Playback [60d39f16]: enabled while video is paused
Playback [60d39f16]: playing at 59.94 [23.976 *5/2]
Playback [60d39f16]: frame transformations are disabled in this video player
PotPlayer: player closed
Playback [60d39f16]: disabled while video is stopped
Playback [60d39f16]: deleted

29

(18 replies, posted in Using SVP)

can't seem to get the potplayer direct interface to work....

1. ffdshow raw video filter is disabled (removed from filter priority (overall))
2. potplayer > native is set to true
3. restarted svp and potplayer after i made the changes

i noticed that there's no path designation for potplayer in the svp settings, like there is for mpv?

https://i.postimg.cc/Y0pXG5wX/03.png
https://i.postimg.cc/XJKHvVtG/02.png

30

(24 replies, posted in Using SVP)

Chainik wrote:

nope, because "all the playback controls are in the other window"

gotchya, thanks!

31

(24 replies, posted in Using SVP)

this looks very cool, will give it a try tonight! re your comment that it's almost useless for most people, is that because it still won't render hdr correctly?

Chainik wrote:

here's the latest PMP.exe with manifest attached, but I'm not gonna to provide it for every PMP update big_smile

anyway this is almost useless for most people until they will properly support D3D output in PMP, which I suppose will never happen cause they already switched to the "new Plex app"

32

(24 replies, posted in Using SVP)

Chainik wrote:

> what happens then?

that popup window will be able to show HDR content on the HDR screen exactly as the plain mpv does, nothing more


that would be fantastic!


Chainik wrote:

> but i can't do anything with it

dunno, works like a usual window in my case except all the playback controls are in the other window


here's what happens for me:

https://www.youtube.com/watch?v=cjCmNnF … e=youtu.be

33

(24 replies, posted in Using SVP)

well this sounds like some pretty exciting stuff chainik, and would no doubt be more exciting if i understood it completely, ha ha...

- when i change the pmp.conf file i do indeed get the popup video window, which is pretty cool, but i can't do anything with it (resize it, move it to another location on the desktop, etc., instead it's fixed to the upper left hand corner on my desktop in a small window, if i drag the video window it drags but leaves the video behind, ha ha).

- so what does this all mean? if plex sees your github post and attaches the manifest, what happens then?

thanks again, great stuff!


Chainik wrote:

ok, PMP by default works with a OpenGL output only, which doesn't support true HDR mode but only does tonemapping to SDR
but there's a trick big_smile

plexmediaplayer.conf -> "video" -> "debug.force_vo" = "gpu"

after that it will play in an external D3D window (note that video is playing in a popup window while all the controls remains in the main window big_smile)

but it still doesn't want to switch to HDR mode, dunno why hmm

===
upd: it doesn't work because PlexMediaPlayer.exe doesn't have bloody Windows 10 manifest attached big_smile

the magic DIY command (needs mt.exe from Windows SDK):

mt.exe -nologo -manifest "d:\PlexMediaPlayer.exe.manifest" -outputresource:"d:\PlexMediaPlayer.exe;#1"

https://github.com/plexinc/plex-media-player/issues/935

very helpful response and exactly what i was looking for, in fact i discovered this was the case after playing around with svp and different refresh rates, some pretty unfavorable results when setting the pc display rates to 24 or 30 hz...

re 10/8 bits, what video sources are typically 10-bit? also, after further reading, it seems that 8-bit dither (which my pc outputs when set to 60hz rgb) may actually be more favorable than 10-bit in terms of banding?

thanks again!


OpenSourceAnarchist wrote:

You can still have SVP double, triple, or generally increase the frame rate like usual, but your monitor will not be able to refresh quickly enough to show these extra frames, so you'll effectively be watching every 2 frames of a (for example) interpolated 60fps video, which is not optimal.

If you want smooth motion, I suggest keeping your refresh rate high and sacrificing the 10bit color for 8bit and higher refresh rates. Make sure you read about SVPs tips on 10bit to 8bit color conversion (on their wiki) if your source videos are 10bit.

35

(2 replies, posted in Using SVP)

UPDATE -

i had my display set to 24hz so that i could get 10-bit output from my pc, when i set it to 60hz the dropped frame issue mentioned above disappeared but, of course, i can now only get 8-bit output...

36

(2 replies, posted in Using SVP)

what does "output" dropped frames mean? when i use svp with modest settings cpu and gpu load is in the high teens or low 20s yet the dropped "output" frames pile up quickly... if i disable svp both "decoder" and "output" frames stay at 0?

https://i.postimg.cc/N0QNS86g/a01.png

in order to get wide color gamut (10-bit) out of my pc using hdmi i have to set my refresh rate to 30hz or lower, if i set it to anything higher i can only get 8-bit.

so my question is what effect does this have on svp interpolation? does setting my pc's refresh rate to 30hz limit svp's interpolation versus if i set it to 60hz?

thanks!

38

(24 replies, posted in Using SVP)

thanks chainik!

so how would i add it to svp? uninstall the svp version using svp's utility too, and then just install shinchiro's version into the svp/mpv folder?

assuming yes, how does this effect the mpv-1.dll file that's copied to the plex folder, would the dll use schinchiro's build or is the dll a self-contained mpv version and therefore would ignore the schinchiro install?


thanks again!



Chainik wrote:

shinchiro's builds support vapoursynth

39

(24 replies, posted in Using SVP)

so i'm a bit confused by this, it states that shinchiro's builds can be used, but it also says that because vapoursynth isn't included users must use svp's "custom" mpv.exe build (or mpv-1.dll).


Since developer's web site doesn't provide Vapoursynth-enabled Windows version you have to use our custom build of mpv.exe and/or mpv-1.dll.

Please install the following packages via SVP's "Additional programs and features":

[VPS_64] mpv video player and/or
[VPS_64] mpv shared library

Update: starting from 2017-12-29 you can also use builds by shinchiro. Keep in mind that SVPcode (transcoding extension) and SVPcast (streaming extension) functionality may be limited with those builds because of missing built-in hardware encoders.

40

(24 replies, posted in Using SVP)

thank you chainik..

if i ever want to update mpv on my own, how would i do it, where would i install the files within the svp folder(s), and which build type would i use:

this one

https://github.com/mpv-player/mpv

or this one:

https://sourceforge.net/projects/mpv-pl … les/64bit/

thanks again!


Chainik wrote:

svp's build is from 2019-11-28 while "hdr update" was merged into mpv-git on 2019-10-30

vo=gpu
gpu-api=d3d11

and these are the defaults, but Plex may override them somehow

41

(24 replies, posted in Using SVP)

thanks chainik...

- is the mpv hdr update part of the current svp build or do i need to download it?
- what should the mpv.conf line be for d3d11 out, gpu-api=d3d11, hwdec=d3d11va or gpu-context=d3d11?
- also, as mentioned, turning on opengl in plex fixed the color prob with hdr, but i'm not sure if turning opengl on will prevent d3d11 settings in mpv.conf from working?

thanks!


Chainik wrote:

I can't check Plex+HDR right now, but that HDR update in mpv works only with d3d11 output selected. In all other cases out will do hdr-to-sdr tone mapping.

42

(24 replies, posted in Using SVP)

UPDATE -

i discovered that i order to get rid of the green tint / dark image "native opengl" has to be enabled in plex settings... what i don't understand is why i can't have this disabled and use the mpv.conf instead, for example gpu-api=opengl, gpu-api=vulkan, etc.? but these settings don't seem to have any effect on plex?

problem is, when opengl is enabled in plex settings it breaks audio passthrough... yet everything works perfectly when using the mpv player (with or without svp)...

43

(24 replies, posted in Using SVP)

movie: jurassic world falen kingdom 4k uhd hdr
windows 10 hdr toggle enabled (on)
left photo: playing movie using mpv.exe player installed by svp
right photo: playing movie using mpv-1.dll copied from svp to plex media player folder

note 1: if i remove the mpv-1.dll file from plex and exit svp, the movie still looks this way when played with plex.
note 2: both mpv.conf files (for plex and mpv) have the two following lines, nothing else:

input-ipc-server=mpvpipe
hr-seek-framedrop=no

why would plex cause such a green tint when playing the movie? and if linking to the svp's mpv.exe install using mpv-1.dll, shouldn't plex look different with and without mpv-1.dll installed? but they look identical.1


https://i.postimg.cc/G21fP5W7/01.jpg

44

(24 replies, posted in Using SVP)

that's great to hear!

but if a user did want to test or try out another build, from shnichiro for example, what would be involved?

would you just use svp's utility program to uninstall the mpv player installed by svp (assuming you chose to install it during your setup), download a build with mpv.exe, and then copy the contents of the download to the "C:\Program Files (x86)\SVP 4\mpv64" folder?

for example, i  downloaded a recent build and the contents of the zip folder included:

mpv.com
mpv.exe
updater.bat
d3dcompiler_43.dll
doc folder
fonts folder
installer folder
mpv folder

would all of this be copied to the "C:\Program Files (x86)\SVP 4\mpv64" folder?

assuming yes, how does this effect the mpv-1.dll file in terms of plex? will plex ignore any updates to the "C:\Program Files (x86)\SVP 4\mpv64" folder?

thanks!


https://i.postimg.cc/vTVhVSC3/01.png

45

(24 replies, posted in Using SVP)

is it possible for end users to update svp's mpv version as new mpv releases roll out? for example it seems that the mpv people are making nice progress with hdr, this looks like their latest release from 7 days ago:

https://github.com/mpv-player/mpv/releases

if so, would it be a matter of downloading the latest version compiling it as explained here:

https://github.com/mpv-player/mpv/blob/ … windows.md

also, assuming the above is true, are there other dependencies that need to be downloaded and installed separately for mpv to work or would everything needed be included in the mpv downloads?

thanks again!

46

(24 replies, posted in Using SVP)

bam!

thanks!

47

(24 replies, posted in Using SVP)

thank you for the reply chainik.

so if i'm using svp's mpv-1.dll then i don't have to update to plex's latest mpv version (which produces a bunch errors in the log file)? my mpv version will be relatively up to date if i just use svp's mpv-1.dll with plex?

btw, what exactly is contained in the mpv-1.dll package, is it the mpv player?

thanks again.

48

(24 replies, posted in Using SVP)

when setting up svp for plex, users are instructed to replace the mpv-1.dll that was installed with plex:

C:\Program Files\Plex\Plex Media Player\mpv-1.dll

with the mpv-1.dll that was installed with svp:

C:\Program Files (x86)\SVP 4\mpv64\mpv-1.dll


does this change the mpv player that plex uses?

plex is know to be using a very old version of mpv but came out with an updated version in october but it seems to have some bugs - if i use svp's mpv-1.dll am i "in a way" updating plex's mpv player? or will plex continue to use the old mpv player that installed with plex even after i replace the plex mpv-1.dll with the svp mpv-1.dll? hope this makes sense!

49

(6 replies, posted in Using SVP)

excellent chainik, worked straight away, thanks very much!

have another question for you, do you happen to know what the flag vaules in the plex log files mean, for example (flags = 4)? i'm using svp with plex and per the svp instructions added code for svp to the mpv.conf file, i also added a few other lines of code to the mpv.conf file:


[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Applying profile 'default'...
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'input-ipc-server' = 'mpvpipe' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'hr-seek-framedrop' = 'no' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'profile' = 'gpu-hq' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Applying profile 'gpu-hq'...
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'scale' = 'spline36' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'cscale' = 'spline36' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'dscale' = 'mitchell' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'dither-depth' = 'auto' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'correct-downscaling' = 'yes' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'linear-downscaling' = 'yes' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'sigmoid-upscaling' = 'yes' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'deband' = 'yes' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'gpu-api' = 'vulkan' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'hwdec' = 'auto-copy' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'hwdec-codecs' = 'all' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'deband-iterations' = '2' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'deband-grain' = '0' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'brightness' = '8' (flags = 4)
[ DEBUG ] PlayerComponent.cpp @ 594 - cplayer: Setting option 'contrast' = '5' (flags = 4)

50

(6 replies, posted in Using SVP)

so what settings would you recommend if i want svp to work only with  1080p and lower non-hdr videos? thanks you very much!