View Single Post
Old 22nd September 2016, 18:34   #8  |  Link
TheFluff
Excessively jovial fellow
 
Join Date: Jun 2004
Location: rude
Posts: 1,100
Code:
clip = core.vivtc.VFM(clip, mode = 0, order=1, mi = 74, cthresh = 8)
deint = core.tdm.TDeintMod(clip, order=1, edeint=core.nnedi3.nnedi3(clip, field=1))
clip = core.std.FrameEval(clip, lambda n, f: return deint if f.props._Combed else clip, clip)
not tested, but I really think this is a case where you don't need to muck around with partial functions, just define an anonymous function right there

you can write unreadable oneliners in any language, even python

Last edited by TheFluff; 22nd September 2016 at 18:40.
TheFluff is offline   Reply With Quote