bigbase-media / ivf_blueprint_leon

视频工厂设计图制作框架:10行代码实现对图片/视频等素材的特效、转场、剪辑、合成等形式的加工,生产出炫酷影集和广告视频

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IVF_pipeline这个脚本执行失败了,需要做什么修改吗?

goalong opened this issue · comments

commented

args : ('https://cgptest.oss-cn-shanghai.aliyuncs.com/meise/3.jpg', 3000, {})
wrong status
hypnos ae fail
args : (None, 3000, {})
Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1741, in
main()
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1735, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1135, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/john/ivf_blueprint_leon/IVF_pipeline.py", line 60, in
test()
File "/Users/john/ivf_blueprint_leon/IVF_pipeline.py", line 56, in test
outputVideo = IVF_pipeline(inputElement, duration, effect_list, effectConfig)
File "/Users/john/ivf_blueprint_leon/IVF_pipeline.py", line 34, in IVF_pipeline
outputDict = blueprintBase.make_Video(effectClass, outputVideo, duration, configDict)
File "/Users/john/ivf_blueprint_leon/blueprintBase.py", line 236, in make_Video
baseUElement = EffectClass(*args, **kwargs)
File "/Users/john/ivf_blueprint_leon/generalBP/BPDarkCorner.py", line 20, in init
self._element_type = self.get_elementType_fromValue(userElement)
File "/Users/john/ivf_blueprint_leon/blueprintBase.py", line 223, in get_elementType_fromValue
nameExt = os.path.splitext(elementValue)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/posixpath.py", line 122, in splitext
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Process finished with exit code 1