我开始为Python使用aeneas,在ubuntu机器上运行代码 我想将默认的tts -espeak-更改为macos
等其他tts$python -m aeneas.tools.execute_task\
ara.mp4 ara.xml\ "task_language=ara|os_task_file_format=srt|is_text_type=plain**|tts=macos|tts_path=macos**" ara.srt
但是它永远无法正常工作,并向我说不支持该错误,而文档中说macos支持阿拉伯语,但是我觉得添加tts namd和path根本无效
[ERRO] An unexpected error occurred while executing the task:
[ERRO] Unexpected error while executing task : Language 'ara' is not supported by the selected TTS engine
任何帮助更改二手tts
答案 0 :(得分:0)
您应该在config_string之外使用tts。 例如:
$python -m aeneas.tools.execute_task\
ara.mp4 ara.xml\
-r="tts=macos" "task_language=ara|os_task_file_format=srt|is_text_type=plain" ara.srt