情况:
使用VS脚本执行后,提示错误如下:
x265 [error]: unable to open input file <->
仅上述一个错误 ,
滤镜等东西确定已安装
使用的指令:
F:\3\BDMV\STREAM>vspipe --y4m "20190302.vpy" - | x265-10bit_asuna --y4m -D 10 --preset slower --tune lp++ --ctu 32 --crf 18 --pbratio 1.2 --no-sao --me 3 --subme 4 --merange 44 --limit-tu 4 --b-intra --no-rect --no-amp --ref 4 --weightb --keyint 360 --min-keyint 1 --bframes 6 --aq-mode 3 --aq-strength 0.7 --rd 4 --psy-rd 1.5 --psy-rdoq 1.2 --rdoq-level 2 --no-open-gop --rc-lookahead 80 --scenecut 40 --qcomp 0.65 --no-strong-intra-smoothing --rskip --log-file "%~n1.log" --log-file-level debug --output "00011.hevc" -
x265 [error]: unable to open input file <->
使用的脚本:
import vapoursynth as vs
import sys
import havsfunc as haf
import mvsfunc as mvf
core = vs.get_core()
core.max_cache_size = 400 #最大占用内存数
clip = core.lsmas.LWLibavSource(source=r'name.m2ts', format='yuv420p16')
#lsmash
clip = core.yadifmod.Yadifmod(clip, core.nnedi3.nnedi3(clip, field=1, opt=2), order=1, field=-1, mode=0)
clip = core.knlm.KNLMeansCL(clip, d=1, a=2, s=4, device_type="auto")
#降噪 KNLMeansCL
clip.set_output()
望大佬可以指点一下!谢谢!