Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1137, in __init__
- subprocess_call(cmd, logger=None)
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\tools.py", line 54, in subprocess_call
- raise IOError(err.decode('utf8'))
- OSError: magick.exe: label expected `@C:\Users\gasto\AppData\Local\Temp\tmpa82_jp2e.txt' @ error/annotate.c/GetMultilineTypeMetrics/797.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\Document\AutoTiktok\TiktokPro.py", line 79, in <module>
- subtitles_clip = SubtitlesClip(subtitles)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 87, in __init__
- self.mask = VideoClip(make_mask_frame, ismask=True) if hasmask else None
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 86, in __init__
- self.size = self.get_frame(0).shape[:2][::-1]
- ^^^^^^^^^^^^^^^^^
- File "<decorator-gen-11>", line 2, in get_frame
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\decorators.py", line 89, in wrapper
- return f(*new_a, **new_kw)
- ^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\Clip.py", line 93, in get_frame
- return self.make_frame(t)
- ^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 81, in make_mask_frame
- sub = add_textclip_if_none(t)
- ^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 71, in add_textclip_if_none
- self.textclips[sub] = self.make_textclip(sub[1])
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 49, in <lambda>
- make_textclip = lambda txt: TextClip(txt, font='Georgia-Bold',
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1146, in __init__
- raise IOError(error)
- OSError: MoviePy Error: creation of None failed because of the following error:
- magick.exe: label expected `@C:\Users\gasto\AppData\Local\Temp\tmpa82_jp2e.txt' @ error/annotate.c/GetMultilineTypeMetrics/797.
- .
- .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement