This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Zwei neue aufgetauchte Probleme
#5
Also wenn ich mit Vapoursynth einen Preview mache, kommt das: 

# Imports
import logging
import sys
import os
import vapoursynth as vs
# using Vapoursynth R79
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Force logging to std:err
logging.StreamHandler(sys.stderr)
# loading plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/znedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/sneedif/libsneedif.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/zsmooth/zsmooth.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/mvutensils/mvutensils.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import ChangeFPS
import nnedi3_resample
import smdegrain
import validate
# Source: 'C:\Users\Peter\Desktop\Zeug\Upscaling\Hybrid\Demon.Slayer.Kimetsu.no.Yaiba.Infinity.Castle.2025.German.ML.AAC.1080p.WebDL.x264-PuddingSama.mkv'
# clip current meta; color space: YUV420P10, bit depth: 10, resolution: 3840x2160, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: Unspecified, yuv luminance scale: limited, scanorder: progressive, full height: true (Source)
# Loading 'C:\Users\Peter\Desktop\Zeug\Upscaling\Hybrid\Demon.Slayer.Kimetsu.no.Yaiba.Infinity.Castle.2025.German.ML.AAC.1080p.WebDL.x264-PuddingSama.mkv' using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/Peter/Desktop/Zeug/Upscaling/Hybrid/Demon.Slayer.Kimetsu.no.Yaiba.Infinity.Castle.2025.German.ML.AAC.1080p.WebDL.x264-PuddingSama.mkv", format="YUV420P10", stream_index=0, cache=0, fpsnum=24000, fpsden=1001, prefer_hw=0)
frame = clip.get_frame(0)
# setting color matrix to 709.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT709)
# setting color transfer (vs.TRANSFER_BT2020_10), if it is not set.
if validate.transferIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT2020_10)
# setting color primaries info (to vs.PRIMARIES_BT2020), if it is not set.
if validate.primariesIsInvalid(clip):
clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT2020)
# setting color range to TV (limited) range.
prop_name = '_Range' if core.core_version.release_major >= 74 else '_ColorRange'
clip = core.std.SetFrameProps(clip=clip, **{prop_name: vs.RANGE_LIMITED})
# making sure frame rate is set to 23.976fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# making sure the detected scan type is set (detected: progressive)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive
original = clip
# removing grain using SMDegrain
clip = smdegrain.SMDegrain(clip, thSADC=150, RefineMotion=True, interlaced=False, pel=1, subpixel=3, opencl=True, device=-1)
from vsrife import rife
# adjusting color space from YUV420P10 to RGBH for vsTorchRIFE
clip = core.resize.Spline36(clip=clip, format=vs.RGBH, matrix_in_s="709", range_in_s="limited", range_s="full")
# adjusting frame count&rate with RIFE (torch)
clip = rife(clip, model="4.22.lite", trt=True, trt_cache_dir="C:/Users/Peter/AppData/Local/Temp", sc=True, sc_threshold=0.500) # new fps: 47.952
# adjusting frame count by adding duplicate frames
original = ChangeFPS.ChangeFPS(clip=original,target_fps_num=48000,target_fps_den=1001)
# adjusting output color from RGBH to YUV420P10 for NVEncModel
clip = core.resize.Spline36(clip=clip, format=vs.YUV420P10, matrix_s="709", range_in_s="full", range_s="limited", dither_type="none")
original = core.text.Text(clip=original,text="Original",scale=4,alignment=7)
clip = core.text.Text(clip=clip,text="Filtered",scale=4,alignment=7)
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 47.952fps (progressive)
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=48000, fpsden=1001)
# output
stacked.set_output()
# stacked current meta; color space: YUV420P16, bit depth: 10, resolution: 7680x2160, fps: 47.952, color matrix: 709, color primaries: , color transfer: , yuv luminance scale: limited, scanorder: progressive, full height: true (Meta)
# script was created by Hybrid 2026.09.04.1

Failed to evaluate the script:
Python exception: Failed to load C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/scenechange.dll. GetLastError() returned 126. The file you tried to load or one of its dependencies is probably missing.

Traceback (most recent call last):
File "vapoursynth.pyx", line 3832, in vapoursynth._vpy_evaluate
File "vapoursynth.pyx", line 3833, in vapoursynth._vpy_evaluate
File "C:\Users\Peter\AppData\Local\Temp\tempPreviewVapoursynthFile16_00_14_582.vpy", line 16, in
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/scenechange.dll")
File "vapoursynth.pyx", line 3559, in vapoursynth.Function.__call__
vapoursynth.Error: Failed to load C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/scenechange.dll. GetLastError() returned 126. The file you tried to load or one of its dependencies is probably missing.


Eine debug-File schicke ich gleich noch.
Reply


Messages In This Thread
RE: Zwei neue aufgetauchte Probleme - by powerthrash4K - 26.09.2026, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)