text.caption-word-highlight

字幕逐词高亮

Caption Word Highlight

仅本次打开有效
01
Live preview

真实渲染预览

查看引用 ↓
实机渲染 · Remotion
02
Purpose

这个动效用来做什么

单组字幕整体进入后,指定词按确定时序获得标记高亮并稳定停留。

A single caption group enters, then one selected word receives a deterministic marker highlight.

范围
效果
复杂度
进阶
建议时长
3s
画幅
16:9 · 9:16
文字
强调解释
社交短视频教程教育
03
Inputs

可替换参数

text必填 · string

One caption group split on spaces.

默认值
Recipes make motion portable
highlight_index可选 · integer

Zero-based word index to emphasize.

默认值
2
highlight_style可选 · enum

Semantic visual treatment for the selected word.

默认值
marker
04
Motion timeline

归一化动作时间线

所有事件都使用 0 到 1 的归一化进度:0 是镜头开始,1 是镜头结束;事件可以重叠,适配器再把相同比例映射到秒或帧。

caption.fadeopacity.fade
0.06–0.22
caption.risetransform.translate
0.06–0.30
caption.staggercollection.stagger
0.10–0.52
caption.highlighttext.highlight-word
0.50–0.74
caption.holdstate.hold
0.74–1.00
05
Copy to Agent

复制执行上下文

预览与引用使用同一个引擎选择。上下文保留共享机器标记与对应 Adapter 路由。

正在加载当前 Recipe 的上下文…
06
Engine implementations

引擎实现

gsap-timeline

HyperFrames

已验证
Composition
caption-word-highlight
入口文件
index.html
确定性
是
  • lint通过
  • validate通过
  • inspect通过
  • render通过
frame-based

Remotion

已验证
Composition
CaptionWordHighlight
入口文件
CaptionWordHighlight.tsx
确定性
是
  • typecheck通过
  • render通过
07
Source, reference & rights

来源与使用边界

再分发状态
original
来源说明
Self-authored Milestone C1 test recipe.
Recipe 文件
recipes/text/caption-word-highlight/recipe.yaml

参考

  • Original Milestone C1 verification composition original
08
Verification

验收标准

01
one-group

Exactly one caption group is visible.

02
word-order

Word entrance order matches the input text.

03
highlight-fit

The marker remains bound to the selected word without clipping or shifting the line.

2 个实现已通过真实渲染理解验证模型