简体   繁体   English

CompositeVideoClip = TypeError 上的 Moviepy 返回错误:'float' object 不能解释为 integer

[英]Moviepy return error on CompositeVideoClip = TypeError: 'float' object cannot be interpreted as an integer

I am trying to composite a '.mp4' video and 'text' using VideoFileClip and TextClip respectively by appending them to a variable 'clip_list'.我正在尝试分别使用 VideoFileClip 和 TextClip 通过将它们附加到变量“clip_list”来合成“.mp4”视频和“文本”。

If I try to print 'clip_list' on console it logs:如果我尝试在控制台上打印“clip_list”,它会记录:

[<moviepy.video.io.VideoFileClip.VideoFileClip object at 0x7f3d1da98208>,
 <moviepy.video.VideoClip.TextClip object at 0x7f3d20699a20>]

Now using CompositeVideoClip on clip_list gives me following error.现在在 clip_list 上使用 CompositeVideoClip 会给我以下错误。

在此处输入图像描述

Any help here?这里有什么帮助吗? I am using:我在用:

Python 3.7.3 moviepy==1.0.2 numpy==1.18.3 Python 3.7.3 电影==1.0.2 numpy==1.18.3

can you please share your actual code that produces the output and the errors.您能否分享您产生 output 和错误的实际代码。 It's very hard to reproduce those errors without having the actual code.如果没有实际代码,很难重现这些错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “&#39;float&#39; 对象不能被解释为整数”moviepy 错误 - "'float' object cannot be interpreted as an integer" moviepy error 追溯错误:TypeError浮点对象不能解释为整数 - Traceback error: TypeError float object cannot be interpreted as an integer Python - TypeError:'float'对象不能解释为整数 - Python - TypeError: 'float' object cannot be interpreted as an integer pygsr TypeError:无法将“ float”对象解释为整数 - pygsr TypeError: 'float' object cannot be interpreted as an integer TypeError 浮点对象不能解释为整数 - TypeError float object cannot be interpreted as an integer 蟒蛇| TypeError : &#39;float&#39; 对象不能解释为整数 - Python | TypeError : 'float' object cannot be interpreted as an integer TypeError:“ float”对象无法解释为整数 - TypeError: 'float' object cannot be interpreted as an integer Numpy: TypeError: 'float' object 不能解释为 integer - Numpy: TypeError: 'float' object cannot be interpreted as an integer 舍入浮点数类型错误:'float' object 不能解释为 integer - Rounding float numbers TypeError: 'float' object cannot be interpreted as an integer PYTHON,中点方法,类型错误:&#39;float&#39; 对象不能解释为整数 - PYTHON, Midpoint Method, TypeError: 'float' object cannot be interpreted as an integer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM