meitp 发表于 2021-11-9 21:06:04

VapourSynth Editor按F6出现错误提示如何解决?

脚本是:
import vapoursynth as vs
import mvsfunc as mvf
import havsfunc as haf
import vsTAAmbk as taa
import CSMOD as cs
import nnedi3_resample as nnrs
import adjust
core = vs.get_core(accept_lowercase=True)
core.max_cache_size = 16384
core = vs.get_core()
src = core.lsmas.LWLibavSource(r"F:\00001.m2ts", threads=1)
src.set_output()

按F6出现:
Failed to evaluate the script:
Python exception: get_core() got an unexpected keyword argument 'accept_lowercase'

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript
File "src\cython\vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript
File "F:/SPYSZL/00004.vpy", line 8, in
core = vs.get_core(threads=8)
File "src\cython\vapoursynth.pyx", line 1635, in vapoursynth.get_core
TypeError: get_core() got an unexpected keyword argument 'accept_lowercase'
请问大佬如何解决?谢谢!

孤雨独火 发表于 2021-11-9 21:15:12

本帖最后由 孤雨独火 于 2021-11-9 21:23 编辑

什么版本?为啥还有这个东西{:4_686:}而且你还写了两遍
core = vs.get_core(accept_lowercase=True)

假设你在用r57,那么几个对应脚本你也应该更到最新

get_core应该在r55就gg了?

core = vs.core
或者
from vapoursynth import core

meitp 发表于 2021-11-9 21:46:41

本帖最后由 meitp 于 2021-11-10 08:39 编辑

孤雨独火 发表于 2021-11-9 21:15
什么版本?为啥还有这个东西而且你还写了两遍
core = vs.get_core(accept_lowercase=True)


谢谢!知道了!
页: [1]
查看完整版本: VapourSynth Editor按F6出现错误提示如何解决?