Created
November 1, 2022 13:50
-
-
Save samirsaci/4f0b506b7f1f89e175c0a344bc1fe891 to your computer and use it in GitHub Desktop.
Automate Video Editing - Concat
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
# Second video | |
start_time = '00:00:43' | |
end_time = '00:00:58' | |
t1, t2 = convert_seconds(start_time), convert_seconds(end_time) | |
video_unload3 = myclip.subclip(t1, t2) | |
# Concat | |
video_unload4 = concatenate_videoclips([video_unload1, video_unload3]) | |
video_unload4.write_videofile("step_12.mp4", fps=25) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment