Skip to content

Open-source Video Editor with client-side rendering (WebCodecs) and pixi.js. Capcut clone. Canva clone. React video editor.

License

Notifications You must be signed in to change notification settings

designcombo/combo

Repository files navigation

Combo Video SDK

A high-performance video rendering and processing library for the web, built with WebCodecs and PixiJS.

Combo · Discord · Docs

Features

  • Browser-Based Rendering: Leverages modern WebCodecs for efficient video encoding and decoding directly in the browser.
  • Advanced Composition: Powered by PixiJS for complex multi-track layering, transforms, and real-time previews.
  • Universal Clip Support: Built-in support for Video, Audio, Image, Text, and Captions.
  • Dynamic Effects & Transitions: Extensible GLSL-based effects (Chromakey, etc.) and transitions.
  • JSON Serialization: Full project state can be serialized to and from JSON for easy persistence and cloud rendering.
  • Low Latency: Optimized for interactive video editing experiences.

Documentation

Comprehensive documentation is available at docs.combo.sh.

Installation

npm install @designcombo/video

Quick Start

Basic Composition

import { Studio, Video } from '@designcombo/video';

// 1. Initialize the Studio (Project State & Preview)
const studio = new Studio({
  width: 1920,
  height: 1080,
  fps: 30,
  canvas: document.getElementById('preview-canvas') as HTMLCanvasElement,
  spacing: 20
});

// 2. Load and add a Video Clip
const video = await Video.fromUrl('https://example.com/video.mp4');
await studio.addClip(video);

// 3. Start Preview
studio.play();

Core Components

  • Studio: Manages the project state, including tracks, clips, and timeline configuration.
  • Compositor: The rendering engine that handles playback, seeking, and final export using WebCodecs.
  • Clips: Specialized objects for different media types (Video, Audio, Text, Image, Caption, etc.).
  • JsonSerialization: Utilities to convert your entire project into a portable JSON format.

Technology Stack

  • WebCodecs: For ultra-fast, hardware-accelerated video processing.
  • PixiJS: For a robust and performant 2D/3D rendering engine.
  • wrapbox: Internal utility for low-level MP4 box manipulation and muxing.

Contact

For inquiries, support, or custom solutions, reach out to us at cloud@designcombo.dev.

License

See LICENSE.

About

Open-source Video Editor with client-side rendering (WebCodecs) and pixi.js. Capcut clone. Canva clone. React video editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages