27.06.2026, 23:21
Alternative, um was zu machen?
Die Kombination von:
sieht, ohne Sample von der Quelle, erst mal 'wild' aus.
Hätte spontan die Sharpener eher hinter den Resizer gepackt, wenn ich RealESRGAN model=4 verwende. (oder BasicVSR++ verwendet zum Cleanup)
Cu Selur
Die Kombination von:
clip = smdegrain.SMDegrain(clip, thSADC=150, RefineMotion=True, interlaced=False, pel=1, subpixel=3, opencl=True, device=-1)
# sharpening using AWarpSharp2
clip = sharpen.AWarpSharp2(clip, thresh=90, blur=2, depth=25)
# contrast sharpening using CAS
clip = core.cas.CAS(clip, sharpness=0.600)
# adjusting color space from YUV420P8 to YUV444P16 for vsGLSLAdaptiveSharpen
clip = core.resize.Spline36(clip=clip, format=vs.YUV444P16)
# sharpening using GLSL Adaptive Sharpening
with open("C:/Program Files/Hybrid/64bit/vsfilters/GLSL/parameterized/adaptive-sharpen.glsl") as glslf:
glsl = glslf.read()
glsl = glsl.replace('#define curve_height 1.0', '#define curve_height 1.0000')
glsl = glsl.replace('#define anime_mode false', '#define anime_mode true')
glsl = glsl.replace('#define overshoot_ctrl false', '#define overshoot_ctrl true')
glsl = glsl.replace('#define video_level_out false', '#define video_level_out false')
clip = core.placebo.Shader(clip, shader_s=glsl, width=clip.width, height=clip.height)
from vsrealesrgan import realesrgan as RealESRGAN
# adjusting color space from YUV444P16 to RGBH for vsRealESRGAN
clip = core.resize.Spline36(clip=clip, format=vs.RGBH, matrix_in_s="709", range_in_s="limited", range_s="full")
# resizing using RealESRGAN
clip = RealESRGAN(clip, model=4, device_index=0, trt=True, trt_cache_dir=r"C:\Users\Peter\AppData\Local\Temp")Hätte spontan die Sharpener eher hinter den Resizer gepackt, wenn ich RealESRGAN model=4 verwende. (oder BasicVSR++ verwendet zum Cleanup)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RockHarz Festival
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RockHarz Festival

