MoneyPrinterTurbo icon indicating copy to clipboard operation
MoneyPrinterTurbo copied to clipboard

AttributeError: 'VideoFileClip' object has no attribute 'subclip'

Open jim-qiu opened this issue 2 months ago • 5 comments

是否已存在类似问题?

  • [X] 我已搜索现有问题

当前行为

AttributeError: 'VideoFileClip' object has no attribute 'subclip' Traceback: File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/MoneyPrinterTurbo/webui/Main.py", line 787, in result = tm.start(task_id=task_id, params=params) File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start final_video_paths, combined_video_paths = generate_final_videos( File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos video.combine_videos( File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos split_clip = clip.subclip(start_time, end_time)

预期行为

生成视频

重现步骤

1.docker-compose.exe up 2. 通过浏览器访问http://127.0.0.1:8501/

堆栈追踪/日志

Traceback: File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/MoneyPrinterTurbo/webui/Main.py", line 787, in result = tm.start(task_id=task_id, params=params) File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start final_video_paths, combined_video_paths = generate_final_videos( File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos video.combine_videos( File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos split_clip = clip.subclip(start_time, end_time)

Python 版本

v3.12

操作系统

windows11

MoneyPrinterTurbo 版本

MoneyPrinterTurbo v1.2.1

其他信息

No response

jim-qiu avatar Dec 17 '24 05:12 jim-qiu