#7621 Dubbing failed completely:No audio was received. Please verify that your parameters are correct.all_voices={'vi-VN-HoaiM

113.176**7 Posted at: 1 hour ago

Dubbing failed completely:No audio was received. Please verify that your parameters are correct.
all_voices={'vi-VN-HoaiMyNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 118, in run
File "videotrans\tts\_base.py", line 92, in run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 228, in _exec
videotrans.configure.excepts.DubbingSrtError: Dubbing failed completely:No audio was received. Please verify that your parameters are correct.
all_voices={'vi-VN-HoaiMyNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/video1.mp4,
输出结果保存到文件夹: D:/ket qua/video1-mp4,
临时文件夹: D:/win-pyvideotrans-v4.13-1/tmp/3752/9dd7ff683b
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:openai-whisper(Built-in), tiny, 发音语言: Auto Detect, 断句方式:默认断句
TranslateSrt:Google Translate (Free),原始语言:Auto Detect,目标语言:Vietnamese, 已选 SendSRT
TTS Service:Edge-TTS (Free), 角色:HoaiMy(Female/VN), 配音语言:Vietnamese, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Hard Subtitles
video_duration_ms=40033


=
system:Windows-10-10.0.22631-SP0
version:v4.13
frozen:True
language:en_US
root_dir:D:/win-pyvideotrans-v4.13-1

1 Replies

#1 DeepSeek reply at 1 hour ago

The root cause is that Edge-TTS returned no audio, so every dubbing request failed.

all_voices={'vi-VN-HoaiMyNeural'} shows the requested voice failed to produce audio, which is almost always an Edge-TTS network/proxy/rate-limit problem (not a language or text problem).

Fix steps:

  1. Proxy issue (most common with Edge-TTS): Edge-TTS often fails when a proxy is set.

    Create an empty file named edgetts-noproxy.txt in the software root directory (D:/win-pyvideotrans-v4.13-1/) to force Edge-TTS to bypass the proxy, then retry.
  2. If you are using a proxy/VPN, clear the proxy textbox on the main interface (Alignment row), save, and retry.
  3. Rate limiting: go to Menu -> Tools/Options -> Advanced Options -> Dubbing and set:

    • Concurrent dubbing threads (EdgeTTS concurrency) = 1
    • Pause (s) after each dubbing request = 5~10
  4. Confirm network connectivity: Edge-TTS needs to reach Microsoft's servers.

    Test without proxy, then with a clean node.
  5. Make sure the software path and folder names contain only English/numbers (your output path D:/ket qua/ contains a space; also the config D:/win-pyvideotrans-v4.13-1 is fine).

    Prefer paths without spaces, e.g.

    D:/ketqua/.
  6. Retry with Clear Output (清理已生成) checked so the failed cache is not reused.

If it still fails after the above, switch the TTS channel temporarily (e.g.

gTTS or a local built-in TTS) to confirm whether the issue is Edge-TTS-specific.

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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 via ko-fi.com

Related resource