Created
August 19, 2021 21:10
-
-
Save Zulko/57e6e50debef1834fb9b60700b1b9f99 to your computer and use it in GitHub Desktop.
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
from moviepy.editor import * | |
from moviepy import * | |
video = VideoFileClip(r"[MYFILE]").subclip(50,60) | |
# Make the text. Many more options are available. | |
txt_clip = ( TextClip("My Holidays 2013",fontsize=70,color='white') | |
.set_position('center') | |
.set_duration(10) ) | |
result = CompositeVideoClip([video, txt_clip]) # Overlay text on video | |
result.write_videofile("myHolidays_edited.webm",fps=25) # Many options... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment