2016-07-02 9:28
import vapoursynth as vs
import mvsfunc as mvf
import havsfunc as haf
import vsTAAmbk as taa
import nnedi3_resample as nnrs
import CSMOD as cs
import functools
import adjust
core = vs.get_core(accept_lowercase=True,threads=0)
core.max_cache_size = 10240
src = core.lsmas.LWLibavSource(r'D:\SUB\03.m2ts', threads=1)
crop = core.std.CropRel(src, left=244, top=2, right=244, bottom=2)
denoising=haf.SMDegrain(crop, tr=1, prefilter=1)
denoising2=haf.SMDegrain(denoising, tr=2, prefilter=0)
denoising3=haf.SMDegrain(denoising2, tr=2, prefilter=0)
temp=core.focus.temporalsoften(denoising3,7,255,255,25,2)
temp2=core.rgvs.repair(temp,denoising3,2)
inter=core.std.Interleave([temp2,denoising3])
mdata=core.depan.DePanEstimate(inter,range=1,trust=0,dxmax=4,dymax=4)
Re=core.depan.DePan(inter,data=mdata,offset=-1,mirror=15)
depan=core.std.SelectEvery(Re, 2, 0)
dering=haf.HQDeringmod(depan)
debanding1=core.f3kdb.Deband(dering,10,40,32,32,0,0)
debanding2=core.f3kdb.Deband(debanding1,20,30,20,20,0,0)
resize=nnrs.nnedi3_resample(debanding2,1440,1080)
resize.set_output()
脚本如上,VSEDIT显示正常,但是VSPIPE就不间断爆炸,经常显示VSPIPE停止工作,是啥子情况啊(之前vivtc也出现过类似的情况,莫名boom)