Revideo — Code-Driven Video Editor
Create and edit videos with code. MIT-licensed alternative to Remotion with API-driven rendering and dynamic inputs. Forked from Motion Canvas.
Installation agent prête
Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.
npx -y tokrepo@latest install d6468cb8-dd54-40fe-8fe1-513d2e8a8b31 --target codexÀ exécuter après confirmation du plan en dry-run.
What it is
Revideo is an open-source framework for creating videos programmatically using TypeScript. It is a fork of Motion Canvas, designed for developers who want to define scenes, animations, and transitions in code rather than in a GUI timeline editor. Revideo supports API-driven rendering, dynamic inputs, and a local preview server.
This tool targets developers and content teams who produce videos at scale: product demos, explainer animations, data visualizations, or automated social media clips. If your video content follows repeatable patterns and needs dynamic data, Revideo eliminates manual editing.
How it saves time or tokens
This workflow provides the project scaffold and startup commands. Instead of configuring a video rendering pipeline from scratch, you run npm create revideo@latest and get a working project with a local preview server at http://localhost:9000. Changes to your code are reflected in real-time in the preview, and rendering to video files is a single API call.
How to use
- Create a new Revideo project:
npm create revideo@latest
cd my-project
npm start
- Open
http://localhost:9000to see the visual preview of your project.
- Edit scenes in TypeScript. Each scene defines a sequence of animations:
import { makeScene2D, Txt, all } from '@revideo/2d';
import { createRef, waitFor } from '@revideo/core';
export default makeScene2D(function* (view) {
const title = createRef<Txt>();
view.add(<Txt ref={title} text='Hello Revideo' fontSize={72} />);
yield* all(
title().opacity(1, 0.5),
title().y(-100, 0.8)
);
yield* waitFor(1);
});
- Render the final video via the CLI or API.
Example
// Dynamic data-driven scene
import { makeScene2D, Rect, Txt } from '@revideo/2d';
export default makeScene2D(function* (view) {
const data = [40, 70, 55, 90, 65];
const bars = data.map((val, i) =>
<Rect
x={-200 + i * 100}
y={200 - val}
width={60}
height={val * 2}
fill='#3b82f6'
/>
);
view.add(...bars);
for (const bar of bars) {
yield* bar.opacity(0).opacity(1, 0.3);
}
});
Related on TokRepo
- Video tools -- Other video creation and editing tools for developers
- Automation tools -- Automate repetitive content production workflows
Common pitfalls
- Revideo uses generator functions (function) for animation sequencing. Forgetting the yield keyword causes animations to run instantly instead of being sequenced.
- The local preview server requires Node.js 18+. Older Node versions cause startup errors.
- Rendering performance depends on scene complexity. Scenes with many animated elements benefit from reducing resolution during preview and only rendering at full resolution for final output.
Questions fréquentes
Both let you create videos with code. Revideo is MIT-licensed and forked from Motion Canvas, using generator functions for animation sequencing. Remotion uses React components and is licensed under the Remotion License. Choose based on your preferred programming model and licensing needs.
Revideo renders to MP4 by default using FFmpeg. It supports configurable resolution, frame rate, and codec settings. You need FFmpeg installed on your system for rendering.
Yes. Revideo's API-driven rendering accepts dynamic inputs, so you can feed data from a database or API to generate unique videos programmatically. This is ideal for personalized content or data visualization videos at scale.
Yes. You can add audio tracks to your scenes and synchronize them with visual animations. Audio files are loaded as assets and timed using the same generator-based sequencing system.
Revideo is a fork of Motion Canvas with added features for API-driven rendering and production use cases. Motion Canvas focuses on educational and explanatory animations, while Revideo extends it for programmatic video generation workflows.
Sources citées (3)
- Revideo GitHub— Revideo is a fork of Motion Canvas for programmatic video creation
- Revideo Documentation— MIT-licensed open-source video framework
- Revideo Rendering API— API-driven rendering with dynamic inputs
En lien sur TokRepo
Source et remerciements
Created by redotvideo. Licensed under MIT. revideo — ⭐ 3,700+
Fil de discussion
Actifs similaires
Zed — High-Performance Code Editor with AI Built-In
GPU-accelerated code editor written in Rust with native AI assistant, multi-player editing, and sub-millisecond latency. Supports Claude, GPT-4, and local models. 55,000+ GitHub stars.
AsyncAPI — Open Standard for Event-Driven API Documentation
AsyncAPI is an open specification for defining asynchronous APIs. It provides a machine-readable format for documenting message-driven architectures using protocols like Kafka, MQTT, WebSocket, and AMQP, with tooling for code generation and validation.
Get Shit Done (GSD) — Meta-Prompting Dev System for Claude Code
A spec-driven development system with 48.6k GitHub stars. Adds phase-based planning, multi-agent execution, verification gates, and state persistence to Claude Code, Cursor, Gemini CLI and 9 more runtimes. Install with one npx command.
Drizzle ORM — TypeScript SQL That Feels Like Code
Type-safe TypeScript ORM with SQL-like syntax. Zero overhead, serverless-ready, supports PostgreSQL, MySQL, SQLite. Schema as code with automatic migrations. 28,000+ GitHub stars.