Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

OSError: [Errno 32] Broken pipe MoviePy error: FFMPEG encountered the following error while writing file #328

Closed
dwgeneral opened this issue Apr 28, 2024 · 1 comment

Comments

@dwgeneral
Copy link

OSError: [Errno 32] Broken pipe MoviePy error: FFMPEG encountered the following error while writing file /MoneyPrinterTurbo/storage/tasks/92879ae3-1fd2-4ce2-99dc-6e2a62265bf1/combined-1.mp4:
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
File "/MoneyPrinterTurbo/webui/Main.py", line 529, in <module>
    result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 144, in start
    video.combine_videos(combined_video_path=combined_video_path,
File "/MoneyPrinterTurbo/app/services/video.py", line 107, in combine_videos
    video_clip.write_videofile(filename=combined_video_path,
File "<decorator-gen-60>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 56, in requires_duration
    return f(clip, *a, **k)
File "<decorator-gen-59>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 135, in use_clip_fps_by_default
    return f(clip, *new_a, **new_kw)
File "<decorator-gen-58>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 24, in convert_masks_to_RGB
    return f(clip, *a, **k)
File "<decorator-gen-57>", line 2, in write_videofile
File "/usr/local/lib/python3.10/site-packages/moviepy/decorators.py", line 89, in wrapper
    return f(*new_a, **new_kw)
File "/usr/local/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 343, in write_videofile
    ffmpeg_write_video(
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_writer.py", line 265, in ffmpeg_write_video
    writer.write_frame(frame)
File "/usr/local/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_writer.py", line 196, in write_frame
    raise IOError(error)

some texts will get this error

@harry0703
Copy link
Owner

I googled this post: lengstrom/fast-style-transfer#253
You can try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants