#2547·moviepy

TextClip Word Wrapping issue

Author: superfonzCreated Jan 10, 2026Updated Jul 14, 2026
Labelsbugtext

Expected Behavior

with the method caption in TextClip it should auto break word wise not char-wise in my opinion. for example if its at the end of a line, something like 'there' will be 'th ere' with is not helpful.

from moviepy.video.VideoClip import TextClip

text_clip = TextClip( text='this is a really long text comment so it can be seen that the text clip is not functioning properly.', method='caption', size=(300, None), color='white', font_size=20, text_align='center' ) text_clip.show()

Actual Behavior

the 'is' should not be clipped.

Used medias

Specifications

  • Python Version: 3.10
  • MoviePy Version: 2.2.1