level 1
mzjs20
楼主
先贴vpy吧

(图片里的第13行实际上没有#,截图的时候实验加上去的,脚本运行是没问题的)
import vapoursynth as vs
import mvsfunc as mvf
core = vs.get_core()
core= vs.get_core(accept_lowercase=True,threads=8)
core.max_cache_size = 8000;
ret = core.ffms2.Source(source='res.mp4')
#core.resize.Bicubic(ret, format=vs.RGBS)
ret = mvf.Depth(ret, depth=32)
ret = core.w2xc.Waifu2x(ret, noise=1, scale=1, block=128, photo=False, processor=0, gpu=1, list_proc=False, log=False)
ret = mvf.ToYUV(ret,depth=8)
ret.set_output()
输出的代码是这样
vspipe --y4m "C:\dwing\Waifu.vpy" -| x264.exe --preset ultrafast --demuxer y4m --output "C:\dwing\noise.mp4" -
之后我将参数改成 noise=0 或者 list_proc=true 就可以输出,也就是说不经过waifu2x降噪或放大就能输出, 究竟时waifu2x的问题还是vspipe的问题呢,怎么才能让vspipe在输出降噪后的视频不崩溃呢
2016年12月31日 10点12分
1

(图片里的第13行实际上没有#,截图的时候实验加上去的,脚本运行是没问题的)import vapoursynth as vs
import mvsfunc as mvf
core = vs.get_core()
core= vs.get_core(accept_lowercase=True,threads=8)
core.max_cache_size = 8000;
ret = core.ffms2.Source(source='res.mp4')
#core.resize.Bicubic(ret, format=vs.RGBS)
ret = mvf.Depth(ret, depth=32)
ret = core.w2xc.Waifu2x(ret, noise=1, scale=1, block=128, photo=False, processor=0, gpu=1, list_proc=False, log=False)
ret = mvf.ToYUV(ret,depth=8)
ret.set_output()
输出的代码是这样
vspipe --y4m "C:\dwing\Waifu.vpy" -| x264.exe --preset ultrafast --demuxer y4m --output "C:\dwing\noise.mp4" -
之后我将参数改成 noise=0 或者 list_proc=true 就可以输出,也就是说不经过waifu2x降噪或放大就能输出, 究竟时waifu2x的问题还是vspipe的问题呢,怎么才能让vspipe在输出降噪后的视频不崩溃呢

