Topic: Avisynth / Vapoursynth Not Working?

if i use ffdshow svp works, the svp logo displays for a couple of seconds when video is launched, and player frame rate info confirms increased frame rates.

but when i try to use avisynth or vapoursynth nothing happens even tho svp shows that it's active and that frame rates are doubled when i mouse over the svp icon - also the svp logo doesn't flash when i launch a video like it does when i use ffdshow and cpu usage is the same as it is when i have svp disabled.

i would just go ahead and use ffdshow but the cpu usage is very high even tho i have optical flow enabled, n fact the cpu usage is the same whether i have nvof enabled or disabled (i reboot svp when i tested each setting).

potplayer64
copyback enabled
madvr
svp > settings > potplayer > native = true
svp > settings > potplayer > prefer_avisynth = true (for avisynth) or false for vapoursynth
ffdshow disabled in potplayer
potplayer shows avisynth or vapoursynth as active (checked) depending on the above settings

any help would be appreciated!

Re: Avisynth / Vapoursynth Not Working?

https://i.postimg.cc/jdyvGkJv/01.png
https://i.postimg.cc/7LtNgFpP/02.png
https://i.postimg.cc/8zH4CJ46/03.png
https://i.postimg.cc/fL3f5HNc/04.png
https://i.postimg.cc/nhZTZY4x/05.png
https://i.postimg.cc/Pq54vXVF/06.png

Re: Avisynth / Vapoursynth Not Working?

I really hope your PotPlayer is 64-bit

Re: Avisynth / Vapoursynth Not Working?

Chainik wrote:

I really hope your PotPlayer is 64-bit


https://i.postimg.cc/6pCLSySS/01.png
https://i.postimg.cc/tgytH9Gg/02.png

Re: Avisynth / Vapoursynth Not Working?

Then it means there's some error, probably in NVOF initialization, and PotPlayer's "direct interface" doesn't handle script errors correctly - this's why you don't see any error in SVP's log.
Switch back to ffdshow, check log for errors.

Re: Avisynth / Vapoursynth Not Working?

actually chainik, i haven't checked my svp log, will do.... a question tho: if i have svp's osd enabled, should i see the svp popup when starting a video? when it's enabled i do see it when i use ffdshow but not when i use avusynth or vapoursynth, is it possible that svp is working even if the svp popup doesn't display? thanks!

Chainik wrote:

Then it means there's some error, probably in NVOF initialization, and PotPlayer's "direct interface" doesn't handle script errors correctly - this's why you don't see any error in SVP's log.
Switch back to ffdshow, check log for errors.

Re: Avisynth / Vapoursynth Not Working?

although you should see every time, shit happens... big_smile
but SVP index must show something if SVP actually works

Re: Avisynth / Vapoursynth Not Working?

first, thank you very much for all of your help!

"svp index"? what is that?

and here's my log:

15:56:20.015 I]: Main: starting up SVP 4 Pro [4.3.0.195]...
15:56:20.015 I]: Main: args: none
15:56:20.015 I]: Main: working dir is C:\Program Files (x86)\Players\SVP\
15:56:20.015 I]: Main: data dir set to C:\Users\MOVIES\AppData\Roaming\SVP4\
15:56:20.015 I]: Settings: loading main.cfg OK
15:56:20.030 I]: Settings: loading ui.cfg OK
15:56:20.030 I]: Settings: loading frc.cfg OK
15:56:20.030 I]: Settings: loading profiles.cfg OK
15:56:20.046 I]: Settings: loading custom.cfg OK
15:56:20.046 I]: Settings: loading lights.cfg OK
15:56:20.046 I]: Main: using Qt 5.14.2 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2017)
15:56:20.046 I]: Main: device scale is 2.50002, user defined scale is 0
15:56:20.046 I]: Main: system locale is [en]
15:56:20.046 I]: Main: preferred language is [en-us]
15:56:20.046 I]: Main: setting language file to en.qm...
15:56:20.062 W]: Main: module 'plugins/svpflow1.dll': NOT FOUND
15:56:20.062 W]: Main: module 'plugins/svpflow2.dll': NOT FOUND
15:56:20.062 I]: Main: module 'plugins64/svpflow1.dll': 4.3.0.196
15:56:20.077 I]: Main: module 'plugins64/svpflow2.dll': 4.3.0.196
15:56:20.077 I]: Main: module 'plugins64/svpflow1_vs.dll': 4.3.0.196
15:56:20.093 I]: Main: module 'plugins64/svpflow2_vs.dll': 4.3.0.196
15:56:20.093 W]: Main: PATH doesn't contain mpv64 folder, VLC and libmpv players may not work
15:56:20.093 W]: Main: PYTHONPATH doesn't contain mpv64 folder, VLC and libmpv players may not work
15:56:20.093 W]: Main: PYTHONPATH is EMPTY
15:56:20.124 I]: Main: running OpenCL info...
15:56:20.140 I]: Main: collecting system information...
15:56:20.140 I]: OS: Windows 10 [10.0.19041]
15:56:20.155 I]: CPU: Intel Core i7-9700K [base frequency 3600 MHz, 8 threads]
15:56:20.155 I]: Video: registry info - NVIDIA GeForce RTX 2080 Ti
15:56:20.155 I]: Video: reading OpenCL info...
15:56:20.483 I]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 1.2 CUDA 11.0.228] (NVIDIA Corporation)
15:56:20.483 I]: Video 1: GeForce RTX 2080 Ti (NVIDIA Corporation, ver.452.06) [gpuID=11]: OK
15:56:20.483 I]: Video 1: may support NV Optical Flow (Compute capability: 7.5)
15:56:20.483 I]: Memory:  32699  MB total,  29748 MB free
15:56:20.483 I]: System: finding network settings...
15:56:20.671 I]: Power: AC is ON [1]
15:56:20.874 I]: Screens: updating information, 1 screen(s) found
15:56:21.140 I]: Main: preparing video profiles...
15:56:21.296 I]: Main: preparing performance graphs...
15:56:21.499 I]: Main: preparing ffdshow...
15:56:21.514 I]: FFDShow: found 64-bit version 1.3.4533.0 [C:\Program Files (x86)\Players\ffdshow\ffdshow.ax]
15:56:21.514 I]: Main: preparing PotPlayer...
15:56:21.514 I]: Main: preparing mpv...
15:56:21.514 I]: Main: preparing remote control...
15:56:21.514 I]: RemoteControl: started
15:56:21.514 I]: Main: preparing main menu...
15:56:21.597 I]: Main: loading extensions...
15:56:21.642 I]: Main: initialization completed in 1502 ms, but still waiting for the screens measurement...
15:56:21.793 I]: Updates: checking now...
15:56:22.137 I]: Screens: screen 0 - 3840x1640 @59.942 Hz [measured], x2.5 [95 DPI]
15:56:22.137 I]: Screens: primary screen is 0
15:56:23.746 I]: Performance: quick estimation = 906 (previous value was 917)
17:11:28.447 I]: PotPlayer: found new player instance
17:11:39.384 I]: PotPlayer: new video in PotPlayerMini64.exe (64-bit) [PotPlayer 0.0.0.0] on screen 0 using Avisynth engine
17:11:40.274 I]: Media: video 1920x816 [PAR 1.000] at 24.000 fps [constant]
17:11:40.274 I]: Media: codec type is AVC, YUV/4:2:0/8 bits
17:11:40.275 I]: Playback: starting up...
17:11:40.280 I]: Playback [6079f389]: Frame server (64-bit) 3.5.0.0, AviSynth+ 3.5 (r3043, master, x86_64), C:\WINDOWS\SYSTEM32\avisynth.dll
17:11:40.280 I]: Playback [6079f389]: resulting video frame 1920x816
17:11:40.281 I]: Playback [6079f389]: 2 acceptible profiles, best is 'PROFILE 1' [0]
17:11:40.309 I]: Playback [6079f389]: enabled while video is paused
17:11:40.310 I]: Profile: using automatic profile #1 /film
17:11:40.323 I]: Playback [6079f389]: playing at 96 [24 *4/1]
17:11:40.323 I]: Playback [6079f389]: frame transformations are disabled in this video player
17:12:12.996 I]: PotPlayer: player closed
17:12:13.004 I]: Playback [6079f389]: disabled while video is stopped
17:12:13.004 I]: Playback [6079f389]: deleted

Re: Avisynth / Vapoursynth Not Working?

have you read my previous message at all? hmm

Re: Avisynth / Vapoursynth Not Working?

of course, i've read all of them.
that's why people post their questions, so they can hopefully receive suggestions and answers.
so what exactly are you trying to say with this comment? why so cryptic?

Chainik wrote:

have you read my previous message at all? hmm

Re: Avisynth / Vapoursynth Not Working?

Then it means there's some error, probably in NVOF initialization, and PotPlayer's "direct interface" doesn't handle script errors correctly - this's why you don't see any error in SVP's log.
Switch back to ffdshow, check log for errors.

and yet you're posting <useless> log with "direct interface" active

12 (edited by aeneas1 06-09-2020 18:45:21)

Re: Avisynth / Vapoursynth Not Working?

so does this shed any light on the issue? ffdshow enabled, direct interface disabled, svp osd pops up when video starts....

09:44:06.982 I]: Main: starting up SVP 4 Pro [4.3.0.195]...
09:44:06.982 I]: Main: args: none
09:44:06.982 I]: Main: working dir is C:\Program Files (x86)\Players\SVP\
09:44:06.982 I]: Main: data dir set to C:\Users\MOVIES\AppData\Roaming\SVP4\
09:44:06.986 I]: Settings: loading main.cfg OK
09:44:06.986 I]: Settings: loading ui.cfg OK
09:44:06.986 I]: Settings: loading frc.cfg OK
09:44:06.986 I]: Settings: loading profiles.cfg OK
09:44:06.986 I]: Settings: loading custom.cfg OK
09:44:06.986 I]: Settings: loading lights.cfg OK
09:44:06.986 I]: Main: using Qt 5.14.2 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2017)
09:44:06.986 I]: Main: device scale is 2.50002, user defined scale is 0
09:44:06.990 I]: Main: system locale is [en]
09:44:06.990 I]: Main: preferred language is [en-us]
09:44:06.990 I]: Main: setting language file to en.qm...
09:44:06.998 W]: Main: module 'plugins/svpflow1.dll': NOT FOUND
09:44:06.998 W]: Main: module 'plugins/svpflow2.dll': NOT FOUND
09:44:06.998 I]: Main: module 'plugins64/svpflow1.dll': 4.3.0.196
09:44:06.998 I]: Main: module 'plugins64/svpflow2.dll': 4.3.0.196
09:44:06.998 I]: Main: module 'plugins64/svpflow1_vs.dll': 4.3.0.196
09:44:06.998 I]: Main: module 'plugins64/svpflow2_vs.dll': 4.3.0.196
09:44:06.998 W]: Main: PATH doesn't contain mpv64 folder, VLC and libmpv players may not work
09:44:06.998 W]: Main: PYTHONPATH doesn't contain mpv64 folder, VLC and libmpv players may not work
09:44:06.998 W]: Main: PYTHONPATH is EMPTY
09:44:06.998 I]: Main: running OpenCL info...
09:44:07.006 I]: Main: collecting system information...
09:44:07.006 I]: OS: Windows 10 [10.0.19041]
09:44:07.010 I]: CPU: Intel Core i7-9700K [base frequency 3600 MHz, 8 threads]
09:44:07.010 I]: Video: registry info - NVIDIA GeForce RTX 2080 Ti
09:44:07.010 I]: Video: reading OpenCL info...
09:44:07.042 I]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 1.2 CUDA 11.0.228] (NVIDIA Corporation)
09:44:07.042 I]: Video 1: GeForce RTX 2080 Ti (NVIDIA Corporation, ver.452.06) [gpuID=11]: OK
09:44:07.042 I]: Video 1: may support NV Optical Flow (Compute capability: 7.5)
09:44:07.042 I]: Memory:  32699  MB total,  28821 MB free
09:44:07.042 I]: System: finding network settings...
09:44:07.214 I]: Power: AC is ON [1]
09:44:07.294 I]: Screens: updating information, 1 screen(s) found
09:44:07.402 I]: Main: preparing video profiles...
09:44:07.542 I]: Main: preparing performance graphs...
09:44:07.726 I]: Main: preparing ffdshow...
09:44:07.726 I]: FFDShow: found 64-bit version 1.3.4533.0 [C:\Program Files (x86)\Players\ffdshow\ffdshow.ax]
09:44:07.726 I]: Main: preparing mpv...
09:44:07.726 I]: Main: preparing remote control...
09:44:07.726 I]: RemoteControl: started
09:44:07.726 I]: Main: preparing main menu...
09:44:07.791 I]: Main: loading extensions...
09:44:07.848 I]: Main: initialization completed in 845 ms, but still waiting for the screens measurement...
09:44:07.988 I]: Updates: checking now...
09:44:08.380 I]: Screens: screen 0 - 3840x1640 @59.941 Hz [measured], x2.5 [95 DPI]
09:44:08.380 I]: Screens: primary screen is 0
09:44:10.228 I]: Performance: quick estimation = 916 (previous value was 916)
09:44:42.183 I]: VideoPlayer: new ffdshow video [c0824] in PotPlayerMini64.exe (64-bit) [PotPlayer 0.0.0.0] on screen 0
09:44:42.538 I]: Media: video 1920x816 [PAR 1.000] at 24.000 fps [constant]
09:44:42.538 I]: Media: codec type is AVC, YUV/4:2:0/8 bits
09:44:42.555 I]: Playback: starting up...
09:44:42.559 I]: Playback [c0824]: Frame server (64-bit) 3.5.0.0, AviSynth+ 3.5 (r3043, master, x86_64), C:\WINDOWS\SYSTEM32\avisynth.dll
09:44:42.560 I]: Playback [c0824]: resulting video frame 1920x816
09:44:42.560 I]: Playback [c0824]: 2 acceptible profiles, best is 'PROFILE 1' [0]
09:44:42.573 I]: Playback [c0824]: enabled while video is playing
09:44:42.574 I]: Profile: using automatic profile #1 /film
09:44:42.581 I]: Playback [c0824]: playing at 60 [24 *5/2]
09:44:43.373 I]: Profile: using automatic profile #1 /film
09:44:43.375 I]: Playback [c0824]: playing at 60 [24 *5/2]
09:45:33.357 I]: FFDShow: remove instance [c0824]
09:45:33.360 I]: Playback [c0824]: disabled while video is stopped
09:45:33.662 I]: Playback [c0824]: deleted