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 { Player } from '@remotion/player';import { CaptionStamp } from '@/components/remocn/caption-stamp';const captions: Caption[] = [ { text: ' Summer', startMs: 0, endMs: 500, timestampMs: null, confidence: null }, { text: ' SALE', startMs: 500, endMs: 1100, timestampMs: null, confidence: null }, { text: ' ends', startMs: 1100, endMs: 1500, timestampMs: null, confidence: null }, { text: ' soon', startMs: 1500, endMs: 2000, timestampMs: null, confidence: null }, { text: ' with', startMs: 2000, endMs: 2300, timestampMs: null, confidence: null }, { text: ' FREE', startMs: 2300, endMs: 2900, timestampMs: null, confidence: null }, { text: ' shipping', startMs: 2900, endMs: 3500, timestampMs: null, confidence: null },];function Scene() { return ( <div style={{ width: '100%', height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', padding: 24, boxSizing: 'border-box', background: '#ffffff', }} > <CaptionStamp captions={captions} keywords={['SALE', 'FREE']} stampColor='#dc2626' color='#111827' fontSize={40} shadow={false} /> </div> );}export default function CaptionStampDemo() { return ( <Player component={Scene} durationInFrames={120} compositionWidth={640} compositionHeight={240} fps={30} loop autoPlay controls={false} style={{ width: '100%', maxWidth: 512, height: 'auto' }} /> );}