-
Notifications
You must be signed in to change notification settings - Fork 66
Description
I am trying to use one of my personal videos, but see this exception:
Traceback (most recent call last):
File "D:\AI\Auto-YouTube-Shorts-Maker\shorts.py", line 61, in
video_clip = VideoFileClip("gameplay/gameplay_" + gp + ".mp4").subclip(start_point, start_point + audio_clip.duration + 1.3)
File "", line 2, in subclip
File "C:\Users\sures\AppData\Roaming\Python\Python313\site-packages\moviepy\decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "", line 2, in subclip
File "C:\Users\sures\AppData\Roaming\Python\Python313\site-packages\moviepy\decorators.py", line 29, in apply_to_mask
newclip = f(clip, *a, **k)
File "", line 2, in subclip
File "C:\Users\sures\AppData\Roaming\Python\Python313\site-packages\moviepy\decorators.py", line 41, in apply_to_audio
newclip = f(clip, *a, **k)
File "C:\Users\sures\AppData\Roaming\Python\Python313\site-packages\moviepy\Clip.py", line 385, in subclip
raise ValueError("t_start (%.02f) " % t_start +
"should be smaller than the clip's " +
"duration (%.02f)." % self.duration)
ValueError: t_start (165.00) should be smaller than the clip's duration (135.59).