添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am facing the following problem: TypeError: must be real number, not NoneType when I try executing my code:

with VideoFileClip(video_path) as video:
    new = video.subclip(start_time, end_time)
    new.write_videofile(output_path)

I have tried upgrading/downgrading moviepy, ffmpeg, decorator, etc and the error persists.

My versions

  • decorator==4.4.2
  • ffmpeg==1.4
  • moviepy==1.0.3
  •