python moviepy出现以下问题?





这是为什么?

Traceback (most recent call last):

  File "D:\python_pro\录屏.py", line 29, in
    clip.write_videofile('%s.mp4' % fileName)
  File "", line 2, in write_videofile
  File "C:\Python27\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration
    return f(clip, *a, **k)
  File "", line 2, in write_videofile
  File "C:\Python27\lib\site-packages\moviepy\decorators.py", line 137, in use_clip_fps_by_default
    return f(clip, *new_a, **new_kw)
  File "", line 2, in write_videofile
  File "C:\Python27\lib\site-packages\moviepy\decorators.py", line 22, in convert_masks_to_RGB
    return f(clip, *a, **k)
  File "C:\Python27\lib\site-packages\moviepy\video\VideoClip.py", line 349, in write_videofile
    progress_bar=progress_bar)
  File "C:\Python27\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 204, in ffmpeg_write_video
    ffmpeg_params=ffmpeg_params)
  File "C:\Python27\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 127, in __init__
    self.proc = sp.Popen(cmd, **popen_params)
  File "C:\Python27\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 193] %1 不是有效的 Win32
















你可能感兴趣的:(python moviepy出现以下问题?)