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

❓ [Question]: Error at Step 11: _editAndRenderShort #140

Open
VladCena opened this issue Sep 18, 2024 · 3 comments
Open

❓ [Question]: Error at Step 11: _editAndRenderShort #140

VladCena opened this issue Sep 18, 2024 · 3 comments
Labels
question Further information is requested

Comments

@VladCena
Copy link

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?

@VladCena VladCena added the question Further information is requested label Sep 18, 2024
@TacosyHorchata
Copy link

TacosyHorchata commented Sep 19, 2024

same here, im using collab

@TreeBronch
Copy link

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.

@Anil-matcha
Copy link

Here is an alternative which is maintained https://github.com/SamurAIGPT/Text-To-Video-AI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants