nang-dev / automated_youtube_channel

Automated youtube that can scrape content, edit a compilation, and upload to youtube daily.
MIT License
708 stars 284 forks source link

outine Failed on OS error: [Errno 32] Broken pipe #14

Open amazman opened 3 years ago

amazman commented 3 years ago

Whenever it finishes scarping you get an error

Moviepy - Building video ./JUNE_2021_v12.mp4.
MoviePy - Writing audio in /tmp/temoaudiofile.m4a
chunk:   0%|                                        | 0/11857 [00:00<?, ?it/s, now=None]Routine Failed on OS error: [Errno 32] Broken pipe

MoviePy error: FFMPEG encountered the following error while writing file /tmp/temoaudiofile.m4a:

b'/tmp/temoaudiofile.m4a: No such file or directory\r\n'

In case it helps, make sure you are using a recent version of FFMPEG (the versions in the Ubuntu/Debian repos are deprecated).
ckubelle commented 3 years ago

Was able to fix the issue by creating a folder called 'tmp' in the project directory and then changing the audio_path variable to "./tmp/temoaudiofile.m4a" in make_compilation.py