Edit video with code: ffmpeg, MoviePy, Editly, Remotion and vawe compared.
Programmatic video editing means the cut is written as code or data, so a script or an AI agent can make it and make it again. This page compares five tools that do it: what each one is, its licence, how you write an edit, and what an agent has to learn first. The facts come from each tool’s own repo or docs, read on 2026-11-09.
The five side by side.
Licences and write-ups are from each project’s own repo.
| Tool | Licence | An edit is written as | Stronger at |
|---|---|---|---|
| ffmpeg | LGPL v2.1 or later; some optional parts GPL | Command-line options and filters such as trim, setpts, drawtext and xfade | Nearly any audio or video format, and silence filters built in |
| MoviePy | MIT | Python: clips you cut, join and composite, then write out | Custom effects, because every pixel is a numpy array |
| Editly | MIT | A JSON5 spec or a short command, run by Node and ffmpeg | A quick slideshow or trailer with transitions and music |
| Remotion | Free for individuals, small companies and non-profits; a company licence for larger for-profits | React components that render to video | A React team, an editor-like Studio, batch rendering |
| vawe | Apache-2.0 | One HTML page: each clip is a <video> with in, out and speed | An agent that edits clips and builds the titles and captions in the same page |
What each one is.
- ffmpeg. A multimedia toolkit for decoding, transcoding and filtering nearly any audio or video. It has filters for trimming, speed, text, transitions and silence. Editly needs it installed, and MoviePy’s own README says MoviePy is slower than using ffmpeg directly. The repo showed about 66,800 stars.
- MoviePy. A Python library for cuts, concatenations, title insertions and compositing. A short script opens a file, takes the subclip from 10 to 20 seconds, adds a text clip and writes the result. It turns frames into numpy arrays, so you can write any pixel effect. MoviePy 2.0 broke the v1 API and v1 is no longer maintained. The repo showed about 15,100 stars.
- Editly. A declarative editor for Node.js and ffmpeg. You list clips, images, audio and titles in a JSON5 spec or on the command line. It adds transitions and music, fits clips to any size and aspect with letterboxing, and accepts custom canvas, Fabric.js and GL shader code. The repo showed about 5,600 stars, and its last push was on 2025-05-12.
- Remotion. A way to make video with React. You write components, and its
<Html5Video>hastrimBeforeandplaybackRateprops for a clip. Its README lists making video with an agent, and batch rendering. The licence is free for individuals, for-profit companies of up to 3 employees and non-profits; larger for-profits need a company licence. The repo showed about 72,000 stars. - vawe. An open-source framework: the agent writes one HTML page and vawe renders it frame by frame to an MP4. A clip is a
<video>withdata-at,data-trimanddata-rate. Titles, captions and transitions are in the same page. Transcripts come from whisper.cpp on your machine.
What an agent must learn before it can cut.
An agent cannot watch the footage, so each tool asks for something different.
- ffmpeg. Filter and option syntax. A cut is a start and an end in seconds that the agent must work out from the file.
- MoviePy. The v2 API, not the v1 one it may remember, and the Python around it. It cuts where the agent says; it does not say where.
- Editly. A spec format with a short list of clip, title and transition types. Custom motion means canvas, Fabric.js or shader code.
- Remotion. React, the component model and the timeline in frames.
- vawe. The page rules in
AGENTS.mdand the clip attributes.footage.mdgives it each clip’s length, shots, loudness and a transcript, and a words file beside it times every word, so it cuts on a word end.
Pick by the job.
- You convert, join or cut files in bulk and need no graphics: ffmpeg.
- You are in Python and want a custom pixel effect: MoviePy.
- You want a quick edit of clips, images and titles from one spec: Editly.
- Your team writes React and wants an editor-like Studio: Remotion.
- An agent edits your clips and builds the titles, captions and transitions in one place: vawe. It does not cut filler words, and it does not track or mask objects.
Sources, read on 2026-11-09.
- FFmpeg LICENSE.md: licence.
- FFmpeg filters documentation: the trim, setpts, drawtext, xfade, silencedetect and silenceremove filters.
- FFmpeg about page: what it describes itself as.
- MoviePy README: the example, numpy arrays, the v2 note and the speed note. MIT licence on the repo.
- Editly README: features and requirements. MIT licence on the repo.
- Remotion LICENSE.md: the free and company licences.
- Remotion README: agents, batch rendering.
- Remotion Html5Video docs: trimBefore and playbackRate.
- Star counts and last push dates: each repo’s GitHub page, read through the GitHub API.
- vawe LICENSE; vawe’s own facts are in the repo’s
prompts/edit-from-clips.mdandskills/vawe-page/SKILL.md.
More on editing with an agent.
- Edit video with Claude Code: the steps in Claude Code, Codex or Cursor, and the questions the agent asks first.
- Agentic video editing: how an agent reads footage it cannot watch, and what an edit can and cannot do.
- Turn a screen recording into a demo video: trim the dead time, speed up the waits, add titles and captions.
- vawe vs video-use: another open-source way to edit clips with a coding agent, and when it is the better choice.
- vawe vs OpenEdit: an open-source pipeline from VEED that also lets an agent edit clips, and how it differs.
- How an agent reads footage it cannot watch: what footage.md holds and why the agent cuts on a word end.
- Cut the silences with an agent: trim the pauses and keep every word whole.
- Captions on a video, in HTML: word-timed captions, the part of an edit a muted viewer reads.
- Aspect ratios without cropping: one edit at 16:9, 9:16, 1:1 or 4:5.