Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.36k stars 1.55k forks source link

nvert-im6.q16: width or height exceeds limit #1719

Open Crojav opened 2 years ago

Crojav commented 2 years ago

nvert-im6.q16: width or height exceeds limit @/tmp/tmpesd5jhzk.txt' @ error/label.c/ReadLABELImage/138. convert-im6.q16: no images definedPNG32:/tmp/tmprq05t6se.png' @ error/convert.c/ConvertImageCommand/3258.

A long time ago, in a faraway galaxy there lived a prince and a princess A long time ago, in a faraway galaxy there lived a prince and a princess A long time ago, in a faraway galaxy

there lived a prince and a princess A long time ago, in a faraway galaxy there lived a prince and a princess A long time ago, in a faraway galaxy there lived a prince and a princess A long time ago, in a faraway galaxy

OSError: [Errno 36] File name too long:

clip = (VideoFileClip('numberSequenceActionScript4.mp4', audio=False)
           .subclip(0,96)
           .speedx( 0.4)
           .fx( vfx.colorx, 0.7))

mountainmask = ImageClip('imageMask-720x396.png',ismask=True)

credits = credits1('credits.txt',3*clip.w/6)
scrolling_credits = credits.set_pos(lambda t:('center',-10*t))

final = CompositeVideoClip([clip,
                            scrolling_credits,
                            clip.set_mask(mountainmask)])

final.subclip(2,60).write_videofile("credits_mountains.mp4")

If i remove text say a paragraph it works, as i make the text longer this issue play's up
Before i got the problems with the policy file i had to remove a line I think of the use of Pill to make the text in the images. Is there some info how to go with that?

Specifications

keikoro commented 2 years ago

Ignore the above mention, was due to a typo in the issue no. I was trying to reference.