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 type { Caption } from '@remotion/captions';import { AbsoluteFill } from 'remotion';import { Player } from '@remotion/player';import { CaptionTeleprompter } from '@/components/remocn/caption-teleprompter';const captions: Caption[] = [ { text: ' Welcome', startMs: 0, endMs: 400, timestampMs: 200, confidence: null }, { text: ' back', startMs: 400, endMs: 700, timestampMs: 550, confidence: null }, { text: ' to', startMs: 700, endMs: 900, timestampMs: 800, confidence: null }, { text: ' the', startMs: 900, endMs: 1100, timestampMs: 1000, confidence: null }, { text: ' studio.', startMs: 1100, endMs: 1600, timestampMs: 1350, confidence: null }, { text: ' Today', startMs: 1700, endMs: 2000, timestampMs: 1850, confidence: null }, { text: ' we', startMs: 2000, endMs: 2200, timestampMs: 2100, confidence: null }, { text: ' are', startMs: 2200, endMs: 2400, timestampMs: 2300, confidence: null }, { text: ' building', startMs: 2400, endMs: 2850, timestampMs: 2600, confidence: null }, { text: ' a', startMs: 2850, endMs: 2950, timestampMs: 2900, confidence: null }, { text: ' simple', startMs: 2950, endMs: 3350, timestampMs: 3150, confidence: null }, { text: ' captioned', startMs: 3350, endMs: 3850, timestampMs: 3600, confidence: null }, { text: ' video.', startMs: 3850, endMs: 4400, timestampMs: 4100, confidence: null },];function Scene() { return ( <AbsoluteFill style={{ background: '#0f172a', display: 'flex', alignItems: 'center', justifyContent: 'center', padding: 24, }} > <div style={{ width: '100%' }}> <CaptionTeleprompter captions={captions} fontSize={36} /> </div> </AbsoluteFill> );}export default function CaptionTeleprompterDemo() { return ( <div className='w-full max-w-lg'> <Player component={Scene} durationInFrames={150} compositionWidth={512} compositionHeight={200} fps={30} loop autoPlay controls={false} style={{ width: '100%', borderRadius: 8 }} /> </div> );}