#8481 Dubbing failed completely:No audio was received. Please verify that your parameters are correct.all_voices={'ru-RU-Dmitr

85.232**1 Posted at: 2 hours ago

Dubbing failed completely:No audio was received. Please verify that your parameters are correct.
all_voices={'ru-RU-DmitryNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 108, in run

trk.dubbing()

File "videotrans\task\_stage_dubbing.py", line 24, in dubbing

self._tts()

File "videotrans\task\_stage_dubbing.py", line 101, in _tts

run_tts(

File "videotrans\tts\__init__.py", line 132, in run

return _cls(**kwargs).run()  # type:ignore

File "videotrans\tts\_base.py", line 95, in run

asyncio.run(self._exec())

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 253, in _exec
videotrans.configure.excepts.DubbingSrtError: Dubbing failed completely:No audio was received. Please verify that your parameters are correct.
all_voices={'ru-RU-DmitryNeural'}

trk=[TransCreate]: uuid='3d6eb3c7bc', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/videos/Image Editing Practice 2 Luma Range.mp4,
输出结果保存到文件夹: D:/videos/video_out/Image Editing Practice 2 Luma Range-mp4,
临时文件夹: D:/pyVideoTrans/tmp/5188/3d6eb3c7bc
未选 清理已存在
已启用CUDA加速
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: English, LLM纠错, 数据类型:int8
TranslateSrt:DeepSeek,原始语言:English,目标语言:Russian, 已选 SendSRT, settings.get('trans_thread')=10, settings.get('aitrans_thread')=40
TTS Service:Edge-TTS (Free), 角色:Dmitry(Male/RU), 配音语言:Russian, 未选 二次语音识别
音量:+100%, 语速:+0%, 已选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: low
字幕: No Subtitles , precent=15, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=18900


=
system:Windows-10-10.0.19045-SP0
version:v4.17
frozen:True
language:en_US
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 2 hours ago

The direct cause: Edge-TTS is Microsoft's free public interface; when all requests are rejected (rate limiting/IP block, proxy interference, or invalid request parameters), it returns No audio was received, so every subtitle line fails. This is not a problem with the ru-RU-DmitryNeural voice itself (it exists in the Edge voice list).

Handle in this order:

  1. Lower request frequency: Menu → Tools/Options → Advanced Options → Dubbing:

    • EdgeTTS Max Concurrency = 1
    • Post-Dubbing Delay (s) = 5~10
  2. Exclude proxy interference: create an empty file edgetts-noproxy.txt in the software root directory (D:/pyVideoTrans/edgetts-noproxy.txt) to force Edge-TTS to bypass the proxy; if the main UI proxy box is filled in with an invalid address, clear it.
  3. Change the extreme parameter: the log shows 音量:+100%; set More Settings → Volume Adjustment back to +0% and retry, to rule out parameter-related rejection.
  4. Before retrying, check Clear Output on the main UI, otherwise the previously generated empty/failed cache will be reused.
  5. If it still fails, it means the free Edge interface is currently unavailable in your network environment; switch the TTS channel (for example gTTS (Free), Piper (Built-in), or a channel with an API key) to confirm it is not an issue with the other stages of the software.

Note: the v4.16/v4.17 fix for the Edge-TTS 403 applies to source deployments (uv add git+https://github.com/rany2/edge-tts.git); you are running the frozen v4.17 package, so the edgetts-noproxy.txt and concurrency/delay settings above are the measures available to you.

Please refer to the related documentation:

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