concatenate_videoclips in moviepy has weird glitches

Viewed 16

im making a program that concatenates various videos, however when I try to concatenate them, there are many video glitches.

Here is my code:

from moviepy.editor import *

clip1 = VideoFileClip("final_video0.mp4")
clip2 = VideoFileClip("final_video1.mp4")
clip3 = VideoFileClip("final_video2.mp4")
clip4 = VideoFileClip("final_video3.mp4")
clip5 = VideoFileClip("final_video4.mp4")

final = concatenate_videoclips([clip1, clip2, clip3])
final.write_videofile("merged.mp4")

Here is a link to all the videos and final video:

https://drive.google.com/drive/folders/1rWFmeJkyRF3JHg93s9gxQlhPWuEDx1-X?usp=sharing

The errors start at second 20, all the videos work fine on their own, but they glitch when put together. The videos themselves are just images with text in them being read by a robot voice.

0 Answers
Related