24.03.2025, 20:29
(16.03.2025, 19:54)Selur Wrote: No, neither TFMBob nor QTGMC do this.
Hybrid has no automated way for this. (since for me, it never worked reliably)
Something along the line of
ordef conditionalDeint(n, f, orig, deint):
if f.props['_Combed']:
return deint
else:
return orig
deint = core.tdm.TDeintMod(clip, order=1, edeint=core.nnedi3.nnedi3(clip, field=1))
combProps = core.tdm.IsCombed(clip)
clip = core.std.FrameEval(clip, functools.partial(conditionalDeint, orig=clip, deint=deint), combProps)
might work.clip2clip = clip
def postprocess(n, f, clip, deinterlaced):
if f.props['_Combed'] > 0:
return deinterlaced
else:
return clip
clip2clip = qtgmc.QTGMC(Input=clip2clip, Preset="fast", TFF=True, FPSDivisor=2)
clip = core.vivtc.VFM(clip=clip, order=1)
clip = core.std.FrameEval(clip=clip, eval=functools.partial(postprocess, clip=clip, deinterlaced=clip2clip), prop_src=clip)
General idea: create two clips, one (same frame rate deinterlaced), the other ran through TFM or VFM. Then mix them.
Cu Selur
How can I do that using Custom section of Hybrid? I tried it, but to no avail..