#5514 TaskCfgTTS(uuid='d211c547c0', name='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/20260628-101109.txt', dirname='C:/U

240e:33d* Posted at: 2 hours ago

配音阶段出错 [Edge-TTS(免费)] edge-tts error:target_audio='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/d211c547c0/20260628-101109-edgetts-txt-1782612736.841073.mp3'
Traceback (most recent call last):

File "videotrans\task\_base.py", line 154, 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.

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

Traceback (most recent call last):

File "videotrans\task\job.py", line 54, in run

File "videotrans\task\job.py", line 173, in process_task

File "videotrans\task\dubbing.py", line 55, in dubbing

File "videotrans\task\dubbing.py", line 134, in _tts

File "asyncio\runners.py", line 44, in run

File "asyncio\base_events.py", line 649, in run_until_complete

File "videotrans\task\_base.py", line 165, in _edgetts_single

videotrans.configure.excepts.DubbingSrtError: edge-tts error:target_audio='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/d211c547c0/20260628-101109-edgetts-txt-1782612736.841073.mp3'
TaskCfgTTS(uuid='d211c547c0', name='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/20260628-101109.txt', dirname='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296', noextname='20260628-101109', basename='20260628-101109.txt', ext='txt', target_dir='C:/Users/zxy/Desktop/win-pyvideotrans-v4.00-528/output/tts', cache_folder='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/d211c547c0', is_cuda=False, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='vi', target_sub='C:/Users/zxy/Desktop/Shengyinzhuanhuan/tmp/39296/20260628-101109.txt', target_wav='C:/Users/zxy/Desktop/win-pyvideotrans-v4.00-528/output/tts/20260628-101109.wav', target_wav_output=None, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='NamMinh(Male/VN)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=False)


=
system:Windows-10-10.0.19045-SP0
version:v4.00
frozen:True
language:zh
root_dir:C:/Users/zxy/Desktop/Shengyinzhuanhuan

1 Replies

这是由于Edge-TTS请求频率过高,触发微软服务器的限流保护,导致无法获取配音音频,引发 NoAudioReceived 错误。

解决方案:

  1. 降低配音并发数:进入 菜单 → 工具 → 高级选项 → 字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1
  2. 增加配音间隔:在同一个页面,将 配音后暂停秒 设置为 510 秒(数值越大越稳定)。
  3. 关闭代理(如有):若你启用了网络代理,可能干扰Edge-TTS连接。清空主界面的代理框,或在软件根目录创建 edgetts-noproxy.txt 空文件强制绕过代理。
  4. 重启软件后重试:限流状态有时需要等待一段时间(约10~15分钟)才能恢复,请稍后再试。

请查阅相关文档:

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. Dondate: ko-fi.com/jianchang512

Related resource