reddit_video_maker
reddit_video_maker copied to clipboard
MoviePy error: FFMPEG encountered the following error while writing file /edited_videos/millennials.mp4:
When i try to run the automate.sh script i get this
` Moviepy - Building video /edited_videos/millennials.mp4. MoviePy - Writing audio in temp-audio.m4a MoviePy - Done. Moviepy - Writing video /edited_videos/millennials.mp4
t: 1%|▊ | 2/370 [00:00<00:22, 16.58it/s, now=None] Traceback (most recent call last): File "/home/stjimmy/.local/lib/python3.8/site-packages/moviepy/video/io/ffmpeg_writer.py", line 136, in write_frame self.proc.stdin.write(img_array.tobytes()) BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 63, in
MoviePy error: FFMPEG encountered the following error while writing file /edited_videos/millennials.mp4:
b'/edited_videos/millennials.mp4: No such file or directory\n' Creating video for: usage: run.py [-h] url n_entries video_name run.py: error: the following arguments are required: url, n_entries, video_name `
Interesting bug. I will try to recreate this issue. Do you currently have ffmpeg on your system. Are you using a virtual environment with all of the requirements installed?
Yes and initially it was not in a virtualenv but I did it again in a virtualenv and the issue persists. Running Ubuntu 20.04 LTS and Python 3.8.5 if that means anything
Interesting bug. I will try to recreate this issue. Do you currently have ffmpeg on your system. Are you using a virtual environment with all of the requirements installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.