#5739 语音识别阶段出错[faster-whisper(本地内置)] Subprocess Error: [WinError 1455] 页面文件太小,无法完成操作。Traceback (most recent call last):

240e:3b4* Posted at: 4 days ago

语音识别阶段出错[faster-whisper(本地内置)] Subprocess Error: [WinError 1455] 页面文件太小,无法完成操作。
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 100, in process_task

File "videotrans\task\trans_create.py", line 319, in recogn

File "videotrans\recognition\__init__.py", line 191, in run

File "videotrans\recognition\_base.py", line 90, in run

File "videotrans\recognition\_whisper.py", line 38, in _exec

File "videotrans\recognition\_whisper.py", line 124, in _faster

File "videotrans\configure\base.py", line 272, in _new_process

videotrans.configure.excepts.VideoTransError: Subprocess Error: [WinError 1455] 页面文件太小,无法完成操作。
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: D:/Desktop/饰品/意大利/美区饰品素材/7.9.4.mp4,
输出结果保存到文件夹: D:/Desktop/饰品/意大利/已翻译素材/7.9/7.9.4-mp4,
临时文件夹: D:/soft/trans/win-pyvideotrans-v4.03-0626/tmp/14480/fc88b4c837
未选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:意大利语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Isabella(Female/IT), 配音语言:意大利语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕
已选 分离人声与背景声,存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/soft/trans/win-pyvideotrans-v4.03-0626

1 Replies

这是由于在 CPU(未启用 CUDA)模式下运行 large-v3-turbo 模型时,系统虚拟内存(页面文件)不足导致的内存分配失败。

解决方法(任选其一):

  1. 增大 Windows 虚拟内存

    • 右键“此电脑” → 属性 → 高级系统设置 → 高级 → 性能设置 → 高级 → 虚拟内存更改。
    • 取消“自动管理”,选择安装软件所在的盘(通常是C盘或D盘),将“自定义大小”的初始和最大值均设为 32768 MB(32GB) 以上,点击“设置”并重启电脑。
  2. 降低模型尺寸(最直接)
    在主界面 ASR Channel 中,将 large-v3-turbo 改为 mediumsmall,这些模型对内存要求更低。
  3. 启用 CUDA 加速(推荐,如果你有 NVIDIA 显卡)
    安装 CUDA 12.8+ 和 cuDNN 9.11+ 后,勾选主界面“CUDA加速”选项,可将大模型运算转移到显存,避免内存不足。
  4. 关闭其他占用内存的程序,确保可用物理内存 ≥ 8GB(CPU 模式运行 large-v3-turbo 建议至少 16GB 物理内存)。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource