Advanced
Captions
Caption pipeline from JSON to TikTok-style pages.
Captions
RemotionUI caption components expect captions in Remotion's Caption format.
Install
npx remotion-ui add caption-sceneThis installs @remotion/captions and caption-utils.
Pipeline
- Transcribe audio to captions JSON (Whisper, SRT import, or manual)
- Load captions with
useDelayRenderwhile fetching - Group into pages with
groupCaptionsIntoPages()fromcaption-utils - Render with
CaptionSceneorCaptionHighlight
Example
import { CaptionScene } from "@/remotion/scenes/caption-scene";
import captions from "./captions.json";
<CaptionScene captions={captions} />;See caption-scene for the full API.