#2265 TaskCfg(cache_folder='D:/Portable/pyvideotrans/tmp/15224/fabf6420a9', target_dir='D:/Download/_video_out/Getting Started

5.178* Posted at: 1 day ago 👁15

配音阶段出错:[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\trans_create.py", line 496, in dubbing
File "videotrans\task\trans_create.py", line 778, 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='D:/Portable/pyvideotrans/tmp/15224/fabf6420a9', target_dir='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4/en.srt', target_sub='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4/zh-cn.srt', source_wav='D:/Portable/pyvideotrans/tmp/15224/fabf6420a9/en.wav', source_wav_output='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4/en.m4a', target_wav='D:/Portable/pyvideotrans/tmp/15224/fabf6420a9/target.wav', target_wav_output='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/Portable/pyvideotrans/tmp/15224/fabf6420a9/novoice.mp4', noextname='Getting Started with ZBrush Desktop - Asset Directory', shibie_audio=None, targetdir_mp4='D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4/Getting Started with ZBrush Desktop - Asset Directory.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='晓辰 多语言(Female/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=3, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=True, cuda=True, name="D:/Download/What's New for ZBrush 2026/Getting Started with ZBrush Desktop - Asset Directory.mp4", basename='Getting Started with ZBrush Desktop - Asset Directory.mp4', ext='mp4', dirname="D:/Download/What's New for ZBrush 2026", shound_del_name=None, uuid='fabf6420a9', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=1)


=
system:Windows-10-10.0.26100-SP0
version:v3.87
frozen:True
language:zh
root_dir:D:/Portable/pyvideotrans

1 Replies

Edge-TTS 配音失败,错误信息为“No audio was received”。这通常是由于网络连接问题、Edge-TTS 服务器临时故障或请求参数(如语言/角色)不正确导致。请按以下步骤排查:

  1. 检查网络与代理

    • 确保网络连接正常。如果使用了代理,请检查代理设置(主界面第5行“网络代理”)是否正确且有效。
    • 可以尝试暂时关闭代理,使用直连网络。
  2. 验证配音参数

    • 确认在配音设置中,选择的“目标语言”与“配音角色”是匹配的。例如,目标语言是“简体中文”,角色应选择支持中文的(如“晓辰 多语言”)。
    • 重要:点击“试听”按钮,测试当前选择的角色是否能正常生成试听音频。如果试听也失败,说明问题出在参数或网络连接上。
  3. 调整请求设置(降低频率)

    • 进入 菜单 -> 工具 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”改为 1,并将“配音后暂停时间/秒”适当调大(如 35),以减少并发请求,避免被服务器限制。
  4. 更换配音渠道

    • 如果以上步骤无效,可以暂时切换到其他免费的配音渠道,例如 VITS-cnen(本地)piper-tts(本地),以确认是否是 Edge-TTS 服务本身的问题。
  5. 检查文件路径

    • 您的输出路径 D:/Download/_video_out/Getting Started with ZBrush Desktop - Asset Directory-mp4 包含空格和连字符,虽然通常没问题,但极端情况下可能引发问题。可以尝试将输出目录改为一个更简单的纯英文路径(如 D:/output)。

如果问题依旧,请提供 D:/Portable/pyvideotrans/logs/ 目录下最新的日志文件,以便进一步分析。

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