That fixed it, sorry about the late reply.

ERIC

SVP latest update to Vapoursynth 4.5.0.211 (I think 0.57), I have it installed and I rebooted.

See attached Image.

However the filter is no longer registered, so I can not use it in potplayer or MPC-HC x64 (1.9.18) also installed via SVP4

I also tried setting the environmental variables for libmpv and VLC and rebooting same thing.


How do I get Vapoursynth  to register so I can utilize it, I can utilize avisynth as a filter, but not Vapoursynth .

python is 3.9.9 in C:\Program Files (x86)\SVP 4\mpv64 and C:\Program Files (x86)\SVP 4\mpv64\VapourSynth.dll is present

Edited to add installation logs: InstallationLog.txt


ERIC

Still unable to do anything even using the 240p sample:

17:37:35.138 [i]: AVSF: player closed
17:37:35.150 [i]: Playback [dee418a3]: disabled while video is stopped
17:37:35.153 [i]: Playback [dee418a3]: deleted
17:37:50.068 [i]: AVSF: found new player instance
17:37:50.087 [i]: AVSF: filters in use: LAV Splitter Source -> LAV Video Decoder -> * -> Madshi Video Renderer
17:37:50.088 [i]: AVSF: new video in PotPlayerMini64.exe (64-bit) [PotPlayer 0.0.0.0] on screen 1
17:37:50.173 [i]: Media: video 320x240 [PAR 1.000] at 15.000 fps
17:37:50.173 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
17:37:50.174 [i]: Playback: starting up...
17:37:50.178 [i]: Playback [3d06215d]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
17:37:50.179 [i]: Playback [3d06215d]: resulting video frame 320x240
17:37:50.179 [i]: Playback [3d06215d]: 1 acceptible profiles, best is 'Automatic' [0]
17:37:50.181 [i]: Playback [3d06215d]: enabled while video is playing
17:37:50.182 [i]: Profile: using automatic profile #1 /film
17:37:50.184 [i]: Playback [3d06215d]: playing at 60 [15 *4/1] 
17:37:54.534 [i]: Playback [3d06215d]: switching to profile 'RIFE AI engine'
17:37:54.535 [i]: Playback [3d06215d]: playing at 30 [15 *2/1] 
17:38:16.983 [i]: AVSF: player closed

As soon as I select RIFE video stops GPU goes to 0% and Audio plays until I  kill the player.  So while the command above fixed the script error it has done nothing to allowing PyTorch to work. So maybe one step closer.

ERIC

Well I have not gotten very far as you can see I get some script failure using PyTorch based RIFE

As for specs: I'm trying on a AMD 3900x,  64GB of Memory and a 3080 TI card, so I should have the horse power to run RIFE if anything can.

I did try that video quickly using Vulkan; I had no issue with that GPU load is around 20%, will try to get some better data when I have some real  time to play more with RIFE.  Fully agree real-time SVP with RIFE would be a game changer, which is why I'm giving it a shot.

ERIC

Thought of PSU and other things, the problem it only happens when I used SVP (Windows 10 or 11) , actually in Windows 10 with AVISynth it happens 100% of the time.  All power draws are low when it occurs (has not even started playback) and testing with high stress CPU+MEM+GPU) show no issues over 4+ hours (longest I bothered to run it), but with SVP in Windows 10 I can in literally a second (very strange indeed). 
I fixed the KERNELBASE.dll, I think a player player installed a codec pack (I had not ment to install one), which caused this, I simply rolled back to an earlier backup (installing Windows is pays to make multiple backups at different states along the way), once I reinstalled SVP it was ok (still hard stops the PC using AVISynth), however the KERNELBASE.dll seems related to some conflicting filter that got registered.    So one random issue down.

ERIC

When I try to use RIFE following the instructions that the previous posts references post I get:

20:55:20.530 [E]: Playback [3d8c3fef]: VS - Python exception: Ran out of input
20:55:20.530 [E]: Playback [3d8c3fef]: VS - Traceback (most recent call last):
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \src\cython\vapoursynth.pyx\, line 2244, in vapoursynth.vpy_evaluateScript
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \src\cython\vapoursynth.pyx\, line 2245, in vapoursynth.vpy_evaluateScript
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Users\htpc user\AppData\Roaming\SVP4\scripts\3d8c3fef.py\, line 70, in <module>
20:55:20.530 [E]: Playback [3d8c3fef]: VS - smooth = interpolate(clip)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Users\htpc user\AppData\Roaming\SVP4\scripts\3d8c3fef.py\, line 51, in interpolate
20:55:20.530 [E]: Playback [3d8c3fef]: VS - smooth = RIFE(input_m,model_ver=3.8,fp16=not rife_precision,scale=1.0 if rife_threads<=2 else 0.5,device_index=rife_gpu)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Program Files (x86)\SVP 4\mpv64\lib\site-packages\vsrife\__init__.py\, line 77, in RIFE
20:55:20.530 [E]: Playback [3d8c3fef]: VS - model.load_model(os.path.join(os.path.dirname(__file__), model_dir), -1)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Program Files (x86)\SVP 4\mpv64\lib\site-packages\vsrife\model38\RIFE_HDv3.py\, line 40, in load_model
20:55:20.530 [E]: Playback [3d8c3fef]: VS - self.flownet.load_state_dict(convert(torch.load('{}/flownet.pkl'.format(path))), False)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Program Files (x86)\SVP 4\mpv64\lib\site-packages\torch\serialization.py\, line 608, in load
20:55:20.530 [E]: Playback [3d8c3fef]: VS - return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - File \C:\Program Files (x86)\SVP 4\mpv64\lib\site-packages\torch\serialization.py\, line 777, in _legacy_load
20:55:20.530 [E]: Playback [3d8c3fef]: VS - magic_number = pickle_module.load(f, **pickle_load_args)
20:55:20.530 [E]: Playback [3d8c3fef]: VS - EOFError: Ran out of input

This then crashes the media player, after playing sound for say 10 second, video just hangs as soon as enabled.


I also tried with Vulkan, so set Test-Time Augmentaion: Disabled
This does not hang, but is unusable in real-time I get a 10 or so frames a second at best as is expected.

21:12:59.698 [i]: Playback [91b99dbe]: playing at 59.94 [23.976 *5/2] 
21:13:25.245 [i]: Playback [91b99dbe]: switching to profile 'RIFE AI engine'
21:13:25.247 [i]: Playback [91b99dbe]: playing at 47.952 [23.976 *2/1] 
21:13:39.714 [i]: Playback [91b99dbe]: source frame rate changed to 8.181
21:13:39.715 [i]: Playback [91b99dbe]: 2 acceptible profiles, best is 'Anime_SubsPlease' [100]
21:13:39.717 [i]: Playback [91b99dbe]: keep previously selected profile 'RIFE AI engine'
21:15:40.833 [i]: AVSF: player closed
21:15:40.836 [i]: Playback [91b99dbe]: disabled while video is stopped
21:15:40.836 [i]: Playback [91b99dbe]: deleted

ERIC

VapourSynth  unhandled exception at KERNELBASE.dll, I get the following error on Windows 10, giving up on 11 for now went and reinstalled Windows 10 as looking for additional stability, then reinstalled SVP in Windows 10 and I'm getting this (see attached).

Happens on playback or trying to open the VapourSynth filter to adjust settings.  I've uninstalled and reinstalled and it has not helped any.  I also made sure that I did set paths, though I would not expect that to result in an unhandled exception like I'm seeing.

I would use avisynth but that causes the system to shutdown hard in Windows 10 (actually I had hard shutdowns in Windows 11 why I was moving back), and blamed Windows 11 starting to think it is SVP related as it always happens while SVP is in use.  Yet there is no real stress and I could see a Windows crash, but this is simply Windows powering off hard, with nothing reported (very difficult to trouble shoot) a root cause as nothing gets logged.

ERIC

Notice I'm still getting:
Playback [9ba055de]: VS - Script error: expected `('\n(C:\Users\htpc user\AppData\Roaming\SVP4\scripts\9ba055de.py, line 7, column 6)
which is the line: "if not hasattr(core,'svp1'):"

However I've ensured that the I have only 1 copy of python and it works on the command line on through SVP am I seeing it (see above).  I was also having an issue with Windows 11 and AviSynth so I had removed that, now it is back again, so yeah not sure why I had both enabled, but the python error is still a problem even then.

So I've been working on this and now I still see in the logs:

18:23:16.305 [i]: AVSF: found new player instance
18:23:16.338 [i]: AVSF: filters in use: LAV Splitter Source -> LAV Video Decoder -> AviSynth Filter -> * -> Madshi Video Renderer
18:23:16.341 [i]: AVSF: new video in PotPlayerMini64.exe (64-bit) [PotPlayer 0.0.0.0] on screen 1
18:23:16.391 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps
18:23:16.391 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits
18:23:16.393 [i]: Playback: starting up...
18:23:16.399 [i]: Playback [9ba355f2]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
18:23:16.400 [i]: Playback [9ba355f2]: resulting video frame 1920x1080
18:23:16.401 [i]: Playback [9ba355f2]: 2 acceptible profiles, best is 'Anime_SubsPlease' [100]
18:23:16.402 [i]: Playback [9ba055de]: disabled while video is paused
18:23:16.404 [i]: Playback [9ba355f2]: enabled while video is playing
18:23:16.405 [i]: Profile: using automatic profile #1 /animation
18:23:16.407 [i]: Playback [9ba355f2]: playing at 59.94 [23.976 *5/2] 
18:23:16.412 [E]: Playback [9ba055de]: VS - Script error: expected `('\n(C:\Users\htpc user\AppData\Roaming\SVP4\scripts\9ba055de.py, line 7, column 6)

SVP4 shows, see attached, 2 videos same name one active and one inactive, any idea what is happening?  and why?

ERIC

Thanks that worked.

ERIC

Yes actually Python 3.10 is installed, was using for something else, however to trouble shoot it was removed.

Python for Windows: python-3.10.0-amd64

Located in: C:\Users\<user>\AppData\Local\Programs\Python\Python310

However I did checking that it was not in the path (the default is python 3.8) so the one from SVP4.  Yet since there was still an issue, I removed it and restarted, then reapplied the settings from SVP4 to be sure it was being used and again rebooted.

Next I go to the player and set vapoursynth filter to preferred, see attached and it is not used, if I enabled the avisynth (image) plugin then I get the error above.  Now there is no other python installed and I rebooted after removal and then re added the path and rebooted again to be sure. so I can not think of anything else to do.

To test further I tried:

C:\1>Python 24ac8308.py
24ac8308.py:5: DeprecationWarning: get_core() is deprecated. Use "vapoursynth.core" instead.
  core = vs.get_core(threads=25)
Traceback (most recent call last):
  File "24ac8308.py", line 12, in <module>
    clip = VpsFilterSource
NameError: name 'VpsFilterSource' is not defined

So this is odd it gets further than it does when called via the player in that it has an issue on line 12, which seems right as "VpsFilterSource" is not currently defined, but then why does the script have an issue when loaded through the player yet works on the command line? 

Path=C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Adaptec\maxView Storage Manager\pegasus\bin;C:\Program Files\Adaptec\maxView Storage Manager\;C:\Program Files\Adaptec\maxView Storage Manager\ssl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\SVP 4\mpv64

both should be using the same python as it is now the only copy installed, I confirmed there are 2 of them one 32bit and another 64 both installed by SVP4, but to be 100% sure I also renamed the 32bit one to python.exe.org to ensure the 64bit one was being called.

Note this is PotPlayer64 bit "PotPlayerMini64.exe", so it is a 64bit application, as obviously it 32bit then it could not work.

ERIC

I did remove ffdshow so I now have installed:  LAV and madvr are through other software, I can not install directshow as that installs ffdshow, so now the product does not work at all.   When I reinstall directshow 64bit I get ffdshow again, see second image, which seems to be working, but again has ffdshow.

I did try vapoursynth, but am having no luck as the script does not work, separate topic that.

ERIC

Error Seen:
Script Error execpted '('
[C:\Users\...\SVP4\scripts\b4d008a0.py, Line 7, Column 6]

# This script was generated by SVP 4 Manager.
# Check https://www.svp-team.com for more details.

import vapoursynth as vs
core = vs.get_core(threads=25)

if not hasattr(core,'svp1'):
    core.std.LoadPlugin("C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow1_vs.dll")
if not hasattr(core,'svp2'):
    core.std.LoadPlugin("C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow2_vs.dll")

The issues is with line 7, so: if not hasattr(core,'svp1'):
"C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow1_vs.dll"
and
"C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow2_vs.dll"
Do exist and the path seems correct, so the issue is with hasattr

I edited to:

#if not hasattr(core,'svp1'):
core.std.LoadPlugin("C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow1_vs.dll")
#if not hasattr(core,'svp2'):
core.std.LoadPlugin("C:\\Program Files (x86)\\SVP 4\\plugins64\\svpflow2_vs.dll")

Ok that is just a plain simply hack (comment out what is throwing an error), but it worked.

ERIC

I think I tracked down the issue after hours of playing (well maybe only 2), it is the SVPTube that does it I disabled this and since the explorer has not crashed.    The fault looks like:

Faulting application name: explorer.exe, version: 10.0.22000.120, time stamp: 0xe846e749
Faulting module name: ExplorerExtensions.dll, version: 421.22500.0.0, time stamp: 0x6116cf4b
Exception code: 0xc000027b
Fault offset: 0x00000000002bb7d2
Faulting process id: 0x45a0
Faulting application start time: 0x01d7be9c5babd143
Faulting application path: C:\Windows\explorer.exe
Faulting module path: C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\ExplorerExtensions.dll
...

Application Settings->Additional options->Extentions->SVPTube (I disabled it here)

I also think that disabling hiding the SVP Icon in the tray helps reduce the issues as well (but I can not prove that), while SVPTube definitely has a huge impact on crashing, it does not fix the issue entirely, definitely helped however perhaps less communications with explorer.exe?

Log output when explorer cashes, and always a reference to explorer when it does:

09:43:24.870 [i]: Profile: using automatic profile #1 /animation
09:43:24.873 [i]: Playback [b51efcc8]: playing at 60 [30 *2/1] 
09:43:30.876 [i]: Playback [b51efcc8]: black fields changed to TB: 0-0, LR: 0-0
09:43:30.876 [i]: Playback [b51efcc8]: resulting video frame 1920x1080
09:43:30.877 [i]: Playback [b51efcc8]: 1 acceptible profiles, best is 'Automatic' [0]
09:43:30.877 [i]: Playback [b51efcc8]: keep previously selected profile 'Automatic'
09:43:30.877 [i]: Profile: using automatic profile #1 /animation
09:43:30.879 [i]: Playback [b51efcc8]: playing at 60 [30 *2/1] 
09:46:00.021 [W]: VideoPlayer: new instance found in explorer.exe but SVP can't talk to it.
09:46:00.023 [i]: FFDShow: remove instance [30d68]

Every time I see "VideoPlayer: new instance found in explorer.exe but SVP can't talk to it." is a time when explorer has crashed.


ERIC

15

(5 replies, posted in Using SVP)

Thanks, for the response, glad to have that supported, I'd suggest you document this as I can not be the only one confused.

ERIC

I want to create a profile which will match files containing

aaaaa or bbbbb or ccccc ....

In the Name.

I do not see a way to do so, as I can find no documentation on profiles and how to manage them, as they do not appear documented, I do not want 3 profiles as then I have to keep them in sync, but I do want control, for instance in PotPlay I simply have aaaa,bbbbb,ccccc,.... to match any one of the list.  How is this done in SVP?

Thanks,
ERIC

Followed the instructions in tehfirst post.  I if enable SVP then I get 4 or 5 seconds of playback followed by the nothing, only audio.  I'm eliminated MVR for now as that added an extra layer, but even with the default EVR rendering I get a few second then the player hangs.  I'm not  using the full GPU only about 41% when it does work for a few seconds, then nothing.


ERIC