Topic: Potplayer - Direct Interface

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

Re: Potplayer - Direct Interface

any lines in the log?

3 (edited by aeneas1 14-01-2020 09:22:24)

Re: Potplayer - Direct Interface

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

Post's attachments

active.zip 2.46 kb, 318 downloads since 2020-01-14 

Re: Potplayer - Direct Interface

so what? I see everything works until you close PotPlayer

Re: Potplayer - Direct Interface

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

6 (edited by aeneas1 14-01-2020 23:57:17)

Re: Potplayer - Direct Interface

something odd seems to be going on here....

with direct mode:

- svp icon in taskbar shows a video is active
- svp osd does not display at start of play
- the svp graph in the svp control panel shows 10%-15% load
- windows task manager shows 15%-25% cpu and gpu load
- madvr shows 0 dropped frames

using ffdshow raw video filter:

- svp icon in taskbar shows a video is active
- svp osd does display at start of play
- the svp graph in the svp control panel shows 90%+ load
- windows task manager shows 70%+ gpu load
- madvr shows rapid dropped frames


what would cause such a huge difference in performance?

Re: Potplayer - Direct Interface

here's a look using direct mode:

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

Re: Potplayer - Direct Interface

I would try vapoursynth (avisynth = false) and tell more about video you try to watch (HDR/4K?)

Re: Potplayer - Direct Interface

Probably PotPlayer is smart enough to turn off internal video filters when playing HDR video through madVR. Just a guess...

Re: Potplayer - Direct Interface

yes, turning off "prefer_avisynth" (false) was one of the first things i tried, didn't solve the problem, i also tried turning on / off avisynth and vapoursynth in potplayer (preferences > video ), and that didn't work either....

i'm using madvr as my video renderer and lav filters, dxva2 (copyback).... doesn't matter if i play hd files or hdr files, same thing happens, clicking the svp taskbar icon shows "1 active video playing at 59.94 fps [x5/2]" and indicates the correct profile i set up, but the video doesn't have svp applied, nothing happens.

if i set "potplayer native" to false and use ffdshow raw video filter, everything works as it should, except i can't no longer use madvr for hdr, even with madvr set to hdr passthrough.

Re: Potplayer - Direct Interface

Dunno, works in may case...
Check SVP index graph - does it show something?

I've got another problem - SVP works BUT the index is ~0.8-0.9 with madVR + direct interface (4K/HDR @60 fps).
Have no idea why, because all other combinations work as expected, with 1.0 index: ffdshow + EVR, ffdshow + madVR, direct + EVR.
Looks like a bottleneck somewhere inside PotPlayer, probably in 8bit->10bit conversion (because ALL the video filters including Avisynth are 8-bit only)

12 (edited by aeneas1 16-01-2020 00:09:28)

Re: Potplayer - Direct Interface

so i reset all of the filter control settings in potplayer from lav to "built-in decoder (recommended)" and everything is working as it should with svp direct, in fact svp direct now works with either avisynth and vapoursynth, just a matter of setting "prefer_avisnth" to true or false in utilities settings....

so, a couple of question:

- does it matter which one i use, avisynth or vapoursynth, is one better than the other?
- am i missing out on anything by not using lav filters?

thanks!

Re: Potplayer - Direct Interface

finding that avisynth causes some very strange colors with hdr....

Re: Potplayer - Direct Interface

after some more testing i've found that "prefer_avisynth = true" displays strange colors (over saturated / over contrasted) when i play hdr files only if "try to recover hdr colors (directshow)" is enabled...

with "prefer_avisynth = false", enabling or disabling "try to recover hdr colors (directshow)" has no impact, the image remains the same with either setting, and it looks the same as  "prefer_avisynth = true" with "try to recover hdr colors (directshow)" disabled.

as mentioned earlier, i'm using madvr (hdr passthrough) with svp / potplayer.

Re: Potplayer - Direct Interface

SVP's "recover hdr colors" is obviously useless in this case

16 (edited by Whispering_Bamboo 22-03-2020 15:13:27)

Re: Potplayer - Direct Interface

Hi

last evening I noticed that MadVr no more indicates an 8bit conversion in the status, and SVP also outputs the correct values in the report.
By looking to the changelog of Potplayer, there is a note: "Improved 10-bit output processing"

"Looks like a bottleneck somewhere inside PotPlayer, probably in 8bit->10bit conversion (because ALL the video filters including Avisynth are 8-bit only)"

Is it possible, that 10bit is now working? or are the reportings wrong and only 8bit is displayed?
Is there a to measure the displayed content?

I'm using Potplayer with Native Interface (PotPlayer, Avisynth, MadVr, SVP)
Using Potplayer's Internal Filters with DX11 Copyback.

thanks

Re: Potplayer - Direct Interface

> Is it possible, that 10bit is now working?

not possible
not only because SVP's plugins for Avisynth supports 8-bit only, but because nothing changed on PotPlayer's side

Post's attachments

pot-yv12.png, 10.29 kb, 730 x 164
pot-yv12.png 10.29 kb, 328 downloads since 2020-03-23 

Re: Potplayer - Direct Interface

> not possible, not only because SVP's plugins for Avisynth supports 8-bit only, but because nothing changed on PotPlayer's side

Sad, then PotPlayer, MadVr and SVP's reporting is wrong.
https://i.imgur.com/bqPfxYI.jpg
https://i.imgur.com/nJPVpCv.jpg
I assume that somewhere some kind of dithering is active, even i deactivated it everywhere?

Is there a Player which works with both, SVP and MadVr without these limits?
The thing is i need MadVr for the Display calibration (3D Lut) and have not found an affordable alternative.

Maybe does someone here know a good alternative?

Re: Potplayer - Direct Interface

SVP supports 10-bit in mpv and vlc
ICC profiles and 3d lut in mpv: https://mpv.io/manual/master/#options-icc-profile