Log in

View Full Version : BakaFunc v1


BakaProxy
2nd March 2016, 03:42
https://github.com/BakaProxy/Baka-Utilities/

Mostly ports of existing Avisynth functions and some new ones.


Baa
LazyChromaBleedFix
RestoreDepth
dec_txt60mc


Small documentation for each function can be found in the source code.

HAvsFunc is necessary for dec_txt60mc.

Usage:

import vapoursynth as vs
core = vs.get_core()
import havsfunc as haf
import bakafunc as baka

clip = yourclip


clip = Baa(c, aa = "sangnom2", ss = None, mask=True, mthr = 30, blur=5, expand = 1, chroma = False)

clip = LazyChromaBleedFix(c, depth = 16, ss=1, mthr = 30, blur=5, expand = 1)

clip = RestoreDepth(LowDepth, HighDepth, diffmask=None, dmode=None, planes=[0, 1, 2])

clip = dec_txt60mc (src,frame_ref, srcbob=False,draft=False,tff=None)

AzraelNewtype
5th March 2016, 22:30
Is dev_txt60mc any different from the ivtc_txt60mc in HAvsFunc? At first glance it doesn't look it.

To answer the question you asked in the source comment about it, this is for TV broadcasts where you have scrolling 30i content over telecines, so you can smooth the motion of the scroll down to proper 24fps instead of breaking the scroll or (much worse) the main footage.

BakaProxy
20th March 2016, 13:55
ivtc_txt60mc is for 60i+24t (telecined) and dec_txt60mc is for 60i+24d(30fps 24p with dupes). (thanks _08)