#2087 TaskCfg(cache_folder='C:/Users/Administrator/Desktop/视频翻译11.29/tmp16028/73b03fdfe7', target_dir='C:/Users/Administrator/

153.254* Posted at: 13 hours ago 👁14

配音阶段出错:[Edge-TTS(免费)] 操作失败,请稍后重试('No audio was received. Please verify that your parameters are correct.',):
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 123, in run
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 224, in run
File "videotrans\task\_dubbing.py", line 47, in dubbing
File "videotrans\task\_dubbing.py", line 197, in _tts
File "videotrans\tts\__init__.py", line 279, in run
File "videotrans\tts\_base.py", line 188, in run
File "videotrans\tts\_edgetts.py", line 72, in _create_audio_with_retry
File "asyncio\tasks.py", line 445, in wait_for
File "edge_tts\communicate.py", line 590, in save
File "edge_tts\communicate.py", line 566, in stream
File "edge_tts\communicate.py", line 541, in __stream
edge_tts.exceptions.NoAudioReceived: No audio was received. Please verify that your parameters are correct.

TaskCfg(cache_folder='C:/Users/Administrator/Desktop/视频翻译11.29/tmp16028/73b03fdfe7', target_dir='C:/Users/Administrator/Desktop/8988/output/tts', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code='zh-cn', source_sub=None, target_sub='C:/Users/Administrator/Desktop/8999.srt', source_wav=None, source_wav_output=None, target_wav='C:/Users/Administrator/Desktop/8988/output/tts/8999.wav', target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='8999', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='晓梦(Female/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=0, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/Administrator/Desktop/8999.srt', basename='8999.srt', ext='srt', dirname='C:/Users/Administrator/Desktop', shound_del_name=None, uuid='73b03fdfe7', remove_silent_mid=False, align_sub_audio=False, enable_diariz=False, nums_diariz=0, auto_fix=True)


=
system:Windows-10-10.0.19045-SP0
version:v3.86
frozen:True
language:zh
root_dir:C:/Users/Administrator/Desktop/视频翻译11.29

1 Replies

该错误表明 Edge-TTS 服务器未返回音频数据。这通常是由于网络连接问题、服务器临时故障或请求参数(如语言/角色)不正确导致的。请按以下步骤排查:

  1. 检查网络与代理:确保网络通畅。如果您使用了代理,请确认代理设置正确且能访问微软的 TTS 服务。
  2. 验证配音参数

    • 确认您选择的“目标语言”与“配音角色”是匹配的。例如,选择中文角色时,目标语言应为“中文(中国)”。
    • 在配音设置界面,点击您选择的角色旁边的“试听”按钮。如果试听也失败,说明该角色或语言组合当前可能不可用,请尝试更换其他角色(如“晓晓”、“云希”等)。
  3. 调整请求设置(降低频率)

    • 在菜单栏选择 工具 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”改为 1,并将“配音后暂停时间/秒”设置为 3 或更高。
  4. 清理缓存后重试

    • 在主界面,勾选“清理已生成”选项,然后重新执行任务。

如果以上步骤均无效,可能是微软服务端临时问题,请稍后再试。若问题持续,可以暂时切换到其他免费 TTS 渠道,如 VITS-cnenpiper-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.

Donate: https://ko-fi.com/jianchang512

Trending Questions