Created
November 1, 2022 13:53
-
-
Save samirsaci/82d4175d5c9db55c600e5a263e86dbac to your computer and use it in GitHub Desktop.
Automate Video Design - Stack
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
# Third Video | |
start_time = '00:01:10' | |
end_time = '00:01:25' | |
t1, t2 = convert_seconds(start_time), convert_seconds(end_time) | |
video_unload5 = myclip.subclip(t1, t2) | |
# Fourth Video | |
start_time = '00:01:47' | |
end_time = '00:02:02' | |
t1, t2 = convert_seconds(start_time), convert_seconds(end_time) | |
video_unload6 = myclip.subclip(t1, t2) | |
Stacking | |
final_clip = clips_array([[video_unload1.volumex(0), video_unload3.volumex(0)], | |
[video_unload5.volumex(0), video_unload5.volumex(0)]]) | |
final_clip.write_videofile("stack.mp4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment