RayVentura / ShortGPT

🚀🎬 ShortGPT - Experimental AI framework for youtube shorts / tiktok channel automation
https://shortx.ai/?ref=sgpt
MIT License
5.85k stars 743 forks source link

🐛 [Bug]: Keyerror : video_fps #74

Open xjq284 opened 1 year ago

xjq284 commented 1 year ago

What happened?

Traceback Info : ShortGPT/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): ShortGPT/shortGPT/engine/abstract_content_engine.py", line 72, in makeContent self.stepDict[currentStep]() /ShortGPT/shortGPT/engine/content_short_engine.py", line 150, in _editAndRenderShort videoEditor.renderVideo(outputPath, logger=self.logger) /ShortGPT/shortGPT/editing_framework/editing_engine.py", line 95, in renderVideo engine.generate_video(self.schema, outputPath, logger=logger) ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 53, in generate_video clip = self.process_video_asset(asset) ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 200, in process_video_asset clip = VideoFileClip(**params)

/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 88, in init self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt, File "video/io/ffmpeg_reader.py", line 37, in init self.fps = infos['video_fps']

What type of browser are you seeing the problem on?

Chrome

What type of Operating System are you seeing the problem on?

Mac

Python Version

python 3.10

Application Version

最新

Expected Behavior

run

Error Message

Traceback Info : ShortGPT/gui/ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): ShortGPT/shortGPT/engine/abstract_content_engine.py", line 72, in makeContent self.stepDict[currentStep]() /ShortGPT/shortGPT/engine/content_short_engine.py", line 150, in _editAndRenderShort videoEditor.renderVideo(outputPath, logger=self.logger) /ShortGPT/shortGPT/editing_framework/editing_engine.py", line 95, in renderVideo engine.generate_video(self.schema, outputPath, logger=logger) ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 53, in generate_video clip = self.process_video_asset(asset) ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 200, in process_video_asset clip = VideoFileClip(**params) 

/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 88, in __init__ self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt, File "video/io/ffmpeg_reader.py", line 37, in __init__ self.fps = infos['video_fps']

Code to produce this issue.

No response

Screenshots/Assets/Relevant links

No response

MyraBaba commented 1 year ago

+1 same error

ebuwiz commented 4 months ago

Any tip on this??? got this error using docker install on windows

bhargav-11 commented 4 months ago

+1

hendrikbgr commented 4 months ago

same +1