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

I'm getting this error during video generation, debug information included. TypeError: VideoClip.write_videofile() got an unexpected keyword argument 'temp_audiofile_path' #468

Open
nexusjuan12 opened this issue Jul 28, 2024 · 2 comments

Comments

@nexusjuan12
Copy link

TypeError: VideoClip.write_videofile() got an unexpected keyword argument 'temp_audiofile_path'
Traceback:

File "C:\Users\nexusjuan\AppData\Roaming\Python\Python310\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "D:\MoneyPrinterTurbo\MoneyPrinterTurbo\webui\Main.py", line 787, in
result = tm.start(task_id=task_id, params=params)
File "D:\MoneyPrinterTurbo\MoneyPrinterTurbo\app\services\task.py", line 299, in start
final_video_paths, combined_video_paths = generate_final_videos(
File "D:\MoneyPrinterTurbo\MoneyPrinterTurbo\app\services\task.py", line 176, in generate_final_videos
video.combine_videos(
File "D:\MoneyPrinterTurbo\MoneyPrinterTurbo\app\services\video.py", line 131, in combine_videos
video_clip.write_videofile(

@harry0703
Copy link
Owner

这个是moviepy版本过低导致的,你可能是没有完整安装 requirements.txt 文件中的依赖

@nexusjuan12
Copy link
Author

Manually installing the correct version of movie.py resolved the issue. Thanks!

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