-> test with the release and create a debug output with that version if it still fails for you
This is what happens with current version for me when I try to reproduce your problem:
Code:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = 'F:/workspace/Hybrid/debug/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/DenoiseFilter/MiniDeen/libminideen.dll")
core.std.LoadPlugin(path="F:/workspace/Hybrid/debug/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import G41Fun
# source: 'G:\TestClips&Co\files\MPEG-4 H.264\8.Birds_1080p24fpsRef4-112Mbps.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 23.976, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
# Loading G:\TestClips&Co\files\MPEG-4 H.264\8.Birds_1080p24fpsRef4-112Mbps.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="G:/TestClips&Co/files/MPEG-4 H.264/8.Birds_1080p24fpsRef4-112Mbps.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
# Setting detected color matrix (709).
clip = core.std.SetFrameProps(clip, _Matrix=1)
# Setting color transfer info (709), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=1)
# Setting color primaries info (), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
original = clip
# converting to mod1 compatible format
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, range_s="limited")
# clip, new color sampling: YUV444P8, new bit depth: 8
clip = core.std.CropRel(clip=clip, left=25, right=25, top=25, bottom=25)# cropping to 1870x1030
# converting to mod1 compatible format
original = core.resize.Bicubic(clip=original, format=vs.YUV444P8, range_s="limited")
# original, new color sampling: YUV444P8, new bit depth: 8
original = core.std.CropRel(clip=original, left=25, right=25, top=25, bottom=25)# cropping to 1870x1030
# denoising using MiniDeen
clip = core.minideen.MiniDeen(clip=clip, radius=[4,4,4], threshold=[3,3,3])
# sharpening using DetailSharpen
clip = G41Fun.DetailSharpen(clip=clip)
# Resizing using 9 - lanczos
clip = core.fmtc.resample(clip=clip, kernel="lanczos", w=1920, h=1058, interlaced=False, interlacedd=False) # resolution 1920x1058 before YUV444P8 after YUV444P16
original = core.resize.Bicubic(clip=original, width=1920, height=1058)
# adjusting output color from: YUV444P8 to YUV420P8 for x264Model
original = core.resize.Bicubic(clip=original, format=vs.YUV420P8, range_s="limited")
# original, new color sampling: YUV420P8, new bit depth: 8
# adjusting output color from: YUV444P16 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited", dither_type="error_diffusion")
# clip, new color sampling: YUV420P8, new bit depth: 8
original = core.text.Text(clip=original,text="Original",scale=2,alignment=7)
clip = core.text.Text(clip=clip,text="Filtered",scale=2,alignment=7)
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 23.976fps (progressive)
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=24000, fpsden=1001)
# Output
stacked.set_output()
Okay, then I need a step-by-step of what you are doing, since it must be related to some step changing the outcome.