Strange behavior. Will pass check script and display a correct preview in VSEditor, but trying either a 2nd time causes crashing consistently. Script causes encoder to hang and crash as a result. Have tried with multiple videos of different formats and framerates.
import vapoursynth as vs
import vsfieldkit as vfk
core = vs.core
core.max_cache_size = 4*1024
core.num_threads = 24
src = core.lsmas.LWLibavSource(r'E:\Editing\test.mkv', format="YUV420P10")
src = core.resize.Point(src, matrix_in_s="170m", transfer_in_s="601", primaries_in_s="170m", range_in_s="full", matrix_s="170m", transfer_s="601", primaries_s="170m", range_s="full")
int = vfk.scan_interlaced(src, tff=True, chroma_subsample_scanning="SCAN_LATEST", dither_type="random", attack_factor=1, decay_factor=1)
int.set_output()
Strange behavior. Will pass check script and display a correct preview in VSEditor, but trying either a 2nd time causes crashing consistently. Script causes encoder to hang and crash as a result. Have tried with multiple videos of different formats and framerates.