#2267 TaskCfg(cache_folder='D:/Portable/pyvideotrans/tmp/5040/9d00096dc3', target_dir='D:/Download/_video_out/Getting Started

5.178* Posted at: 1 day ago 👁19

配音阶段出错:[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/5040/9d00096dc3', 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/5040/9d00096dc3/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/5040/9d00096dc3/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/5040/9d00096dc3/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='9d00096dc3', 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,通常由网络连接问题、请求参数错误或服务器端限制导致。请按以下步骤排查:

  1. 检查网络与代理

    • 确保网络连接正常,可以访问微软服务。
    • 如果你使用了网络代理,请在主界面第5行的“网络代理”处正确填写(如 http://127.0.0.1:7860),并确保代理可用。
  2. 降低并发请求频率

    • 在菜单栏选择 工具 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”改为 1
    • 将“配音后暂停时间/秒”适当调高,例如设为 35
  3. 验证配音参数

    • 检查主界面第4行“配音”设置中,选择的“目标语言”是否与配音角色(“晓辰 多语言(Female/CN)”)支持的语言匹配。对于中文配音,目标语言应设为“简体中文”。
  4. 尝试更换配音角色或渠道

    • 临时切换到其他 Edge-TTS 角色(如“晓晓”)进行测试。
    • 如果问题持续,可考虑暂时使用其他免费配音渠道,如 VITS-cnenpiper-tts
  5. 检查临时文件路径

    • 错误日志显示临时文件夹路径较长且包含空格(D:/Portable/pyvideotrans/tmp/...)。虽然不一定是主因,但为排除干扰,建议将软件移动到更简单的路径,例如 D:/videotrans,并确保路径中没有空格和特殊字符

如果以上步骤均无效,请提供 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