Skip to content

v0.4.2 — 字幕可读性:语义断行 + 防闪烁

Choose a tag to compare

@xixihhhh xixihhhh released this 05 Jul 12:39

字幕质量 / Caption quality

短视频字幕的「最后一公里」打磨——两处让自动字幕更像人工精修、更耐看。

语义断行(免 Key)/ Semantic line-breaking (keyless)

字幕不再按固定字数「拦腰截断」。顺着本地 ASR 标点模型标出的逗号/顿号在真实子句处换行;长句里没有标点时,再回看到最近的结构助词(的/了/着/过/地/得…)断,让「十几块的 / 到底有什么区别」这样的短语保持完整,而不是切成「…的到 / 底…」。等价于头部项目用 LLM 插 [br] 的效果,但用的是本地已有的标点信号——零额外模型调用、不需要云端 Key、每条片子都生效。

Captions now break at real clause boundaries: at ASR-detected commas, and — for long comma-free clauses — backed up to the nearest Chinese structural particle so phrases stay intact. Same intent as an LLM-inserted [br], but from the local punctuation signal: no extra model call, no cloud key.

防闪烁 / Anti-flicker

默认的卡拉OK/关键词字幕此前在每次行切换时会闪一帧空白(上一行在最后一个字结束时立刻消失,下一行还没到)。现在每行会保持到下一行开始再消失,连续语音之间不再有空帧闪烁;超过 0.8s 的真实停顿仍会正常清屏。气泡特效字幕也统一了同一行为。

The default karaoke / keyword captions flashed a blank frame on every line change. Each line now holds until the next one begins, so continuous speech never flickers; a genuine pause (>0.8s) still clears the caption. The bubble overlay was unified to the same behavior.


本地处理 · 免 Key · 无水印。All local · no key · no watermark.