#8257 Dubbing failed{

94.237**0 Posted at: 1 hour ago

Dubbing failed{"detail":"Not Found"}
self.api_url='http://127.0.0.1:9874/tts'
self.model_name=''
self=[GPTSoVITS]: uuid='091603ddbc', proxy_str=None, tts_type=13, len=65, language='ru', play=False, volume='+100%', pitch='+0Hz', rate='+0%', speed=1.0, has_done=0, wait_sec=1.0, dub_nums=1, error='{"detail":"Not Found"}\nself.api_url=\'http://127.0.0.1:9874/tts\'', api_url='http://127.0.0.1:9874/tts', is_cuda=True, local_dir=None, is_redubb=False, model_name='', ainame=None
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 108, 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 132, in run
File "videotrans\tts\_base.py", line 140, in run
videotrans.configure.excepts.DubbingSrtError: Dubbing failed{"detail":"Not Found"}
self.api_url='http://127.0.0.1:9874/tts'
self.model_name=''
self=[GPTSoVITS]: uuid='091603ddbc', proxy_str=None, tts_type=13, len=65, language='ru', play=False, volume='+100%', pitch='+0Hz', rate='+0%', speed=1.0, has_done=0, wait_sec=1.0, dub_nums=1, error='{"detail":"Not Found"}\nself.api_url=\'http://127.0.0.1:9874/tts\'', api_url='http://127.0.0.1:9874/tts', is_cuda=True, local_dir=None, is_redubb=False, model_name='', ainame=None

trk=[TransCreate]: uuid='091603ddbc', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/2_УРОКИ ПО FotoFusion/00_НЕЙРОСЕТЬ/000_Capture One Pro/000_Курс «Захвати одного эксперта»/videos/Solution to Image Editing Practice 9.mp4,
输出结果保存到文件夹: D:/2_УРОКИ ПО FotoFusion/00_НЕЙРОСЕТЬ/000_Capture One Pro/000_Курс «Захвати одного эксперта»/Lesson RU/Solution to Image Editing Practice 9-mp4,
临时文件夹: D:/pyVideoTrans/tmp/4128/091603ddbc
已选 清理已存在
已启用CUDA加速
未选 降噪
已选 识别说话人,最大说话人数量不限制
Сервис STT (распознавание):faster-whisper(Built-in), large-v3-turbo, 发音语言: en, LLM纠错
Канал перевода:DeepSeek,原始语言:en,目标语言:ru, 已选 Отправить полный SRT
Канал озвучки (TTS):GPT-SoVITS(LocalAPI), 角色:clone, 配音语言:ru, 未选 二次语音识别
音量:+100%, 语速:+0%, 已选 音频加速, 已选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: nosubtitle , precent=18, 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=437560


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

1 Replies

#1 DeepSeek reply at 1 hour ago

Cause: HTTP 404 {"detail":"Not Found"} means the server at 127.0.0.1:9874 is running and answering, but there is no matching API route at the address used. This is an endpoint/address mismatch, not a model or audio error.

Check in order:

  1. Check the URL field: open Menu → TTS Settings → GPT-SoVITS, and enter only the base address without the endpoint suffix, e.g. http://127.0.0.1:9874. If you enter http://127.0.0.1:9874/tts, some builds will request /tts/tts and get 404. If the base address still returns 404, try the full .../tts instead (test both).
  2. Confirm which program is on port 9874: open http://127.0.0.1:9874/docs in a browser. If it opens, check whether /tts is listed among the routes. If it doesn't open, or the port belongs to another program, that is the real problem.
  3. Confirm you launched GPT-SoVITS api.py (API service), NOT webui.py (default 7860). Port 9874 is non-default; verify the port actually printed by api.py console.
  4. Check the api_v2 option for consistency: if you started api.py with the -a flag (api_v2), you must tick api_v2 in the software settings; if you started it without -a, you must leave it unticked. A mismatch gives 404/405.
  5. Language capability problem (must fix): GPT-SoVITS only supports Chinese, English, Japanese, Korean, and Cantonese. Your target language is ru (Russian), which GPT-SoVITS cannot synthesize. Even after fixing the URL, dubbing will fail or produce garbage. Switch the TTS channel to a channel that supports Russian, e.g. OmniVoice-TTS, Qwen3-TTS, Confucius-TTS, Chatterbox, CosyVoice, or audio.cpp, or simply use Edge-TTS(free) for testing.

Please see 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