Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
16th August 2022, 20:45 | #1 | Link |
Chiptuner & VapourSynther
Join Date: Mar 2019
Location: Scarlet Devil Mansion, Gensōkyō
Posts: 52
|
vsutils no longer detected by VapourSynth after upgrading from R45 to R58
Hello,
I had recently upgraded my version of VapourSynth (AMD64) from R45 to R58 (plus installed Python 3.10 as required by R58), & even though I copied all VS-related Python scripts (vsutils.py, havsfunc.py, etc.) from their previous Python location (no longer remember what Py version did I have) to the new one (C:\Program Files\Python310\Lib\site-packages\vapoursynth), VS no longer detects them when I try to preview a VPY script in VapourSynth Editor r19: Code:
Failed to evaluate the script: Python exception: No module named 'vsutils' Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 2886, in vapoursynth._vpy_evaluate File "src\cython\vapoursynth.pyx", line 2887, in vapoursynth._vpy_evaluate File "D:\fakepath\TH09_07.VPY", line 2, in import vsutils as vsu ModuleNotFoundError: No module named 'vsutils' http://forum.doom9.org/showthread.php?t=176288 http://forum.doom9.org/showthread.php?t=176375 Did R58 change something about how & where to load Py scripts? Or is this a specific Py3.10 issue? EDIT: this is how I try to import vsutils & other Py scripts into my script (the same methodology that worked for me since those two archived threads above well into August 2021, the last time I recall using R45): Code:
from vapoursynth import core
import vsutils as vsu
import havsfunc as haf
import functools
import sys
import math
vsufuncs = vsu.vsutils()
__________________
SilSinn9801 a.k.a. Silent Sinner in Scarlet Discord: silsinn9801 Matrix: silsinn9821:matrix.org YouTube: https://youtube.com/SilentSinnerInScarlet ニコニコ動画: https://nicovideo.jp/user/68029427 Last edited by SilSinn9801; 16th August 2022 at 20:50. Reason: added for context how I try to invoke vsutils & other Py scripts; fixed misspelled word |
16th August 2022, 21:06 | #2 | Link |
Registered User
Join Date: Dec 2020
Posts: 94
|
The python files should be in C:\Program Files\Python310\Lib\site-packages
Not in C:\Program Files\Python310\Lib\site-packages\vapoursynth I also recommend to get updated github versions to avoid error with VS new API4 And for fade effects, I recommend this script: https://github.com/OrangeChannel/vs-transitions Docs: https://vapoursynth-transitions.read....io/en/latest/ |
16th August 2022, 21:27 | #3 | Link | |
Chiptuner & VapourSynther
Join Date: Mar 2019
Location: Scarlet Devil Mansion, Gensōkyō
Posts: 52
|
Does Irrational-Encoding-Wizardry/vsutil replace jeremypoulter/vsutils?
Quote:
__________________
SilSinn9801 a.k.a. Silent Sinner in Scarlet Discord: silsinn9801 Matrix: silsinn9821:matrix.org YouTube: https://youtube.com/SilentSinnerInScarlet ニコニコ動画: https://nicovideo.jp/user/68029427 |
|
16th August 2022, 21:53 | #5 | Link |
Chiptuner & VapourSynther
Join Date: Mar 2019
Location: Scarlet Devil Mansion, Gensōkyō
Posts: 52
|
Now after moving vsutils & other scripts to the new location & refreshing all scripts that had updates, now I get this error:
Code:
Failed to evaluate the script: Python exception: module 'vapoursynth' has no attribute 'get_core' Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate File "D:\fakepath\TH09_07.VPY", line 7, in vsufuncs = vsu.vsutils() File "C:\Program Files\Python310\lib\site-packages\vsutils.py", line 8, in __init__ self.core = vs.get_core() AttributeError: module 'vapoursynth' has no attribute 'get_core' EDIT: my VapourSynth install is now R59 after installing your jvsfunc script via PIP.
__________________
SilSinn9801 a.k.a. Silent Sinner in Scarlet Discord: silsinn9801 Matrix: silsinn9821:matrix.org YouTube: https://youtube.com/SilentSinnerInScarlet ニコニコ動画: https://nicovideo.jp/user/68029427 Last edited by SilSinn9801; 16th August 2022 at 21:56. Reason: adding that now I have R59 since installing jvsfunc via pip just upgraded vapoursynth |
Tags |
python 3.10, vapoursynth r58, vsutils |
Thread Tools | Search this Thread |
Display Modes | |
|
|