#7638 VieNeu: RuntimeError: Audio rỗng hoặc lỗi ở đoạn 11.Traceback (most recent call last):

2402**a5d4 Posted at: 2 hours ago

VieNeu: RuntimeError: Audio rỗng hoặc lỗi ở đoạn 11.
Traceback (most recent call last):
File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\task\only_one.py", line 107, in run

trk.dubbing()

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\task\_stage_dubbing.py", line 24, in dubbing

self._tts()

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\task\_stage_dubbing.py", line 101, in _tts

run_tts(

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\tts\__init__.py", line 130, in run

run(**dict(kwargs, queue_tts=local_queue, tts_type=VIENEU_TTS,

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\tts\__init__.py", line 142, in run

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

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\tts\_base.py", line 96, in run

self._exec()

File "F:\LONG-TIENG\01-pyVideoTrans\source\videotrans\tts\_vieneu.py", line 86, in _exec

raise DubbingSrtError('VieNeu: ' + state['error'])

videotrans.configure.excepts.DubbingSrtError: VieNeu: RuntimeError: Audio rỗng hoặc lỗi ở đoạn 11.

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/AD/Desktop/long tieng/1790449943143_5510929978199692057_5510929978199692057.mp4,
输出结果保存到文件夹: C:/Users/AD/Desktop/long tieng/_video_out/1790449943143_5510929978199692057_5510929978199692057-mp4,
临时文件夹: F:/LONG-TIENG/01-pyVideoTrans/source/tmp/14816/3928dea24b
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:openai-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Google Translate (Free),原始语言:Simplified Chinese,目标语言:Vietnamese, 已选 SendSRT
TTS Service:Edge-TTS + VieNeu (Free/Local), 角色:Ngọc Huyền, 配音语言:Vietnamese, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Hard Subtitles
video_duration_ms=84520


=
system:Windows-10-10.0.26100-SP0
version:v4.14
frozen:False
language:en_US
root_dir:F:/LONG-TIENG/01-pyVideoTrans/source
Python: 3.10.20 (main, Apr 7 2026, 20:46:26) [MSC v.1944 64 bit (AMD64)]

1 Replies

#1 DeepSeek reply at 2 hours ago

The "VieNeu: RuntimeError: Audio rỗng hoặc lỗi ở đoạn 11" error (Vietnamese for "Audio is empty or error at segment 11") originates from the VieNeu TTS engine itself — it returned an empty/invalid audio result for subtitle line 11.

This is a TTS-side generation failure, not a pyVideoTrans bug.

Likely causes and fixes:

  1. Problematic text in that subtitle line — Line 11 may contain only punctuation, numbers, symbols, or a very short/empty string that VieNeu cannot synthesize.

    Open the translated SRT (in the output folder) and inspect line 11; edit it to normal text, then retry with Clear Output checked.
  2. VieNeu model/service issue — Since VieNeu is still unstable for some inputs, switch the TTS channel:

    • Primary recommendation: use Edge-TTS(Free) with a Vietnamese voice role, or Qwen-TTS / OmniVoice-TTS for better compatibility.
    • If you must keep VieNeu, retry — transient failures sometimes recover.
  3. Retry settings — Go to Menu → Tools/Options → Advanced Options → Dubbing, increase Retries after failure, and set Concurrent dubbing threads to 1 to avoid overload.
  4. Verify the reference/model if using clone.

    Since you selected the fixed role Ngọc Huyền, ensure that voice is properly loaded.

If the error persists on the same line after editing that subtitle text, please provide the full log from logs/ (latest file) and the content of subtitle line 11 so we can analyze further.

Please refer to the 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