Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Player } from "@remotion/player"import type { Caption } from "@remotion/captions"import { CaptionTypewriter } from "@/components/remocn/caption-typewriter"const captions: Caption[] = [ { text: " Every", startMs: 0, endMs: 400, timestampMs: null, confidence: null }, { text: " word", startMs: 400, endMs: 800, timestampMs: null, confidence: null }, { text: " types", startMs: 800, endMs: 1200, timestampMs: null, confidence: null }, { text: " out", startMs: 1200, endMs: 1500, timestampMs: null, confidence: null }, { text: " as", startMs: 1500, endMs: 1750, timestampMs: null, confidence: null }, { text: " it", startMs: 1750, endMs: 2000, timestampMs: null, confidence: null }, { text: " is", startMs: 2000, endMs: 2250, timestampMs: null, confidence: null }, { text: " spoken.", startMs: 2250, endMs: 2900, timestampMs: null, confidence: null },]function Subtitle({ captions }: { captions: Caption[] }) { return ( <div className="flex h-full w-full items-center justify-center"> <CaptionTypewriter captions={captions} fontSize={40} color="#0f172a" shadow={false} /> </div> )}export default function CaptionTypewriterDemo() { return ( <div className="w-full max-w-lg"> <Player component={Subtitle} inputProps={{ captions }} durationInFrames={90} fps={30} compositionWidth={720} compositionHeight={240} style={{ width: "100%" }} autoPlay loop controls={false} /> </div> )}