#5017 TaskCfgVTT(uuid='4f84a2790c', name='E:/培训素材导出/6月3日带字幕翻译版本/6月3日带字幕翻译版本.mp4', dirname='E:/培训素材导出/6月3日带字幕翻译版本', noextname='

74.244* Posted at: 12 hours ago

File model.bin is incomplete: failed to read a buffer of size 13107200 at position 1036831938,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 13107200 at position 1036831938
语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: Google(免费), 配音阶段出错: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 13107200 at position 1036831938,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 13107200 at position 1036831938
TaskCfgVTT(uuid='4f84a2790c', name='E:/培训素材导出/6月3日带字幕翻译版本/6月3日带字幕翻译版本.mp4', dirname='E:/培训素材导出/6月3日带字幕翻译版本', noextname='6月3日带字幕翻译版本', basename='6月3日带字幕翻译版本.mp4', ext='mp4', target_dir='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4', cache_folder='E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/24868/4f84a2790c', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4/zh-cn.srt', source_wav='E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/24868/4f84a2790c/zh-cn.wav', source_wav_output='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4/en.srt', target_wav='E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/24868/4f84a2790c/target.wav', target_wav_output='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4/en.m4a', translate_type=0, 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='zh-cn', 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='E:/培训素材导出/6月3日带字幕翻译版本/_video_out/6月3日带字幕翻译版本-mp4/6月3日带字幕翻译版本.mp4', novoice_mp4='E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/24868/4f84a2790c/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/24868/4f84a2790c/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.26200-SP0
version:v4.01
frozen:True
language:zh
root_dir:E:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602

1 Replies

模型文件 model.bin 下载不完整或已损坏,导致 faster-whisper 无法读取。

解决方案

  1. 删除 models 目录下对应的模型文件夹(例如 models--Systran--faster-whisper-large-v3-turbo),然后重新启动软件让程序自动重新下载。
  2. 如果自动下载仍失败(国内网络限制),请手动下载:

  3. 如果问题仍然存在,可临时切换为更小的模型(如 basesmall)以验证是否是模型文件问题。

请查阅相关文档:

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