I am trying to get the text in my code in MoviePy to automatically adjust to the center of the screen (which it is currently doing), but I don't want to set a fontsize. I am trying to get the text size to fit between a width and height so it autoadjusts its own size, but I can not for the life of me figure out what I am doing wrong.
I can get it to appear at a set font size, but as soon as I try autosizing, the text just does load.
screensize = (1000,500)
credits = (TextClip(txt_credits, color='black',
font="Keep-Calm-Medium", kerning=-2, interline=-1, size =
screensize)
.set_duration(25)
.set_start(5)
)