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 { CaptionWordPop } from '@/components/remocn/caption-word-pop';const captions: Caption[] = [ { text: ' Every', startMs: 0, endMs: 400, timestampMs: 200, confidence: 0.98 }, { text: ' word', startMs: 400, endMs: 800, timestampMs: 600, confidence: 0.97 }, { text: ' pops', startMs: 800, endMs: 1200, timestampMs: 1000, confidence: 0.96 }, { text: ' in', startMs: 1200, endMs: 1500, timestampMs: 1350, confidence: 0.98 }, { text: ' as', startMs: 1500, endMs: 1800, timestampMs: 1650, confidence: 0.95 }, { text: ' it', startMs: 1800, endMs: 2100, timestampMs: 1950, confidence: 0.97 }, { text: ' is', startMs: 2100, endMs: 2400, timestampMs: 2250, confidence: 0.96 }, { text: ' spoken.', startMs: 2400, endMs: 3000, timestampMs: 2700, confidence: 0.98 },];function Scene({ captions }: { captions: Caption[] }) { return ( <div className='flex h-full w-full items-center justify-center bg-neutral-900 p-6'> <CaptionWordPop captions={captions} fontSize={72} /> </div> );}export default function CaptionWordPopDemo() { return ( <div className='w-full max-w-lg overflow-hidden rounded-xl'> <Player component={Scene} inputProps={{ captions }} durationInFrames={90} fps={30} compositionWidth={720} compositionHeight={405} style={{ width: '100%', aspectRatio: '16 / 9' }} controls={false} loop autoPlay /> </div> );}