I got a simple code that cuts a video into multiple clips based on given frame numbers but the video always gets altered (images attached) If someone could provide me with some insight I would really appreciate it Result Original video
og_clip = mp.VideoFileClip(video) # original video
start_frames, end_frames = get_clip_boundaries(video) # returns frame numbers
og_clip.set_fps(fps)
clips = []
for i in range(len(start_frames)):
start_time = start_frames[i] / fps # corresponding timestamps to frame numbers
end_time = end_frames[i] / fps
clip = og_clip.subclip(start_time, end_time)
clips.append(clip)
I tried resizing the subclips already, nothing changed. After that I checked the dimensions of the subclips and it seems that it's something else that gets altered