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
[MoviePy] This command returned an error !Traceback (most recent call last):
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1156, in init
subprocess_call(cmd, verbose=False)
File "C:\Python36\lib\site-packages\moviepy\tools.py", line 49, in subprocess_call
raise IOError(err.decode('utf8'))
OSError: convert.exe: no images defined `PNG32:C:\Users\ADMINI~1\AppData\Local\Temp\tmprov56xtu.png' @ error/convert.c/ConvertImageComman
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "testSubtitle.py", line 67:
finalVideo.to_videofile("new.mp4", fps=24, remove_temp=True)
File "C:\Python36\lib\site-packages\moviepy\tools.py", line 130, in fdepr
return f(*a, **kw)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration
return f(clip, *a, **k)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 137, in use_clip_fps_by_default
return f(clip, *new_a, **new_kw)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 22, in convert_masks_to_RGB
return f(clip, *a, **k)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 326, in write_videofile
progress_bar=progress_bar)
File "C:\Python36\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 218, in ffmpeg_write_video
fps=fps, dtype="uint8"):
File "C:\Python36\lib\site-packages\tqdm_tqdm.py", line 940, in iter
for obj in iterable:
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 475, in generator
frame = self.get_frame(t)
File "", line 2, in get_frame
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 94, in get_frame
return self.make_frame(t)
File "C:\Python36\lib\site-packages\moviepy\video\compositing\CompositeVideoClip.py", line 112, in make_frame
f = c.blit_on(f, t)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 543, in blit_on
img = self.get_frame(ct)
File "", line 2, in get_frame
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 94, in get_frame
return self.make_frame(t)
File "C:\Python36\lib\site-packages\moviepy\video\tools\subtitles.py", line 75, in make_frame
sub = add_textclip_if_none(t)
File "C:\Python36\lib\site-packages\moviepy\video\tools\subtitles.py", line 70, in add_textclip_if_none
self.textclips[sub] = self.make_textclip(sub[1])
File "MusicChina.py", line 76, in
generator = lambda txt: TextClip(txt, font, fontsize=36, color=color)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1165, in init
raise IOError(error)
OSError: MoviePy Error: creation of simkai.ttf failed because of the following error:
convert.exe: no images defined `PNG32:C:\Users\ADMINI~1\AppData\Local\Temp\tmprov56xtu.png' @ error/convert.c/ConvertImageCommand/3258.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, when I try to composite video and SubtitlesClip by CompositeVideoClip,
I got these errors Below:
[MoviePy] This command returned an error !Traceback (most recent call last):
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1156, in init
subprocess_call(cmd, verbose=False)
File "C:\Python36\lib\site-packages\moviepy\tools.py", line 49, in subprocess_call
raise IOError(err.decode('utf8'))
OSError: convert.exe: no images defined `PNG32:C:\Users\ADMINI~1\AppData\Local\Temp\tmprov56xtu.png' @ error/convert.c/ConvertImageComman
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "testSubtitle.py", line 67:
finalVideo.to_videofile("new.mp4", fps=24, remove_temp=True)
File "C:\Python36\lib\site-packages\moviepy\tools.py", line 130, in fdepr
return f(*a, **kw)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration
return f(clip, *a, **k)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 137, in use_clip_fps_by_default
return f(clip, *new_a, **new_kw)
File "", line 2, in write_videofile
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 22, in convert_masks_to_RGB
return f(clip, *a, **k)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 326, in write_videofile
progress_bar=progress_bar)
File "C:\Python36\lib\site-packages\moviepy\video\io\ffmpeg_writer.py", line 218, in ffmpeg_write_video
fps=fps, dtype="uint8"):
File "C:\Python36\lib\site-packages\tqdm_tqdm.py", line 940, in iter
for obj in iterable:
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 475, in generator
frame = self.get_frame(t)
File "", line 2, in get_frame
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 94, in get_frame
return self.make_frame(t)
File "C:\Python36\lib\site-packages\moviepy\video\compositing\CompositeVideoClip.py", line 112, in make_frame
f = c.blit_on(f, t)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 543, in blit_on
img = self.get_frame(ct)
File "", line 2, in get_frame
File "C:\Python36\lib\site-packages\moviepy\decorators.py", line 89, in wrapper
return f(*new_a, **new_kw)
File "C:\Python36\lib\site-packages\moviepy\Clip.py", line 94, in get_frame
return self.make_frame(t)
File "C:\Python36\lib\site-packages\moviepy\video\tools\subtitles.py", line 75, in make_frame
sub = add_textclip_if_none(t)
File "C:\Python36\lib\site-packages\moviepy\video\tools\subtitles.py", line 70, in add_textclip_if_none
self.textclips[sub] = self.make_textclip(sub[1])
File "MusicChina.py", line 76, in
generator = lambda txt: TextClip(txt, font, fontsize=36, color=color)
File "C:\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 1165, in init
raise IOError(error)
OSError: MoviePy Error: creation of simkai.ttf failed because of the following error:
convert.exe: no images defined `PNG32:C:\Users\ADMINI~1\AppData\Local\Temp\tmprov56xtu.png' @ error/convert.c/ConvertImageCommand/3258.
Thanks
The text was updated successfully, but these errors were encountered: