rainy miuco
帖子: 9
注册时间: 2016-09-19 23:02

不能运行Oyster

2018-05-12 12:23

import Oyster

srcA = mvf.Depth(src, depth=32)
src_yuv = core.fmtc.resample(srcA,css="444",kernel="cubic",a1=0,a2=0.5,fulls=False,fulld=False,interlaced=0, interlacedd=0)
sup = Oyster.Super(src_yuv)
ref_f = Oyster.Basic(src_yuv, sup, short_time=False)
ref_s = Oyster.Basic(src_yuv, sup, short_time=True)
c = Oyster.Destaircase(src_yuv, ref_f, block_step=2)
c = Oyster.Deringing(src_yuv, ref_s, block_step=2)
src16= mvf.ToYUV(c,depth=16)

log:
sup = Oyster.Super(src2)
File "C:\Program Files\Python36\lib\site-packages\vapoursynth\Oyster.py", line 224, in Super
core = get_core()
File "C:\Program Files\Python36\lib\site-packages\vapoursynth\Oyster.py", line 16, in __init__
self.MSuper = self.core.mvsf.Super
File "src\cython\vapoursynth.pyx", line 1416, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name mvsf exists. Did you mistype a plugin namespace?

触及我的知识盲区了,我只会最简单的赋值,不要指望我能轻松修改Oyster.py

头像
Muonium
帖子: 41
注册时间: 2016-06-18 8:48

Re: 不能运行Oyster

2018-05-12 17:41

AttributeError: No attribute with the name mvsf exists. Did you mistype a plugin namespace?
少滤镜了
https://github.com/IFeelBloated/vapours ... f/releases
被噪点番支配的噩梦
被Waifu2x吊打的噩梦
不会写代码不会写脚本的我连咸鱼都不如了orz
eedi3好慢啊…………
为什么某SSIM的计算值大于1……
被一个月前自己写的脚本吊打,很爽
CropAbs上也能掉坑……
不要乱搞什么对数亮度作图…
魔幻炼丹主义

rainy miuco
帖子: 9
注册时间: 2016-09-19 23:02

Re: 不能运行Oyster

2018-05-13 18:35

Muonium 写了:
2018-05-12 17:41
AttributeError: No attribute with the name mvsf exists. Did you mistype a plugin namespace?
少滤镜了
https://github.com/IFeelBloated/vapours ... f/releases
图片
图片
我知道mvsf大概率是libmvtools_sf_em64t.dll,好像没什么用啊
发帖之前尝试了mvtools-sf ____r9和r1 【vs版本R43

头像
Muonium
帖子: 41
注册时间: 2016-06-18 8:48

Re: 不能运行Oyster

2018-05-13 22:39

rainy miuco 写了:
2018-05-13 18:35
我知道mvsf大概率是libmvtools_sf_em64t.dll,好像没什么用啊
那估计是少 fftw
下载64位版的压缩包,把 “libfftw3-3.dll” 放进去试试
被噪点番支配的噩梦
被Waifu2x吊打的噩梦
不会写代码不会写脚本的我连咸鱼都不如了orz
eedi3好慢啊…………
为什么某SSIM的计算值大于1……
被一个月前自己写的脚本吊打,很爽
CropAbs上也能掉坑……
不要乱搞什么对数亮度作图…
魔幻炼丹主义

rainy miuco
帖子: 9
注册时间: 2016-09-19 23:02

Re: 不能运行Oyster

2018-05-14 18:47

Muonium 写了:
2018-05-13 22:39
那估计是少 fftw
下载64位版的压缩包,把 “libfftw3-3.dll” 放进去试试
运行...卡住了。没有报错
内存上升到 4100MB 迅速下降,循环往复...
用vsedit 或者 cmd运行vspipe 效果是一样的
图片
---------------------------------------------------------------------------
-----------以下是-----自言自语的----废话!----不喜勿看-----
修复欠码dvd,有其他替代的方法吗?
【一直在乱尝试,强降噪,细节毁了 {:doge}
甚至曾经大段的移植Love Live -2nd season.avs文件的mvtools部分【愚蠢的行为】,感觉比SMDegrain效果还差。根本不会用,不要侮辱神圣的mvtools

代码: 全选

source = r"D:\a\a.ts" #输入视频 src = core.lsmas.LWLibavSource(source,threads=0,repeat=True) #src16 = haf.SMDegrain(src16, tr=2,thSAD=300, RefineMotion=True, contrasharp=True, interlaced=True, tff=True, prefilter=3) src = haf.QTGMC(src,TFF=True,FPSDivisor=2)# #src16 = mvf.Depth(src, depth=16) ###根本不知道在做什么 srcA = mvf.Depth(src, depth=32) src_yuv = core.fmtc.resample(srcA,css="444",kernel="cubic",a1=0,a2=0.5,fulls=False,fulld=False,interlaced=0, interlacedd=0) sup = Oyster.Super(src_yuv) ref_f = Oyster.Basic(src_yuv, sup, short_time=False) ref_s = Oyster.Basic(src_yuv, sup, short_time=True) #short_time = True is meant for Deringing and short_time = False is for Destaircase and Deblocking c = Oyster.Destaircase(src_yuv, ref_f, block_step=2) c = Oyster.Deringing(src_yuv, ref_s, block_step=2) src16= mvf.ToYUV(c,depth=16) ###TAA src16 = taa.TAAmbk(src16,aatype=1,preaa=-1,mtype=1) #2倍拉伸画面--来自Morpheus1123__github upscale = znrs.nnedi3_resample(src16,target_width=1440,target_height=1080,curves="709",curved="709",mats="709", matd="709",sigmoid=True) src16 =upscale down444 = core.fmtc.resample(src16,720,540, sx=[-0.5,0,0], css="444", planes=[3,2,2], cplace="MPEG2") ###下面来自_lolihouse大礼包__动漫花园### nr16y = core.knlm.KNLMeansCL(src16, d=2, a=2, s=3, h=0.8, wmode=2, device_type="GPU", device_id = 1) nr16uv = core.knlm.KNLMeansCL(down444, d=2, a=1, s=3, h=0.4, wmode=2, device_type="GPU", device_id = 1) nr16 = core.std.ShufflePlanes([nr16y,nr16uv], [0,1,2], vs.YUV) nr8 = mvf.Depth(nr16, depth=8) luma = core.std.ShufflePlanes(nr8, 0, vs.YUV).resize.Bilinear(format=vs.YUV420P8) nrmaskg = core.tcanny.TCanny(nr8,sigma=1.1,t_h=5.0,op=2,planes=0) nrmaskb = core.tcanny.TCanny(nr8,sigma=1.3,t_h=6.5,op=2,planes=0) nrmasks = core.tcanny.TCanny(nr8,sigma=0.8,op=2,gmmax=255,mode=1,planes=[0,1,2]).std.Expr(["x 7 < 0 65535 ?",""],vs.YUV420P16) nrmask = core.std.Expr([nrmaskg,nrmaskb,nrmasks, nr8],["a 20 < 65535 a 48 < x 256 * a 96 < y 256 * z ? ? ?",""],vs.YUV420P16) #看不懂的边缘检测(据说还不能通杀)&&学了表达式转换,也不能了解深层含义的像素表达式 nrmask = core.std.Maximum(nrmask,0).std.Maximum(0).std.Minimum(0) nrmask = core.rgvs.RemoveGrain(nrmask,[20,0]) debd = core.f3kdb.Deband(nr16,12,24,16,16,0,0,output_depth=16) debd = core.f3kdb.Deband(debd,20,56,32,32,0,0,output_depth=16) debd = mvf.LimitFilter(debd,nr16,thr=0.6,thrc=0.5,elast=2.0) debd = core.std.MaskedMerge(debd,nr16,nrmask,first_plane=True) res = debd res = mvf.Depth(res,10).set_output()

回到 “VapourSynth”