You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works fine until this part, where I get this error:
Step 11 _editAndRenderShort
Error File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 114, in create_short
for step_num, step_info in shortEngine.makeContent():
File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/content/ShortGPT/shortGPT/engine/reddit_short_engine.py", line 102, in _editAndRenderShort
videoEditor.renderVideo(outputPath, logger= self.logger if self.logger is not self.default_logger else None)
File "/content/ShortGPT/shortGPT/editing_framework/editing_engine.py", line 97, in renderVideo
engine.generate_video(self.schema, outputPath, logger=logger)
File "/content/ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 53, in generate_video
clip = self.process_video_asset(asset)
File "/content/ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 200, in process_video_asset
clip = VideoFileClip(**params)
File "/usr/local/lib/python3.10/dist-packages/moviepy/video/io/VideoFileClip.py", line 88, in init
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
File "/usr/local/lib/python3.10/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 37, in init
self.fps = infos['video_fps']
Any ideas?
The text was updated successfully, but these errors were encountered:
Same problem, looked at it in both collab and locally on docker and the error occurs both times. Did some investigating looks like it has something to do with some of the fetched video assets not having any frames (audio only) when being processed. Not sure why though.
Your Question
Everything works fine until this part, where I get this error:
Step 11 _editAndRenderShort
Error File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 114, in create_short
for step_num, step_info in shortEngine.makeContent():
File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/content/ShortGPT/shortGPT/engine/reddit_short_engine.py", line 102, in _editAndRenderShort
videoEditor.renderVideo(outputPath, logger= self.logger if self.logger is not self.default_logger else None)
File "/content/ShortGPT/shortGPT/editing_framework/editing_engine.py", line 97, in renderVideo
engine.generate_video(self.schema, outputPath, logger=logger)
File "/content/ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 53, in generate_video
clip = self.process_video_asset(asset)
File "/content/ShortGPT/shortGPT/editing_framework/core_editing_engine.py", line 200, in process_video_asset
clip = VideoFileClip(**params)
File "/usr/local/lib/python3.10/dist-packages/moviepy/video/io/VideoFileClip.py", line 88, in init
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
File "/usr/local/lib/python3.10/dist-packages/moviepy/video/io/ffmpeg_reader.py", line 37, in init
self.fps = infos['video_fps']
Any ideas?
The text was updated successfully, but these errors were encountered: