
Created skript D:\PProjects\vs-deoldify_dev\samples\sample3\encodingTempSynthSkript_2026-06-03@17_56_23_4810_0.vpy:---------------------
# Imports
import sys
import os
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Limit thread count to 1 due to vsCMNet2DiT
core.num_threads = 1
# Limit frame cache to 16384MB
core.max_cache_size = 16384
# Import scripts folder
scriptPath = 'D:/Programs/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# loading plugins
core.std.LoadPlugin(path="D:/Programs/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import vshavc as havc
import validate
# Source: 'D:\PProjects\vs-deoldify_dev\samples\sample3\sample3_bw.mkv'
# clip current meta; color space: YUV420P10, bit depth: 10, resolution: 1440x1080, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: BT.709, yuv luminance scale: limited, scanorder: progressive, full height: true (Source)
# Loading 'D:\PProjects\vs-deoldify_dev\samples\sample3\sample3_bw.mkvÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/PProjects/vs-deoldify_dev/samples/sample3/sample3_bw.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_BT709), if it is not set.
if validate.transferIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT709)
# setting color primaries info (to vs.PRIMARIES_BT709), if it is not set.
if validate.primariesIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT709)
# 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
# colorize using CMNet with external DiT (HAVC)
clip = havc.HAVC_cmnet2dit(clip, render_speed="auto", render_vivid=False, sc_thresh=0.035, sc_tht_ssim=0.80, sc_min_int=25, sc_tht_offset=2, sc_min_freq=0, max_memory_frames=10, dit_engine_params={"host": "127.0.0.1", "port": 8765, "model_precision": "fp4"}, retry_threshold=0.00)
# set output frame rate to 23.976fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# output
clip.set_output()
# clip current meta; color space: YUV420P10, bit depth: 10, resolution: 1440x1080, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: BT.709, yuv luminance scale: limited, scanorder: progressive, full height: true (Meta)
# script was created by Hybrid 2026.05.30.1
---------------------
 x265 (1 pass bitrate) x265 processing started
starting 2026-06-03@17_56_23_4810_02_video@17:56:23.596 - D:\PProjects\vs-deoldify_dev\samples\sample3\sample3_bw_new.mkv
"D:\Programs\Hybrid\64bit\x265.exe" --preset fast --input - --fps 24000/1001 --output-depth 10 --y4m --profile main10 --level-idc 4.1 --crf 20.00 --psy-rd 2.00 --vbv-maxrate 50000 --vbv-bufsize 50000 --no-mcstf --range limited --colormatrix bt709 --sar 1:1 --output "D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265"
y4m  [info]: 1440x1080 fps 24000/1001 i420p10 sar 1:1 unknown frame count
raw  [info]: output file: D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265
x265 [info]: HEVC encoder version 4.1+239-8be7dbf
x265 [info]: build info [Windows][GCC 15.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-4.1 (High tier)
x265 [info]: Thread pool created using 20 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-20.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 50000 / 50000 / 0.900
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao dhdr10-info
x265 [info]: frame I:     17, Avg QP:17.67  kb/s: 16289.90
x265 [info]: frame P:    507, Avg QP:18.36  kb/s: 5569.62
x265 [info]: frame B:   2020, Avg QP:24.62  kb/s: 725.24
x265 [info]: Weighted P-Frames: Y:7.5% UV:6.3%
encoded 2544 frames in 489.84s (5.19 fps), 1794.70 kb/s, Avg QP:23.33
2026-06-03@17_56_23_4810_02_video finished after 00:10:31.193
finished...

created D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265 (22.7129 MB)
starting cleanUpJob for: D:\PProjects\vs-deoldify_dev\samples\sample3\encodingTempSynthSkript_2026-06-03@17_56_23_4810_0.vpy
delete D:\PProjects\vs-deoldify_dev\samples\sample3\encodingTempSynthSkript_2026-06-03@17_56_23_4810_0.vpy
mkvmerge started...
starting 2026-06-03@17_56_23_4810_06_muxing@18:06:54.913 - D:\PProjects\vs-deoldify_dev\samples\sample3\sample3_bw_new.mkv
"D:\Programs\Hybrid\64bit\mkvmerge.exe" --ui-language en -o "D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810__04.mkv" --global-tags "D:\PProjects\vs-deoldify_dev\samples\sample3\mkvtags_2026-06-03@17_56_23_4810__04.xml" -d 0 --default-track 0:yes --color-matrix-coefficients 0:1 --color-range 0:1 --color-transfer-characteristics 0:2 --color-primaries 0:1 --default-duration "0:24000/1001fps" --aspect-ratio-factor 0:1/1 --no-chapters --compression -1:none --forced-track 0:yes --field-order 0:0 --no-audio --no-subtitles "D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265" --track-order 0:1 --attachment-description "Hybrids report file" --attachment-mime-type "text/plain" --attach-file "D:\PProjects\vs-deoldify_dev\samples\sample3\mkvEncodingSettings_2026-06-03@17_56_23_4810__04.txt"
2026-06-03@17_56_23_4810_06_muxing finished after 00:00:00.462
finished...

created D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810__04.mkv (22.7431 MB)
starting cleanUpJob for: D:\PProjects\vs-deoldify_dev\samples\sample3\mkvtags_2026-06-03@17_56_23_4810__04.xml
delete D:\PProjects\vs-deoldify_dev\samples\sample3\mkvtags_2026-06-03@17_56_23_4810__04.xml
starting cleanUpJob for: D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265
delete D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810_02.265
starting cleanUpJob for: D:\PProjects\vs-deoldify_dev\samples\sample3\mkvEncodingSettings_2026-06-03@17_56_23_4810__04.txt
delete D:\PProjects\vs-deoldify_dev\samples\sample3\mkvEncodingSettings_2026-06-03@17_56_23_4810__04.txt
renamed D:\PProjects\vs-deoldify_dev\samples\sample3\2026-06-03@17_56_23_4810__04.mkv to D:\PProjects\vs-deoldify_dev\samples\sample3\sample3_bw_new.mkv