#1606 TaskCfg(cache_folder='D:/gogogo/win-pyvideotrans-v3.86/tmp17292/speech2text', target_dir='D:/gogogo/win-pyvideotrans-v3.

183.229* Posted at: 8 hours ago 👁13

语音识别阶段出错:[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 524, in run
subprocess.CalledProcessError: Command '['C:/Users/V/AppData/Roaming/PotPlayerMini64/Engine/Faster-Whisper-XXL/faster-whisper-xxl.exe', 'D:/gogogo/win-pyvideotrans-v3.86/tmp17292/speech2text/1123-1764010884.8551953.wav', '-pp', '-f', 'srt', '-l', 'en', '--initial_prompt', 'Add punctuation at the end of each line, and punctuation at the end of each sentence.', '--model', 'large-v3-turbo', '--output_dir', 'D:/gogogo/win-pyvideotrans-v3.86/output/recogn']' returned non-zero exit status 3221225786.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\_speech2text.py", line 96, in recogn
File "videotrans\configure\_base.py", line 89, in _external_cmd_with_wrapper
RuntimeError: 当前Faster-Whisper-XXL无法在打包版中使用,请源码部署或单独使用Faster-Whisper-XXL转录

TaskCfg(cache_folder='D:/gogogo/win-pyvideotrans-v3.86/tmp17292/speech2text', target_dir='D:/gogogo/win-pyvideotrans-v3.86/output/recogn', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='D:/gogogo/win-pyvideotrans-v3.86/output/recogn/1123.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='1123', shibie_audio='D:/gogogo/win-pyvideotrans-v3.86/tmp17292/speech2text/1123-1764010884.8551953.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=12, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/V/Desktop/1123.mp4', basename='1123.mp4', ext='mp4', dirname='C:/Users/V/Desktop', shound_del_name=None, uuid='4a2fef16e4', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, auto_fix=True)


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

1 Replies

错误明确显示:您试图在打包版中使用外部的 Faster-Whisper-XXL.exe,但该功能在打包版中不可用。错误码 3221225786 通常表示程序无法启动或崩溃。

解决方案:

  1. (推荐)切换回内置的 faster-whisper

    • 在主界面的“语音识别”区域,将识别模型从 Faster-Whisper-XXL 切换为 faster-whisper(本地)
    • 然后在右侧的模型下拉菜单中选择一个标准模型,例如 large-v3large-v3-turbo 是 Faster-Whisper-XXL 的专属模型,内置的 faster-whisper 不支持。
  2. (备选)使用其他识别方式

    • 如果您必须使用 Faster-Whisper-XXL,请按照错误提示,采用源码方式部署 pyVideoTrans,或者单独使用 Faster-Whisper-XXL 工具完成语音转录后,再将生成的 SRT 字幕文件导入 pyVideoTrans 进行后续的翻译和配音。

根本原因:
打包版(.exe)是一个封闭的环境,无法可靠地调用外部的、独立安装的可执行程序(如 Faster-Whisper-XXL.exe)。软件内置的 faster-whisper(本地) 是纯 Python 库版本,与打包环境兼容。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions