Skip to content

v3.1.8

Choose a tag to compare

@github-actions github-actions released this 18 Jul 05:50
· 5 commits to main since this release

修复

  • 本地 Whisper:修复在未安装 Microsoft Visual C++ 运行库的电脑(常见于新装机)上,本地转录和 VAD 全部以退出码 3221225781 失败的问题。内置的 whisper.cpp 二进制(v1.8.8)改为静态链接运行时,不再依赖 VC++ 运行库;如果二进制仍无法启动,MioSub 会给出带 vc_redist 下载链接的明确提示(而非原始退出码),并在二进制更新检查中主动提供替换下载(修复 MIOSUB-7J、MIOSUB-7K)。
  • 本地 Whisper:恢复内置 whisper.cpp 的 --version 参数(v1.8.7 版本中意外丢失),版本检测和更新检查恢复正常。能正常运行但无法报告版本号的二进制现在会收到更新提示,而不再永远停留在「未知版本」。
  • 生成管线:在解析边界校验 LLM 返回的 JSON 字段类型——第三方中转返回的畸形术语表条目(嵌套对象)和非字符串说话人名称不会再导致术语表合并、编辑器渲染或字幕导出崩溃;旧版本已持久化的损坏术语表会在加载时自动清理(修复 MIOSUB-76、MIOSUB-6Y、MIOSUB-78、MIOSUB-79)。

Fixes

  • Whisper (Local): Fix all local transcription and VAD failing with cryptic exit code 3221225781 on machines without the Microsoft Visual C++ runtime (typically brand-new PCs). The bundled whisper.cpp binaries (v1.8.8) are now built with the static runtime and no longer require the VC++ Redistributable. If a binary still cannot load, MioSub shows an actionable message with the vc_redist download link instead of a raw exit code, and the binary updater now offers a replacement download for this case instead of staying silent (Fixes MIOSUB-7J, MIOSUB-7K).
  • Whisper (Local): Restore the --version flag in the bundled whisper.cpp build (lost in v1.8.7), so version detection and update checks work again. Binaries that run fine but cannot report a version are now offered an update instead of being stuck on "unknown" forever.
  • Pipeline: Validate LLM JSON field types at the parse boundary — malformed glossary terms (nested objects) and non-string speaker names returned by third-party proxies no longer crash the glossary merger, the editor, or subtitle export; corrupted glossaries persisted by earlier versions are cleaned up on load (Fixes MIOSUB-76, MIOSUB-6Y, MIOSUB-78, MIOSUB-79).