Module Contents Union[VideoClip, np.ndarray], verbose=False, fps=24, **kwargs)str[source]

Convert a MoviePy clip to an HTML string.

from IPython.display import display
clip = ImageSequenceClip(list(np_video))
  • clip – MoviePy clip.

  • verbose – Whether to print out FFmpeg information during encoding

  • fps – FPS of clip

  • **kwargs – Any kwargs to pass down to html_embed()


String of HTML with a <video> tag and base64 encoded media. Useful for use with IPython.display.display to show videos.