This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Input resolution not divisible error
#3
Yeah, writing "requires mod 2" was silly... Anyway, mod 16 doesn't work either: for some reason QTGMC works with initial clip resolution instead of padded one
clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=10) # add borders to archive mod 16 for custom section - 720x496
# adjusting color format to YUV422P8 for custom section
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P8)
[clip] = beforeDeinterlace(clip)
clip = core.std.CropRel(clip=clip, left=0, right=0, top=0, bottom=10) # removing borders for custom section - 720x486
# clip current meta; color space: YUV422P8, bit depth: 8, resolution: 720x486, fps: 29.97, color matrix: 170m, yuv luminance scale: limited, scanorder: top field first, full height: true
clip = core.std.AddBorders(clip=clip, left=0, right=0, top=0, bottom=2) # add borders to archive mod 4 (vsQTGMC) - 720x488
# Deinterlacing using QTGMC
clip = qtgmc.QTGMC(Input=clip, Preset="Medium", InputType=0, TFF=True, TR2=0, SourceMatch=1, Lossless=0, opencl=True) # new fps: 59.94
clip = core.std.Crop(clip=clip, left=0, right=0, top=0, bottom=2) # removing added borders from mod requirement (vsQTGMC) - 720x486
Reply


Messages In This Thread
RE: Input resolution not divisible error - by r3dfx - 02.05.2026, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)