Created
October 15, 2023 12:00
-
-
Save CrashedBboy/57bbb914add21760fb4d4e2fed23afd3 to your computer and use it in GitHub Desktop.
Merge Video Clips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from moviepy.editor import VideoFileClip, concatenate_videoclips | |
clip1 = VideoFileClip("1.mp4") | |
clip2 = VideoFileClip("2.mp4") | |
clip3 = VideoFileClip("3.mp4") | |
clip4 = VideoFileClip("4.mp4") | |
clip5 = VideoFileClip("5.mp4") | |
clip6 = VideoFileClip("6.mp4") | |
final_clip = concatenate_videoclips([clip1,clip2, clip3, clip4, clip5, clip6]) | |
final_clip.write_videofile("concatenated_20230529.mp4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment