You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 2.7.6 (default, Feb 26 2014, 12:07:17)
[GCC 4.8.2 20140206 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from moviepy.editor import *
>>> backgroundClip = ColorClip((1280,720))
>>> backgroundClip.set_duration(2).preview
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 2, in preview
File "/usr/lib/python2.7/site-packages/moviepy/decorators.py", line 60, in requires_duration
return f(clip, *a, **k)
File "/usr/lib/python2.7/site-packages/moviepy/video/io/preview.py", line 94, in preview
imdisplay(img, screen)
File "/usr/lib/python2.7/site-packages/moviepy/video/io/preview.py", line 13, in imdisplay
a = pg.surfarray.make_surface(imarray.swapaxes(0, 1))
File "/usr/lib/python2.7/site-packages/pygame/surfarray.py", line 243, in make_surface
return numpysf.make_surface (array)
File "/usr/lib/python2.7/site-packages/pygame/_numpysurfarray.py", line 368, in make_surface
blit_array (surface, array)
File "/usr/lib/python2.7/site-packages/pygame/_numpysurfarray.py", line 437, in blit_array
surface.get_buffer ().write (data, 0)
IndexError: bytes to write exceed buffer size
>>>
The text was updated successfully, but these errors were encountered: