Skip to content

Commit 864b548

Browse files
Update Windows deps: add libdvdread, apply havsfunc patches, remove stale files
- Add deps/windows-x64/lib/dvdread.dll for DVD import support - Re-apply YCOCG and EEDI3CL fallback patches to havsfunc - Remove duplicate libfftw3f-3.dll from vs-plugins (already in vapoursynth root) - Update deps-version.json with Windows deps 1.2.0 SHA256 and size Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a6fbd4 commit 864b548

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

app/assets/deps-version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"platforms": {
66
"windows-x64": {
77
"filename": "VapourBox-deps-1.2.0-windows-x64.zip",
8-
"sha256": null,
9-
"size": null
8+
"sha256": "92fa7946b423c077ecae0066b74c5a61ee45ac2406caea84c576dc2d10b63cbd",
9+
"size": 172690070
1010
},
1111
"macos-arm64": {
1212
"filename": "VapourBox-deps-1.2.0-macos-arm64.zip",

deps/windows-x64/lib/dvdread.dll

129 KB
Binary file not shown.

deps/windows-x64/vapoursynth/Lib/site-packages/havsfunc.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def santiag_dir(c, strength, type, fw=None, fh=None):
136136
def santiag_stronger(c, strength, type):
137137
if opencl:
138138
myNNEDI3 = core.nnedi3cl.NNEDI3CL
139-
myEEDI3 = core.eedi3m.EEDI3CL
139+
has_eedi3cl = hasattr(core, 'eedi3m') and hasattr(core.eedi3m, 'EEDI3CL')
140+
myEEDI3 = core.eedi3m.EEDI3CL if has_eedi3cl else (core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedi3.eedi3)
140141
nnedi3_args = dict(nsize=nsize, nns=nns, qual=qual, pscrn=pscrn, device=device)
141142
eedi3_args = dict(alpha=alpha, beta=beta, gamma=gamma, nrad=nrad, mdis=mdis, vcheck=vcheck, device=device)
142143
else:
@@ -1548,9 +1549,10 @@ def QTGMC_Interpolate(Input, InputType, EdiMode, NNSize, NNeurons, EdiQual, EdiM
15481549
Fallback=None, ChromaEdi='', TFF=None, opencl=False, device=None):
15491550
if opencl:
15501551
myNNEDI3 = core.nnedi3cl.NNEDI3CL
1551-
myEEDI3 = core.eedi3m.EEDI3CL
1552+
has_eedi3cl = hasattr(core, 'eedi3m') and hasattr(core.eedi3m, 'EEDI3CL')
1553+
myEEDI3 = core.eedi3m.EEDI3CL if has_eedi3cl else (core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedi3.eedi3)
15521554
nnedi3_args = dict(nsize=NNSize, nns=NNeurons, qual=EdiQual, pscrn=pscrn, device=device)
1553-
eedi3_args = dict(alpha=alpha, beta=beta, gamma=gamma, nrad=nrad, mdis=EdiMaxD, vcheck=vcheck, device=device)
1555+
eedi3_args = dict(alpha=alpha, beta=beta, gamma=gamma, nrad=nrad, mdis=EdiMaxD, vcheck=vcheck, device=device) if has_eedi3cl else dict(alpha=alpha, beta=beta, gamma=gamma, nrad=nrad, mdis=EdiMaxD, vcheck=vcheck)
15541556
else:
15551557
myNNEDI3 = core.znedi3.nnedi3 if hasattr(core, 'znedi3') else core.nnedi3.nnedi3
15561558
myEEDI3 = core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedi3.eedi3
@@ -2526,7 +2528,7 @@ def YDifferenceToNext(n, f, clips):
25262528
#
25272529
###################
25282530
def LUTDeRainbow(input, cthresh=10, ythresh=10, y=True, linkUV=True, mask=False):
2529-
if not isinstance(input, vs.VideoNode) or input.format.color_family not in [vs.YUV, vs.YCOCG] or input.format.bits_per_sample > 10:
2531+
if not isinstance(input, vs.VideoNode) or input.format.color_family != vs.YUV or input.format.bits_per_sample > 10:
25302532
raise TypeError('LUTDeRainbow: This is not an 8-10 bit YUV or YCoCg clip')
25312533

25322534
shift = input.format.bits_per_sample - 8
-2.64 MB
Binary file not shown.

0 commit comments

Comments
 (0)