#2012 TaskCfg(cache_folder='G:/win-pyvideotrans-v3.86/tmp18060/8eb32e2fce', target_dir='G:/win-pyvideotrans-v3.86/output/tts',

2406:da14* Posted at: 7 hours ago 👁4

配音阶段出错:[Edge-TTS(免费)] 操作失败,请稍后重试('No audio was received. Please verify that your parameters are correct.',):
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 136, in _tts
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 646, in run_until_complete
File "videotrans\task\_base.py", line 199, in _edgetts_single
File "videotrans\task\_base.py", line 185, in _edgetts_single
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='G:/win-pyvideotrans-v3.86/tmp18060/8eb32e2fce', target_dir='G:/win-pyvideotrans-v3.86/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='en', source_sub=None, target_sub='G:/新闻/capcut 导出/审计(2).txt', source_wav=None, source_wav_output=None, target_wav='G:/win-pyvideotrans-v3.86/output/tts/审计(2).wav', target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='审计(2)', 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='Annette(Female/AU)', 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='G:/新闻/capcut 导出/审计(2).txt', basename='审计(2).txt', ext='txt', dirname='G:/新闻/capcut 导出', shound_del_name=None, uuid='8eb32e2fce', remove_silent_mid=False, align_sub_audio=False, enable_diariz=False, nums_diariz=0, auto_fix=True)


=
system:Windows-10-10.0.26100-SP0
version:v3.86
frozen:True
language:zh
root_dir:G:/win-pyvideotrans-v3.86

1 Replies

Edge-TTS 配音失败,提示“No audio was received”,这通常是由于请求参数(特别是语言和角色)不匹配,或网络请求被微软服务器拒绝导致的。请按以下步骤排查:

  1. 检查配音角色与目标语言的匹配性:您当前使用的角色是 Annette(Female/AU),这是一个澳大利亚英语女性角色。请确保您的“目标语言”已正确设置为 英语 (en)。如果目标语言是中文或其他语言,使用此角色会导致失败。
  2. 降低并发请求频率:Edge-TTS 对高频请求有限制。

    • 进入菜单栏:工具/选项 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”设置为 1
    • 将“配音后暂停时间/秒”设置为 35
  3. 尝试更换配音角色:在配音设置界面,选择一个与您“目标语言”明确匹配的角色(例如,如果目标是中文,选择 zh-CN-XiaoxiaoNeural 等)。
  4. 检查网络代理设置:如果您使用了网络代理,请确保代理地址(格式如 http://127.0.0.1:7860)正确且代理服务正常运行。可以尝试暂时关闭代理再试。
  5. 直接测试Edge-TTS服务:如果以上步骤无效,可能是微软服务端临时问题。请稍后再试。

如果问题依旧,请提供完整的日志文件(位于 G:/win-pyvideotrans-v3.86/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