moviepy.video.fx.all.freeze¶
-
moviepy.video.fx.all.
freeze
(clip, t=0, freeze_duration=None, total_duration=None, padding_end=0)[source]¶ Momentarily freeze the clip at time t.
Set t=’end’ to freeze the clip at the end (actually it will freeze on the frame at time clip.duration - padding_end seconds - 1 / clip_fps). With
duration
you can specify the duration of the freeze. Withtotal_duration
you can specify the total duration of the clip and the freeze (i.e. the duration of the freeze is automatically computed). One of them must be provided.