def ipython_display(self, *args, **kwargs):
"""
Fixes inheritance naming issue with moviepy's ipython_display
"""
seg_copy = self.copy()
# Class should also always be set to VideoClip for expected video display
seg_copy.__class__ = VideoClip().__class__
return seg_copy.ipython_display(*args, **kwargs)
评论列表
文章目录