application_vnd.jupyter.stderr_output_2.png application_vnd.jupyter.stderr_output_4.png text_plain_output_3.png text_plain_output_1.png
from moviepy.editor import *
clip = VideoFileClip('./Rick Astley - Never Gonna Give You Up (Official Music Video).mp4')
clip1 = clip.subclip(0, 5)
clip2 = clip.subclip(60, 65)
final = concatenate_videoclips([clip1, clip2])
final.write_videofile('merged.mp4')