Examples:
代码: 全选
import mvsfunc as mvf
# Any input depth
clip = mvf.Depth(clip, depth=16)
# 16-bit integer output
# Any input depth
clip = mvf.Depth(clip, depth=32)
# 32-bit float output
# Any input format
clip = mvf.ToYUV(clip, css="420")
# YUV420P output
# Any input format
clip = mvf.ToRGB(clip, depth=8)
# RGB24 output (e.g. for previewing using vsedit)
# Faster way to preview with RGB24 output, for vsedit
clip = mvf.Preview(clip)
# Preview with CompatBGR32 output, for VirtualDub, AvsPmod, etc.
clip = mvf.Preview(clip, compat=True)
# Compare multiple clips, they will be interleaved into one clip
clip = mvf.Preview([clip1, clip2, clip3])
# Any input format
clip = mvf.BM3D(clip, sigma=[3,3,3], radius1=0) # radius1=0 for BM3D, radius1>0 for V-BM3D
# Same as input format
其实几个月前就写好了,本来想把nnedi3_resample给整合进来的,但因为太懒了不想碰那玩意儿所以……