#2041 TaskCfg(cache_folder='D:/win-pyvideotrans-v3.85/tmp15096/56bee0f834', target_dir='E:/审计/文本', remove_noise=False, is_sepa

2a02:6ea0* Posted at: 10 hours ago 👁18

配音阶段出错:[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='D:/win-pyvideotrans-v3.85/tmp15096/56bee0f834', target_dir='E:/审计/文本', 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='E:/审计/文本/1.txt', source_wav=None, source_wav_output=None, target_wav='E:/审计/文本/1.mp3', target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='1', 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='Duncan(Male/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='E:/审计/文本/1.txt', basename='1.txt', ext='txt', dirname='E:/审计/文本', shound_del_name=None, uuid='56bee0f834', remove_silent_mid=False, align_sub_audio=False, enable_diariz=False, nums_diariz=0)


=
system:Windows-10-10.0.26200-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.85

1 Replies

Edge-TTS 配音失败,通常是由于请求频率过高或网络连接问题导致。请按以下步骤排查:

  1. 降低请求频率

    • 在菜单栏选择 工具/选项 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”改为 1
    • 将“配音后暂停时间/秒”改为 35
  2. 检查网络代理

    • 如果使用了网络代理,请确保代理设置正确(主界面第5行“网络代理”处)。
    • 尝试暂时关闭代理,使用直连网络。
  3. 检查配音参数

    • 确认配音角色 Duncan(Male/AU) 是 Edge-TTS 支持的有效角色。
    • 尝试更换为其他角色(如 zh-CN-XiaoxiaoNeural)测试。
  4. 检查输入文本

    • 打开 E:/审计/文本/1.txt,确认文件内容不是空的,且文本格式正常(无特殊控制字符)。
  5. 重启软件重试

    • 完成上述设置后,关闭软件重新启动,然后再次尝试。

如果以上步骤均无效,请提供 D:/win-pyvideotrans-v3.85/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