mirror of
https://github.com/gabrielkheisa/meme-generator.git
synced 2024-11-22 11:31:59 +07:00
update
This commit is contained in:
parent
1d61b3ded0
commit
95b63dcf71
@ -12,7 +12,7 @@ bendera = 0
|
|||||||
theteks = ""
|
theteks = ""
|
||||||
picture = VideoFileClip("video.mp4")
|
picture = VideoFileClip("video.mp4")
|
||||||
|
|
||||||
thesize = 25
|
thesize = 30
|
||||||
|
|
||||||
|
|
||||||
def checkindo():
|
def checkindo():
|
||||||
@ -64,7 +64,7 @@ def checkindo():
|
|||||||
durations = [3,3,3,3,3,5,3,3,3]
|
durations = [3,3,3,3,3,5,3,3,3]
|
||||||
|
|
||||||
for text,t,duration in zip(texts, starts, durations):
|
for text,t,duration in zip(texts, starts, durations):
|
||||||
txt_clip = TextClip(text, fontsize = 40, color='white', font="DejaVu-Serif-Bold", stroke_color="black")
|
txt_clip = TextClip(text, fontsize = 20, color='white', font="DejaVu-Serif-Bold", stroke_color="black")
|
||||||
txt_clip = txt_clip.set_start(t)
|
txt_clip = txt_clip.set_start(t)
|
||||||
txt_clip = txt_clip.set_pos('bottom').set_duration(duration)
|
txt_clip = txt_clip.set_pos('bottom').set_duration(duration)
|
||||||
txt_clips.append(txt_clip)
|
txt_clips.append(txt_clip)
|
||||||
|
Loading…
Reference in New Issue
Block a user