#3853 TaskCfgTTS(is_cuda=False, uuid='2213782ece', cache_folder='L:/123pan/win-pyvideotrans-v3.98-326/tmp/7040/2213782ece', ta

2403:18c0* Posted at: 3 days ago 👁39

配音阶段出错 [Azure(免费试用)] 该声音无法试用,请更换其他声音
Traceback (most recent call last):
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_freeazure.py", line 119, in get_voice
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 400 Client Error: Unsupported voice zh-CN-Yunxiao:DragonHDFlashLatestNeural. for url: https://westus.tts.speech.microsoft.com/cognitiveservices/v1

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\tts\_freeazure.py", line 147, in _item_task
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 213, in run
File "videotrans\task\_dubbing.py", line 51, in dubbing
File "videotrans\task\_dubbing.py", line 209, in _tts
File "videotrans\tts\__init__.py", line 333, in run
File "videotrans\tts\_base.py", line 138, in run
File "videotrans\tts\_freeazure.py", line 159, in _exec
File "videotrans\tts\_base.py", line 211, in _local_mul_thread
File "videotrans\tts\_freeazure.py", line 152, in _item_task
videotrans.configure._except.StopRetry: 该声音无法试用,请更换其他声音
TaskCfgTTS(is_cuda=False, uuid='2213782ece', cache_folder='L:/123pan/win-pyvideotrans-v3.98-326/tmp/7040/2213782ece', target_dir='L:/123pan/win-pyvideotrans-v3.98-326/output/tts', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-cn', target_sub='C:/Users/23991/Desktop/作业/OK/【二战微电影】沾满灰尘的脸番外_库尔兰44【自制熟肉1080p】 - 1.沾满灰尘的脸番外(Av39822727,P1)-mp4/zh-cn - 副本.srt', target_wav='L:/123pan/win-pyvideotrans-v3.98-326/output/tts/zh-cn - 副本.wav', target_wav_output=None, name='C:/Users/23991/Desktop/作业/OK/【二战微电影】沾满灰尘的脸番外_库尔兰44【自制熟肉1080p】 - 1.沾满灰尘的脸番外(Av39822727,P1)-mp4/zh-cn - 副本.srt', noextname='zh-cn - 副本', basename='zh-cn - 副本.srt', ext='srt', dirname='C:/Users/23991/Desktop/作业/OK/【二战微电影】沾满灰尘的脸番外_库尔兰44【自制熟肉1080p】 - 1.沾满灰尘的脸番外(Av39822727,P1)-mp4', shound_del_name=None, tts_type=27, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunqi DragonHD Omni Latest(Male)', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:L:/123pan/win-pyvideotrans-v3.98-326

3 Replies

这是由于选择了 Azure(免费试用) 配音渠道中不支持试用的特定声音角色导致的。

  1. 更换配音角色:在配音渠道选择 Azure(免费试用) 后,请勿选择带有 DragonHDOmni 等高级或最新神经语音的角色(例如 Yunqi DragonHD Omni Latest(Male))。这些高级声音通常不在免费试用范围内。
  2. 选择其他免费试用声音:在“配音角色”下拉列表中,选择名称更简单、不带高级标识的声音,例如 zh-CN-Xiaoxiaozh-CN-Yunxi 等基础神经语音。
  3. 更换配音渠道:如果问题持续,建议更换为其他免费配音渠道,例如 Edge-TTS(免费)

请查阅相关文档:

那 mulitilingual呢

Azure(免费试用) 渠道的多语言(Multilingual)语音角色同样可能不在免费试用范围内。错误信息表明你选择的 zh-CN-Yunxiao:DragonHDFlashLatestNeural 声音不支持试用,这属于高级语音。

  1. 更换配音角色:在“配音角色”下拉列表中,避免选择任何带有 DragonHDOmniLatestNeuralMultilingual 等标识的高级或最新语音。请选择名称更基础、常见的语音,例如 zh-CN-Xiaoxiaozh-CN-Yunxi
  2. 更换配音渠道:如果无法确定哪些语音支持免费试用,或问题持续,建议直接更换为其他免费且稳定的配音渠道,例如 Edge-TTS(免费)

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource