So the loop ignores the 15-second limit and keeps replaying the full clip.
import movielite as mvl
video_end_time = 60
video_width, video_height = video_sizes["4k"]
bg_clip = mvl.ImageClip.from_color(color=hex2rgb("#dbeff4"), size=(video_width,video_height), start=0)
subscribe_clip = mvl.AlphaVideoClip("Subscribe Button.mov", start=0).subclip(0, 15)
subscribe_clip.loop(True)
subscribe_clip.set_end(60)
bg_clip.set_end(video_end_time)
writer = mvl.VideoWriter(f"{"test"}.mp4", fps=30, size=(video_width, video_height), duration=video_end_time)
writer.add_clips([bg_clip, subscribe_clip])
writer.write()
Context
This issue is extracted from this comment.
What I want
What’s happening now
So the loop ignores the 15-second limit and keeps replaying the full clip.
Check below example