Created
November 3, 2021 18:21
-
-
Save thomasnield/d4693b84d4ff17e21e58dec3672bea16 to your computer and use it in GitHub Desktop.
MoviePy Video Editing in Python
This file contains hidden or 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 * | |
clip = VideoFileClip("C:/Users/thoma/OneDrive/Workspace/Projects/Yawman/media/prototype_2_demo.mp4") \ | |
.subclip(8*60+7,8*60+30)\ | |
.without_audio() | |
final_clip = concatenate_videoclips([clip]) | |
clip.write_videofile("C:/Users/thoma/OneDrive/Workspace/Projects/Yawman/media/turn.mp4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment