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)
11 lines
189 B
TypeScript
11 lines
189 B
TypeScript
/**
|
|
* Remotion Configuration
|
|
*
|
|
* Entry point for video rendering.
|
|
*/
|
|
|
|
import { Config } from '@remotion/cli/config'
|
|
|
|
Config.setVideoImageFormat('jpeg')
|
|
Config.setOverwriteOutput(true)
|