Created skript E:\Videos\Legendary Lakeside\Muxed\encodingTempSynthSkript_2025-01-25@08_42_22_8410_0.vpy:--------------------- # Imports import vapoursynth as vs # getting Vapoursynth core import ctypes import sys import os core = vs.core # Import scripts folder scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) # Loading Support Files Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") # loading plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3m.dll")# vsQTGMC core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeinterlaceFilter/Bwdif/Bwdif.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/BestSource/BestSource.dll") # Import scripts import havsfunc import validate # Source: 'E:\Videos\Legendary Lakeside\Muxed\test_short.avi' # Current color space: RGB48, bit depth: 16, resolution: 1920x1080, frame rate: 25fps, scanorder: top field first, yuv luminance scale: limited, matrix: 709, format: ffv1 # Loading E:\Videos\Legendary Lakeside\Muxed\test_short.avi using BestSource) clip = core.bs.VideoSource(source="E:/Videos/Legendary Lakeside/Muxed/test_short.avi", cachepath="E:/Videos/Legendary Lakeside/Muxed/test_short_bestSource_2025-01-25@08_42_22_8410", track=0) frame = clip.get_frame(0) # 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) # making sure frame rate is set to 25fps clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1) # making sure the detected scan type is set (detected: top field first) clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # tff # adjusting color space from RGB48 to YUV444P16 for vsQTGMC clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, matrix_s="709", range_s="limited") # Deinterlacing using QTGMC clip = havsfunc.QTGMC(Input=clip, Preset="Placebo", InputType=0, TFF=True, TR2=1, SourceMatch=0, Lossless=0, MatchPreset="Placebo", MatchPreset2="Placebo") # new fps: 25 # Making sure content is preceived as frame based clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive clip = clip[::2] # selecting previously even frames # set output frame rate to 25fps (progressive) clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1) # output clip.set_output() --------------------- ffmpeg started... starting 2025-01-25@08_42_22_8410_02_video@08:42:22.912 - E:\Videos\Legendary Lakeside\Muxed\test_short_new.avi "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -noautorotate -nostdin -threads 8 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -f yuv4mpegpipe -i - -an -sn -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -vf scale=out_color_matrix=bt709 -pix_fmt yuv444p16le -strict -1 -fps_mode passthrough -vcodec ffv1 -coder 1 -context 1 -g 1 -level 3 -slices 4 -slicecrc 0 -metadata encoding_tool="Hybrid 2025.01.24.1" "E:\Videos\Legendary Lakeside\Muxed\test_short_new_1_2025-01-25@08_42_22_8410_02.avi" 2025-01-25@08_42_22_8410_02_video finished after 00:00:17.915 finished... created E:\Videos\Legendary Lakeside\Muxed\test_short_new_1_2025-01-25@08_42_22_8410_02.avi (136.28 MB) starting cleanUpJob for: E:\Videos\Legendary Lakeside\Muxed\encodingTempSynthSkript_2025-01-25@08_42_22_8410_0.vpy delete E:\Videos\Legendary Lakeside\Muxed\encodingTempSynthSkript_2025-01-25@08_42_22_8410_0.vpy starting cleanUpJob for: E:\Videos\Legendary Lakeside\Muxed\test_short_bestSource_2025-01-25@08_42_22_8410 delete E:\Videos\Legendary Lakeside\Muxed\test_short_bestSource_2025-01-25@08_42_22_8410 renamed E:\Videos\Legendary Lakeside\Muxed\test_short_new_1_2025-01-25@08_42_22_8410_02.avi to E:\Videos\Legendary Lakeside\Muxed\test_short_new.avi