moviepy.video.VideoClip.DataVideoClip#
- class moviepy.video.VideoClip.DataVideoClip(data, data_to_frame, fps, is_mask=False, has_constant_size=True)[source]#
Class of video clips whose successive frames are functions of successive datasets
- Parameters:
data -- A list of datasets, each dataset being used for one frame of the clip
data_to_frame -- A function d -> video frame, where d is one element of the list data
fps -- Number of frames per second in the animation