Remotion Render Skill
Generic video rendering with motion graphics overlays.
Components
VideoClip.tsx- Main composition (video + captions + annotations)components/RollingCaption.tsx- Karaoke-style word highlightingcomponents/SpeakerLabel.tsx- Positioned speaker annotationscomponents/ContextBadge.tsx- Location/event badge
Usage
Called by make-video skill. Not typically invoked directly.
npx remotion render VideoClip output.mp4 --props=props.json
Props Interface
{
videoSrc: string; // Video filename in public/
captions: Caption[]; // Timed caption segments
speakers: SpeakerAnnotation[]; // Speaker labels with positions
contextBadge: {
location: string;
event: string;
}
}
Dependencies
- @remotion/captions - TikTok-style caption pages
- @remotion/media - Video embedding
- System fonts (PingFang SC) for Chinese text
Best Practices (rules/)
Reference documentation for Remotion patterns:
rules/display-captions.md- TikTok-style captions with word highlightingrules/videos.md- Video embedding, trimming, volume, speedrules/text-animations.md- Typewriter, word highlight effectsrules/fonts.md- Loading Google Fonts and local fontsrules/animations.md- Interpolation, spring, easingrules/timing.md- Frame-based timing and curvesrules/sequencing.md- Sequence patterns for timeline control
See rules/ folder for complete documentation.