Skip to content

Instantly share code, notes, and snippets.

@Zulko Zulko/Eugene_hey.py
Created Feb 9, 2015

Embed
What would you like to do?
Eugene saying hey!
# Result: http://i.imgur.com/thrh1TU.gif
from moviepy.editor import *
# We start with a looping gif, and we will add some text
clip = VideoFileClip("eugene.gif").speedx(0.7) # slow down a little
txt = (TextClip("Hey", fontsize=78, font='Impact-Normal',
color='yellow', stroke_color='black',
stroke_width=3, kerning=1.5)
.resize(width=60)
.set_pos((20,30)))
final = CompositeVideoClip([clip,txt]).set_duration(clip.duration)
final.write_gif('hey_txt.gif')
@Zulko

This comment has been minimized.

Copy link
Owner Author

commented Feb 9, 2015

@intoro

This comment has been minimized.

Copy link

commented Feb 19, 2018

awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.