BeAnonymous icon indicating copy to clipboard operation
BeAnonymous copied to clipboard

IMoviePy Error: The file src/temp/final_tts.mp3 Could not be found!

Open ADP716 opened this issue 1 year ago • 2 comments

I get this error, its strange, I even tried to move an mp3 file to that directory and it still does not work.

[CONVERTER] Failure : Pitch has not been changed to - LOW [WinError 2] The system cannot find the file specified Generate Button Clicked Path: C:/Users/andre/OneDrive/Documents/GitHub/BeAnonymous Include Intro: True Video: 0 Music: 0 Script: test

[TTS GENERATOR] Success : Normal TTS has been Generated

[CONVERTER] Success : Outputfile has been deleted

[CONVERTER] Failure : Pitch has not been changed to - LOW [WinError 2] The system cannot find the file specified

image

ADP716 avatar May 03 '24 01:05 ADP716

Looking at the logs & error above, it looks like the generated TTS file is being deleted even before the converter can process it to change the pitch and generate final_tts.mp3. I know the code is quite messy. For now, you can modify converter's code to prevent it from deleting the generated output file. This might help you get it to work.

Please ensure you have installed the requirements correctly. I recommend using a virtual environment. Additionally, make sure FFMPEG is available to the application.

iamDyeus avatar May 29 '24 08:05 iamDyeus

I think this can be solved, If I implement something like a Producer & Consumer Thread for the deletion process of normal TTS mp3.

iamDyeus avatar Jun 25 '24 18:06 iamDyeus