View Single Post
Old 6th September 2020, 19:26   #3  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
I used this combo for left over combed frames with qtgmc.


Code:
def conditionalDeint(n, f, orig, deint):
    if f.props._Combed:
        return deint#.sub.Subtitle("DEINT", margins=[20,20,70,20])
    else:
        return orig



clip = core.lsmas.LWLibavSource(source="...")
clip = clip.vivtc.VFM(0, mode=3, cthresh=8,  blockx=32, blocky=32)
clip = clip.vivtc.VDecimate()

deint = haf.QTGMC(clip, Preset='very slow', TR2=1, TFF=True, SourceMatch=3 ).std.SelectEvery( cycle=2, offsets=0) #Sharpness=0.7
combProps = core.tdm.IsCombed(clip, metric=1, cthresh=5, blockx=32, blocky=32, mi=90)
clip = core.std.FrameEval(clip, functools.partial(conditionalDeint, orig=clip, deint=deint), combProps)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote