Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux系统下的在打开“启用字幕”后会导致IMv7的错误,#418问题的后续 #511

Open
Lambda-zhou opened this issue Oct 27, 2024 · 0 comments

Comments

@Lambda-zhou
Copy link

描述同#418
报错信息:
OSError: MoviePy Error: creation of None failed because of the following error: WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert" convert: unable to read font Georgia-Bold' @ warning/annotate.c/RenderType/1024. convert: delegate library support not built-in '/usr/share/fonts/type1/gsfonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/2112. convert: no decode delegate for this image format ' @ error/constitute.c/ReadImage/746. convert: no images defined PNG32:/tmp/tmp0xuf3v7x.png' @ error/deprecate.c/ConvertImageCommand/3368.
.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. Check the documentation.`

尝试的办法:
1.修改了ImageMagick-7 和 ImageMagick-6下的文件policy.xml还是报错,在config.toml配置文件改了imagemagick_path = "/etc/ImageMagick-6",或是ImageMagick-7都一样
2.起一个新的环境,不用编译的,直接apt安装 apt install imagemagick libfreetype6-dev 然后 convert -list configure 确保DELEGATES这一栏有fontconfig freetype这两个

希望有彻底的解决办法(另外在实验过后发现似乎可以直接在app的页面中设定好不用修改config.toml配置文件?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant