Skip to content

Instantly share code, notes, and snippets.

@samirsaci
Created November 1, 2022 13:35
Show Gist options
  • Save samirsaci/42d1de8a9261848e974f5f81aecd15c5 to your computer and use it in GitHub Desktop.
Save samirsaci/42d1de8a9261848e974f5f81aecd15c5 to your computer and use it in GitHub Desktop.
Automate Video Editing - Cut
# First Video
start_time = '00:00:15'
end_time = '00:00:30'
t1, t2 = convert_seconds(start_time), convert_seconds(end_time)
video_unload1 = myclip.subclip(t1, t2)
video_unload1.write_videofile("step_1.mp4", fps=25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment