What is Video Composition?
Video composition lets you layer transparent videos with custom backgrounds, effects, and positioning to create professional-looking videos. This happens locally on your machine using FFmpeg - no API calls or credits required.๐ป Local Processing
FFmpeg-powered: Runs on your machine, no internet required
๐ No Credits Used
Free operations: Composition doesnโt consume API credits
๐ฌ Professional Quality
Production-ready: Export in H.264, ProRes, WebM, PNG sequences
๐ฏ Precise Control
Pixel-perfect: Position, scale, and time everything exactly
Prerequisites
Before you can create compositions, you need:1
Transparent Videos
Videos with removed backgrounds (from background removal)
2
FFmpeg Installed
FFmpeg must be available in your system PATH (installation guide)
3
SDK Installed
Node.js or Python SDK (installation guide)
How It Works
1
Create Background
Choose from colors, images, or video backgrounds
2
Add Layers
Layer your transparent videos with precise positioning
3
Apply Effects
Control opacity, rotation, timing, and scaling
4
Export
Render locally using FFmpeg in your preferred format
Quick Example
Hereโs a complete composition workflow:Key Concepts
Backgrounds
Create the foundation for your composition:- Color backgrounds: Solid colors using hex codes
- Image backgrounds: Static images (automatically looped)
- Video backgrounds: Dynamic video backgrounds
- Empty backgrounds: Transparent canvas for overlays
Layers
Stack multiple transparent videos:- Positioning: Use anchors (CENTER, TOP_LEFT, etc.) with pixel offsets
- Sizing: Fit, cover, exact pixels, or percentage of canvas
- Effects: Opacity, rotation, cropping
- Timing: Control when layers appear and disappear
Export Formats
Render your final video:- H.264 MP4: Universal compatibility, good compression
- VP9 WebM: Web-optimized, excellent compression
- ProRes MOV: Professional editing, highest quality
- PNG Sequence: Frame-by-frame work, maximum quality
Composition Types
Simple Replacement
Replace video background with a solid color or image:Multi-Layer Composition
Layer multiple videos with different positioning:Timed Sequences
Control when layers appear and disappear:Requirements
- FFmpeg: Must be installed and available in PATH
- Transparent videos: From background removal or other sources
- System resources: Composition happens locally on your machine
