Open Jon-D-Smith opened 8 months ago
After adding a stderr logger I now see this error message:
chunk: 0%| | 0/111 [00:00<?, ?it/s, now=None]Exception ignored in: <function FFMPEG_AudioWriter.__del__ at 0x11538e340>
Traceback (most recent call last):
File "moviepy/audio/io/ffmpeg_audiowriter.py", line 132, in __del__
File "moviepy/audio/io/ffmpeg_audiowriter.py", line 121, in close
BrokenPipeError: [Errno 32] Broken pipe
Expected Behavior
When running moviepy from my script through the console the movie file writes correctly and without error. Here is the snippet below that writes my clip, then writes my moviefile.
Actual Behavior
When compiling the app with pyinstaller --noconsole, the app crashes when attempting to write the video file. Since this only occurs when in the no console app I wrote in a logger to catch the stdout. When opening the file it looks like the issue is occurring when trying yo write the audio back into the video. Here is the output:
Steps to Reproduce the Problem
The error only occurs in the no console mode after compiling the app. The code below works with the console open.
Specifications