#8330 [WinError 50] 不支持该请求。Traceback (most recent call last):

183.197**2 Posted at: 2 hours ago

[WinError 50] 不支持该请求。
Traceback (most recent call last):
File "videotrans\util\_ffprobe.py", line 20, in _run_ffprobe_internal
File "subprocess.py", line 503, in run
File "subprocess.py", line 971, in init
File "subprocess.py", line 1456, in _execute_child
OSError: [WinError 50] 不支持该请求。

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 68, in run
File "videotrans\task\_stage_prepare.py", line 22, in prepare
File "videotrans\util\_ffprobe.py", line 52, in get_video_info
File "videotrans\util\_ffprobe.py", line 41, in runffprobe
File "videotrans\util\_ffprobe.py", line 37, in _run_ffprobe_internal
videotrans.configure.excepts.FFmpegError: [WinError 50] 不支持该请求。

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/9 - Godot 4.7 - Game 2 Rocket Lander/2 - Setup.mp4,
输出结果保存到文件夹: D:/9 - Godot 4.7 - Game 2 Rocket Lander/_video_out/2 - Setup-mp4,
临时文件夹: D:/Program Files (x86)/sp4.12/tmp/9200/47f7fe129e
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:OpenAI ChatGPT,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Index-TTS(本地API), 角色:NanSheng.wav, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕(双) 目标语言在上双字幕


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

1 Replies

#1 DeepSeek reply at 2 hours ago

这是软件安装路径和视频路径不规范导致的权限/路径解析问题。WinError 50 发生在调用 ffprobe 子进程时,核心原因有两个:

原因一(主因):软件安装在受权限限制的目录
你的软件位于 D:/Program Files (x86)/sp4.12。Program Files 系列目录受 Windows 系统权限严格限制,普通权限下子进程无法正常读取/写入,导致 ffprobe 调用被拒绝。

原因二:视频路径含空格及特殊字符
你的视频路径为 D:/9 - Godot 4.7 - Game 2 Rocket Lander/2 - Setup.mp4,含大量空格、数字点号等,在拼接 ffmpeg/ffprobe 命令行时易产生解析异常。


解决步骤:

  1. 移动软件到简单英文路径(必须操作)
    将整个 sp4.12 文件夹剪切到类似 D:\pyVideoTrans 这样的路径下,路径中不得包含空格、中文、括号。
    若无法移动,请右键 sp.exe → 以管理员身份运行(治标不治本,仍建议移动)。
  2. 跳转软件内的 ffmpeg 路径:移动后,请确认 软件目录/ffmpeg/ 下存在 ffmpeg.exe 和 ffprobe.exe。
  3. 规范视频文件名:将视频重命名为简单英文数字,如 game2.mp4;同时把视频放到浅层目录如 D:\videos\ 下,避免多层含空格文件夹。
  4. 重新打开软件,导入重命名后的视频重试。

请查阅相关文档:

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