3 hours ago
I attached the zip archive with the new RC6
Inside the archive there is a folder named "vsdeoldify", this folder need to be extracted over your Hybrid installation, for example: .\Hybrid\64bit\Vapoursynth\Lib\site-packages
so that the folder "vsdeoldify" contained in "site-packages" will be override with the new RC6.
You don't have to write any script, just copy this one
In this script, the merge is performed by the following function
as suggested in the comment, you can try to change the parameter method (allowed values are: 2, 3, 4, 5) and/or the weight to get the clip with the best colors for you.
If all goes well, you should obtain a clip like this one: https://gofile.io/d/iiWtVr
Dan
Inside the archive there is a folder named "vsdeoldify", this folder need to be extracted over your Hybrid installation, for example: .\Hybrid\64bit\Vapoursynth\Lib\site-packages
so that the folder "vsdeoldify" contained in "site-packages" will be override with the new RC6.
You don't have to write any script, just copy this one
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts
import vsdeoldify as havc
# step1: read the clip
clip = havc.HAVC_read_video(source="Crvena_Zvezda_Fiorentina_1966.mkv")
# skip the first 20 frames with test color
clip = clip[20:]
# crop bars
clip = core.std.Crop(clip=clip, left=20, right=20, top=4, bottom=4)# cropping to 1240x952
# Resizing using bicubic spline to 1280x960
clip = core.resize.Spline36(clip, width=1280, height=960)
# step2: adding colors using HAVC to clip1
clip1 = havc.HAVC_main(clip=clip, Preset="fast", ColorModel="DDColor(Artistic)", ColorMap="red->brown", ColorTune="medium", BlackWhiteTune="light", BlackWhiteMode=0, BlackWhiteBlend=True, ColorFix='Retinex/Red', EnableDeepEx=False)
clip1 = havc.HAVC_tweak(clip1, hue=10.00, sat=1.20, cont=0.95, bright=0)
# step3: adjusting color using HAVC_ColorAdjust/Tweak to clip2
clip2 = havc.HAVC_ColorAdjust(clip, BlackWhiteTune="strong", BlackWhiteMode=5, BlackWhiteBlend="True", ReColor=False)
clip2 = havc.HAVC_tweak(clip2, hue = 20, sat = 3.5, bright = 0, cont = 1.0, gamma = 1.0)
clip2 = havc.HAVC_adjust_rgb(clip2, strength=0.5, factor=(0.8, 1.10,1))
clip2 = havc.HAVC_bw_tune(clip2)
# merge clip1 & clip2, its possible to change the method (2-5) and/or the weight (0.2-0.8) to change the final colors (as preferred)
clip = havc.HAVC_merge(clip1, clip2, method=3, weight=0.6)
clip = havc.HAVC_tweak(clip, sat = 1.05, cont = 0.95, hue = 5)
# adjusting output color to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, matrix_s="709", dither_type="error_diffusion")
# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# output
clip.set_output()
In this script, the merge is performed by the following function
# merge clip1 & clip2, its possible to change the method (2-5) and/or the weight (0.2-0.8) to change the final colors (as preferred)
clip = havc.HAVC_merge(clip1, clip2, method=3, weight=0.6)
as suggested in the comment, you can try to change the parameter method (allowed values are: 2, 3, 4, 5) and/or the weight to get the clip with the best colors for you.
If all goes well, you should obtain a clip like this one: https://gofile.io/d/iiWtVr
Dan