#8725 Not Found:Traceback (most recent call last):

156.229**7 Posted at: 1 hour ago

Not Found:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 21, in run
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_openairecognapi.py", line 39, in _exec
File "videotrans\recognition\_openairecognapi.py", line 99, in _thrid_api
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\audio\transcriptions.py", line 485, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.NotFoundError: Error code: 404 - {'error': {'message': 'Not Found', 'code': 404}}


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/Program Files (x86)/pyvideotrans4.14

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 API 地址错误,或者所用服务不支持 OpenAI 语音识别端点导致的。报错位置在 _openairecognapi.py 调用 audio.transcriptions.create,服务端对该请求路径返回 404,说明你请求的转写接口 /v1/audio/transcriptions 在该服务器上不存在。

排查与解决:

  1. 打开 菜单 → 翻译设置 → OpenAI 语音识别,检查 API 地址:官方应填 https://api.openai.com/v1,只填到 /v1,不要带 /audio/transcriptions、/chat/completions 等后缀,也不要填网页版地址。
  2. 确认你用的中转或聚合平台确实开放了 音频转写(audio/transcriptions) 端点。大量中转站只代理 chat 接口,而语音识别转写接口会直接返回 404。
  3. 核对模型名称,使用的是该服务实际支持的转写模型(官方常见为 whisper-1;部分中转只认特定命名)。
  4. 若确认地址与模型都正确仍报 404,请更换渠道:中文推荐 阿里百炼 Qwen3-ASR、字节语音识别大模型极速版 或本地 faster-whisper(内置)。

另外需要提醒:你的安装路径 D:/Program Files (x86)/pyvideotrans4.14 含空格、括号且位于系统受限目录,极易引发 ffmpeg 调用和文件写入类报错,建议整体移动到 D:/pyvideotrans 这类简短纯英文路径后再使用。

请查阅相关文档:

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