#3467 TaskCfgSTT(is_cuda=True, uuid='a403c9e308', cache_folder='D:/win-pyvideotrans-v3.97-0304/tmp/6520/a403c9e308', target_di

27.210* Posted at: 10 hours ago 👁10

语音识别阶段出错 [Faster-Whisper-XXL.exe] 当前Faster-Whisper-XXL无法在打包版中使用,请源码部署或单独使用Faster-Whisper-XXL转录
Traceback (most recent call last):
File "videotrans\configure\_base.py", line 85, in _external_cmd_with_wrapper
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['D:/Faster-Whisper-XXL/faster-whisper-xxl.exe', 'D:/win-pyvideotrans-v3.97-0304/tmp/6520/a403c9e308/G.怪物史莱克3-1772683892.1587224.wav', '-pp', '-f', 'srt', '-l', 'en', '--model', 'medium.en', '--output_dir', 'D:/win-pyvideotrans-v3.97-0304/output/recogn']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\_speech2text.py", line 109, in recogn
File "videotrans\configure\_base.py", line 89, in _external_cmd_with_wrapper
RuntimeError: 当前Faster-Whisper-XXL无法在打包版中使用,请源码部署或单独使用Faster-Whisper-XXL转录
TaskCfgSTT(is_cuda=True, uuid='a403c9e308', cache_folder='D:/win-pyvideotrans-v3.97-0304/tmp/6520/a403c9e308', target_dir='D:/win-pyvideotrans-v3.97-0304/output/recogn', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='D:/win-pyvideotrans-v3.97-0304/output/recogn/G.怪物史莱克3.srt', target_wav=None, target_wav_output=None, name='F:/声音转/电影/G.怪物史莱克3.mp4', noextname='G.怪物史莱克3', basename='G.怪物史莱克3.mp4', ext='mp4', dirname='F:/声音转/电影', shound_del_name=None, detect_language='en', recogn_type=14, model_name='medium.en', shibie_audio='D:/win-pyvideotrans-v3.97-0304/tmp/6520/a403c9e308/G.怪物史莱克3-1772683892.1587224.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.97
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.97-0304

1 Replies

错误原因是您在使用 Windows 预打包版(.exe)软件时,选择了无法在该版本中运行的“Faster-Whisper-XXL.exe”语音识别渠道。

根据知识库,Faster-Whisper-XXL.exe 是一个独立的命令行工具,无法集成在预打包版中。错误信息明确指出:“当前Faster-Whisper-XXL无法在打包版中使用,请源码部署或单独使用Faster-Whisper-XXL转录”。

解决方案:

  1. 立即解决方案(推荐):在软件主界面的“语音识别”行,将渠道从 Faster-Whisper-XXL.exe 切换为其他可用的本地识别渠道,例如:

    • faster-whisper(本地):这是软件内置的、与打包版兼容的 Faster-Whisper 实现,效果相同。
    • openai-whisper(本地):OpenAI 原版 Whisper 的本地实现。
  2. 替代方案:如果您必须使用 Faster-Whisper-XXL.exe 这个特定工具,则需要放弃预打包版,改为按照【知识库 2.2 节】的说明进行源码部署(使用 uv 管理 Python 环境)。
  3. 单独使用:也可以完全脱离 pyVideoTrans,单独下载并使用 Faster-Whisper-XXL.exe 命令行工具来转录音频/视频,生成 SRT 字幕文件后,再将其导入 pyVideoTrans 进行后续的翻译和配音步骤。

请查阅相关文档:

Post Your Reply
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.

Related resource