Moviepy: MoviePy error: FFMPEG encountered the following error while writing file ./videos.mp4

Created on 18 Apr 2018  路  2Comments  路  Source: Zulko/moviepy

The error appears at 20% while "writing" the output file.

Ubuntu 16.04.4 LTS,

MoviePy error: FFMPEG encountered the following error while writing file ./videos.mp4

final_render.write_videofile(video_file, fps=30, threads=1)
  File "<decorator-gen-51>", line 2, in write_videofile
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/decorators.py", line 54, in requires_duration
    return f(clip, *a, **k)
  File "<decorator-gen-50>", line 2, in write_videofile
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/decorators.py", line 137, in use_clip_fps_by_default
    return f(clip, *new_a, **new_kw)
  File "<decorator-gen-49>", line 2, in write_videofile
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/decorators.py", line 22, in convert_masks_to_RGB
    return f(clip, *a, **k)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 349, in write_videofile
    progress_bar=progress_bar)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 216, in ffmpeg_write_video
    writer.write_frame(frame)
  File "/home/ubuntu/.local/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 178, in write_frame
    raise IOError(error)
IOError: [Errno 32] Broken pipe
3rd-party bug ffmpeg

All 2 comments

having the same issue

Do you fix it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Swiffers picture Swiffers  路  4Comments

bobozar picture bobozar  路  4Comments

PyB1l picture PyB1l  路  3Comments

RahulPrasad picture RahulPrasad  路  4Comments

Gicehajunior picture Gicehajunior  路  3Comments