text.caption-word-highlight
字幕逐词高亮
Caption Word Highlight
Live preview
真实渲染预览
Purpose
这个动效用来做什么
单组字幕整体进入后,指定词按确定时序获得标记高亮并稳定停留。
A single caption group enters, then one selected word receives a deterministic marker highlight.
- 范围
- 效果
- 复杂度
- 进阶
- 建议时长
- 3s
- 画幅
- 16:9 · 9:16
Inputs
可替换参数
text必填 · stringOne caption group split on spaces.
- 默认值
Recipes make motion portable
highlight_index可选 · integerZero-based word index to emphasize.
- 默认值
2
highlight_style可选 · enumSemantic visual treatment for the selected word.
- 默认值
marker
Motion timeline
归一化动作时间线
所有事件都使用 0 到 1 的归一化进度:0 是镜头开始,1 是镜头结束;事件可以重叠,适配器再把相同比例映射到秒或帧。
caption.fadeopacity.fade
0.06–0.22caption.risetransform.translate
0.06–0.30caption.staggercollection.stagger
0.10–0.52caption.highlighttext.highlight-word
0.50–0.74caption.holdstate.hold
0.74–1.00Copy to Agent
复制执行上下文
预览与引用使用同一个引擎选择。上下文保留共享机器标记与对应 Adapter 路由。
正在加载当前 Recipe 的上下文…
Engine implementations
引擎实现
gsap-timeline
已验证HyperFrames
- Composition
caption-word-highlight- 入口文件
index.html- 确定性
- 是
- lint通过
- validate通过
- inspect通过
- render通过
frame-based
已验证Remotion
- Composition
CaptionWordHighlight- 入口文件
CaptionWordHighlight.tsx- 确定性
- 是
- typecheck通过
- render通过
Source, reference & rights
来源与使用边界
- 再分发状态
- original
- 来源说明
- Self-authored Milestone C1 test recipe.
- Recipe 文件
recipes/text/caption-word-highlight/recipe.yaml
参考
- Original Milestone C1 verification composition original
Verification
验收标准
one-groupExactly one caption group is visible.
word-orderWord entrance order matches the input text.
highlight-fitThe marker remains bound to the selected word without clipping or shifting the line.
2 个实现已通过真实渲染理解验证模型