Files
cutroom/remotion.config.ts
⓪ηηωεε忧世 fc08ee158c feat: add Remotion video composition and render script
Implements #28

Remotion Setup:
- remotion/CutroomVideo.tsx: Main video component with:
  - Title card intro with animations
  - Content sections with captions
  - B-roll clip support
  - Voice + music audio tracks
  - CTA outro with branding
- remotion/Root.tsx: Composition registration
- Two compositions: vertical (1080x1920) and horizontal (1920x1080)

Render Script:
- scripts/render-video.ts: Takes pipeline output JSON, renders MP4
- Supports --input, --output, --horizontal flags
- Progress logging during render

Commands:
- npm run video:render — Render from pipeline output
- npm run video:preview — Preview in Remotion Studio

Config:
- remotion.config.ts: Remotion CLI config
- tsconfig.json: Exclude remotion from main typecheck (separate config)
2026-02-01 21:43:43 -06:00

11 lines
189 B
TypeScript

/**
* Remotion Configuration
*
* Entry point for video rendering.
*/
import { Config } from '@remotion/cli/config'
Config.setVideoImageFormat('jpeg')
Config.setOverwriteOutput(true)