分页: 3 / 3

Re: 请教一个DEBAND问题关于sunrise的BDMV

发表于 : 2018-02-03 13:00
joeleejj
请问:

# stacked-16bit input
last = last # this line can be ignored, just in case someone who doesn't understand it

# pre-filter
nr16 = last.Dither_removegrain16(11, 11).Dither_removegrain16(20, 0)
# get noise diff clip
noise = last.Dither_sub16(nr16, y=3, u=3, v=3, dif=True)
# refine pre-filtered clip due to limited range of diff clip: [-32768, 32767], avoiding potential issue that the noise can not be fully added back
nr16 = last.Dither_sub16(noise, y=3, u=3, v=3, dif=True)
# de-banding on pre-filtered clip
last = nr16
last = last.f3kdb(16, 40, 40, 40, 0, 0, input_mode=1, output_mode=1).Dither_limit_dif16(last, ref=nr16, thr=0.30, elast=2.5, y=3, u=3, v=3)
# add back noise
last = last.Dither_add16(noise, y=3, u=3, v=3, dif=True)

# stacked-16bit output
last

当中红色的是什么意思? 有什么作用呢?
又,这是VS或AVS脚本?AVS要怎么写?