ShortGPT icon indicating copy to clipboard operation
ShortGPT copied to clipboard

🐛 [Bug]: Keyerror : video_fps

Open xjq284 opened this issue 1 year ago • 4 comments

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.stepDictcurrentStep /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

xjq284 avatar Aug 02 '23 16:08 xjq284

+1 same error

MyraBaba avatar Sep 24 '23 13:09 MyraBaba

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

ebuwiz avatar Jul 21 '24 22:07 ebuwiz

+1

bhargav-11 avatar Jul 29 '24 06:07 bhargav-11

same +1

hendrikbgr avatar Jul 29 '24 10:07 hendrikbgr