#4948 TaskCfgVTT(uuid='a4f381e489', name='D:/videoplayback.mp4', dirname='D:/', noextname='videoplayback', basename='videoplay

58.213* Posted at: 2 hours ago

File model.bin is incomplete: failed to read a buffer of size 9830400 at position 1286085435,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 9830400 at position 1286085435
语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: 微软(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 322, in recogn
File "videotrans\recognition\__init__.py", line 190, in run
File "videotrans\recognition\_base.py", line 94, in run
File "videotrans\recognition\_whisper.py", line 36, in _exec
File "videotrans\recognition\_whisper.py", line 109, in _faster
File "videotrans\configure\base.py", line 253, in _new_process
videotrans.configure.excepts.VideoTransError: File model.bin is incomplete: failed to read a buffer of size 9830400 at position 1286085435,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 9830400 at position 1286085435
TaskCfgVTT(uuid='a4f381e489', name='D:/videoplayback.mp4', dirname='D:/', noextname='videoplayback', basename='videoplayback.mp4', ext='mp4', target_dir='D:/_video_out/videoplayback-mp4', cache_folder='H:/pyvideotrans-/tmp/31120/a4f381e489', is_cuda=False, source_language='英语', source_language_code='en', source_sub='D:/_video_out/videoplayback-mp4/en.srt', source_wav='H:/pyvideotrans-/tmp/31120/a4f381e489/en.wav', source_wav_output='D:/_video_out/videoplayback-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/_video_out/videoplayback-mp4/zh-cn.srt', target_wav='H:/pyvideotrans-/tmp/31120/a4f381e489/target.wav', target_wav_output='D:/_video_out/videoplayback-mp4/zh-cn.m4a', translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/_video_out/videoplayback-mp4/videoplayback.mp4', novoice_mp4='H:/pyvideotrans-/tmp/31120/a4f381e489/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='H:/pyvideotrans-/tmp/31120/a4f381e489/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:H:/pyvideotrans-

1 Replies

这是由于 faster-whisper 的模型文件(model.bin)下载不完整或损坏导致的。

解决方法(任选其一):

  1. 让软件自动重新下载

    • 找到软件根目录下的 models/models--Systran--faster-whisper-large-v3-turbo 文件夹(如果是 large-v3-turbo 模型),删除整个文件夹。
    • 重启软件,再次执行任务,程序会自动重新下载模型。
  2. 手动下载模型并放置

    • 从国内镜像站(如 hf-mirror.com)手动下载 Systran/faster-whisper-large-v3-turbo 完整模型。
    • 将文件夹命名为 models--Systran--faster-whisper-large-v3-turbo,放入软件根目录的 models/ 文件夹内。
  3. 检查网络代理

    • 如果你在中国内地且没有配置代理,模型下载可能被阻断导致文件不完整。请设置正确的网络代理地址(如 http://127.0.0.1:7890)后重试。
  4. 更换小模型

    • 如果显存或网络条件有限,可以尝试改用 mediumsmall 等更小的模型,在“语音识别”下拉框中选择即可。

请查阅相关文档:

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: ko-fi.com/jianchang512

Related resource