Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建具有某种颜色的视频剪辑:
clip = ColorClip(size=(460, 380), color=[122, 12, 54])
但是,当我运行脚本时,出现以下错误:
TypeError: __init__() got an unexpected keyword argument 'color'
当我省略颜色参数时它工作正常,它只是呈现黑色视频剪辑。
有没有人对如何解决这个问题有任何想法?
它接缝代码中存在一些错误,它需要名称col=而不是color=
col=
color=
顺便说一句:我将问题发送给作者 - https://github.com/Zulko/moviepy/issues/366