#6778 语音识别阶段出错[faster-whisper(内置)] [Errno 28] No space left on device:Traceback (most recent call last): File

113.128.**5 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] [Errno 28] No space left on device:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 205, in faster_whisper
File "pathlib.py", line 1155, in write_text
OSError: [Errno 28] No space left on device

Traceback (most recent call last):

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

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

File "videotrans\task\_stage_recogn.py", line 63, in recogn

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

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

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

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

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

videotrans.configure.excepts.VideoTransError: [Errno 28] No space left on device:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 205, in faster_whisper
File "pathlib.py", line 1155, in write_text
OSError: [Errno 28] No space left on device
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 29.97002997002997, 'r_frame_rate': 29.97002997002997, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1280, 'height': 720, 'time': 2098396, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: D:/123downloads/情绪/10-Experts in Emotion 4.2 -- Paul Ekman on Universality of Emotion.mp4,
输出结果保存到文件夹: D:/123downloads/_video_out/情绪/10-Experts in Emotion 4.2 -- Paul Ekman on Universality of Emotion-mp4,
临时文件夹: D:/sp/tmp/15340/e8f76d11d9
未选 清理已存在
已启用CUDA加速
未选 降噪
已选 识别说话人,最大说话人数量7
语音识别:faster-whisper(内置), large-v3, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 已选 二次语音识别
音量:+0%, 语速:+20%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入硬字幕
已选 仅输出mp4


=
system:Windows-10-10.0.26200-SP0
version:v4.10
frozen:True
language:zh
root_dir:D:/sp

1 Replies

#1 DeepSeek reply at 1 hour ago

这是磁盘空间不足导致的错误(No space left on device),在语音识别阶段写临时文件/字幕文件时磁盘已满,与翻译渠道、CUDA 无关。

你的软件、临时目录(D:/sp/tmp/...)和输出目录(D:/123downloads/_video_out/...)都位于 D 盘,说明 D 盘可用空间已耗尽。

解决方案:

  1. 检查 D 盘剩余空间:打开"此电脑"确认 D 盘是否已满。语音识别 large-v3 模型约 3GB,加上 35 分钟视频的临时缓存、说话人分离数据、最终输出视频,建议至少保持 20GB 以上可用空间。
  2. 清理软件临时文件:进入软件根目录下的 tmp/ 文件夹,安全清空里面的全部临时切片和缓存(任务异常中断时这些文件不会被自动清理)。
  3. 删除 D 盘无用大文件、回收站、系统临时文件,释放足够空间。
  4. 若之前处理过同一视频且未勾选"清理已生成",输出文件夹可能已累积大量旧字幕/音频文件,可手动删除 D:/123downloads/_video_out/ 下该视频对应的历史输出文件夹,或下次勾选"清理已生成"。
  5. 确认 large-v3 模型已完整下载(若上次模型下载中断也会残留大文件),释放空间后重新运行。

另外提示:你的视频路径包含中文目录且文件名很长,也可能引发后续 FFmpeg 路径超长等问题,建议将视频移动到浅层纯英文目录(如 D:/videos/10-Experts.mp4)再处理。

请查阅相关文档:

Thinking...
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

Related resource