Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

README: hero screenshot of the demo project, highlights, quick start, Craft family table; status messages expire after 8 s

Brandon Thomas214d076bdb57
diff --git a/README.md b/README.md
index 4c73eabd9..188e94885 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,71 @@
-filmcraft
-=========
+<h1 align="center">FilmCraft</h1>
-by the artcraft team
+<p align="center">
+ <b>Non-linear video editing, reimagined in pure Rust.</b><br>
+ An open-source, clean-room take on the Adobe Premiere Pro workflow: native on macOS, Windows and Linux, and in the browser via WebAssembly.<br>
+ <i>By the artcraft team.</i>
+</p>
+
+<p align="center">
+ <img src="docs/images/filmcraft-hero.png" alt="FilmCraft editing the demo project: Effect Controls, the Program monitor on an ocean sunset, Properties, the Project bin, and a multi-track timeline with transitions, markers and audio waveforms" width="100%">
+</p>
+
+## Highlights
+
+- **Own codecs, in Rust.** H.264 decoder (bit-exact against ffmpeg, 500+ fps at 1080p) and encoder (High profile, CABAC, B-frames, 2-pass), HEVC Main/Main 10 decoder, ProRes decode and encode, AAC-LC decode and encode, and an MP4/MOV demuxer and muxer. No FFmpeg inside.
+- **Real editing.** Insert, overwrite, ripple, roll, slip, slide, rate stretch, razor, lift/extract, nesting and markers, all built on an exact integer time base (254,016,000,000 ticks per second), so frame math never drifts.
+- **GPU compositing.** A wgpu compositor samples YUV directly with footprint supersampling and blends in linear light, with a matching CPU path. Playback runs in real time at 1080p, using the audio clock as master.
+- **Colour.** Lumetri-style grading: basic correction, creative looks, RGB and hue curves, colour wheels, HSL secondary and vignette, plus waveform and vectorscope.
+- **Keyframes.** Linear, Bezier, auto/continuous Bezier, hold and ease, with value and velocity graphs.
+- **Export.** H.264 MP4 with AAC, ProRes and MJPEG MOV, PNG sequences, GIF and WAV, run as background jobs.
+- **Agent-drivable.** Every action is a command. The UI, a CLI, a JSON control channel and an MCP server all drive the same engine, so Claude or any agent can edit, grade and export.
+
+## Status
+
+Early but moving fast: about a quarter of the way to Premiere Pro parity. See **[ROADMAP.md](ROADMAP.md)** for milestone status and estimates.
+
+## Quick start
+
+```sh
+cargo run --release -p filmcraft # desktop app with the demo project
+cargo run --release -p filmcraft -- --control 9876 # plus the JSON-lines control server
+cargo run --release -p filmcraft-cli -- commands # list every engine command
+cargo run --release -p filmcraft-cli -- mcp # MCP server (headless)
+```
+
+The control protocol is documented in [docs/control-protocol.md](docs/control-protocol.md).
+
+## Architecture
+
+A layered Cargo workspace: codecs and containers at the bottom, then frames and media, project model and edit algebra, rendering and export, the engine (command registry, session, undo), and finally the swappable UI (`ui-egui`). Nothing below the UI layer depends on a UI toolkit or OS APIs, and everything up to the engine compiles to `wasm32`. `cargo xtask ci` checks formatting, lints, tests, the layering rules and the wasm build.
+
+## The Craft family
+
+Open-source, clean-room, pure-Rust creative tools. Each runs natively on macOS, Windows and Linux, and on the web.
+
+<table>
+ <tr>
+ <td width="20%" align="center"><a href="https://github.com/storytold/photocraft"><b>PhotoCraft</b></a></td>
+ <td>Image editing and compositing, Photoshop-class: layers, masks, adjustments and byte-exact PSD/PSB round trips.</td>
+ </tr>
+ <tr>
+ <td align="center"><a href="https://github.com/storytold/drawcraft"><b>DrawCraft</b></a></td>
+ <td>Vector illustration, Illustrator-class: paths, shapes, type and artboards.</td>
+ </tr>
+ <tr>
+ <td align="center"><a href="https://github.com/storytold/filmcraft"><b>FilmCraft</b></a></td>
+ <td>Non-linear video editing, Premiere Pro-class: timeline editing, own codecs, GPU compositing, colour and export. <i>You are here.</i></td>
+ </tr>
+ <tr>
+ <td align="center"><a href="https://github.com/storytold/lightcraft"><b>LightCraft</b></a></td>
+ <td>Photo library and non-destructive raw developer, Lightroom-class: catalog, culling, develop and export.</td>
+ </tr>
+ <tr>
+ <td align="center"><a href="https://github.com/storytold/printcraft"><b>PrintCraft</b></a></td>
+ <td>PDF viewing and editing, Acrobat-class: pages, annotations, forms and document tools.</td>
+ </tr>
+</table>
+
+## Clean room
+
+FilmCraft is an independent implementation. It contains no Adobe code, assets, presets or LUTs, and no GPL/LGPL code; codecs are implemented from the public ITU-T and ISO specifications. ffmpeg is used only as an external test oracle. Adobe and Premiere Pro are trademarks of Adobe Inc.; FilmCraft is not affiliated with Adobe.
diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs
index 7a9d148ba..f7b07cc69 100644
--- a/crates/ui-egui/src/lib.rs
+++ b/crates/ui-egui/src/lib.rs
@@ -89,6 +89,8 @@ pub struct FilmcraftApp {
deferred: Vec<(ControlRequest, f64)>,
last_ui_time: f64,
pub(crate) synthetic: Vec<egui::Event>,
+ /// Status message last shown and when it first appeared (messages expire after a few seconds).
+ status_seen: (String, f64),
pending_screenshots: Vec<(u64, Option<String>, Option<[f32; 4]>, Sender<Value>)>,
queued_screenshots: Vec<(u64, f64, u32)>,
input_waiters: Vec<Sender<Value>>,
@@ -174,6 +176,7 @@ impl FilmcraftApp {
deferred: Vec::new(),
last_ui_time: 0.0,
synthetic: Vec::new(),
+ status_seen: (String::new(), 0.0),
pending_screenshots: Vec::new(),
queued_screenshots: Vec::new(),
input_waiters: Vec::new(),
@@ -636,6 +639,16 @@ impl FilmcraftApp {
// Status / hint bar
let sb = egui::Rect::from_min_max(egui::pos2(full.min.x, full.max.y - status_h), full.max);
ui.painter().rect_filled(sb, 0.0, egui::Color32::from_rgb(0x1c, 0x1c, 0x1c));
+ let now = ui.input(|i| i.time);
+ if self.ui.status != self.status_seen.0 {
+ self.status_seen = (self.ui.status.clone(), now);
+ } else if !self.ui.status.is_empty() {
+ if now - self.status_seen.1 > 8.0 {
+ self.ui.status.clear();
+ } else {
+ ui.ctx().request_repaint_after(std::time::Duration::from_secs(1));
+ }
+ }
let hint = if !self.ui.status.is_empty() { self.ui.status.clone() } else { self.hint_text() };
ui.painter().text(egui::pos2(sb.min.x + 10.0, sb.center().y), egui::Align2::LEFT_CENTER, hint, Tokens::ui(11.0), t.text_dim);
let resp = ui.interact(sb, egui::Id::new("status-bar"), egui::Sense::click());
diff --git a/docs/images/filmcraft-hero.png b/docs/images/filmcraft-hero.png
new file mode 100644
index 000000000..e0823e7be
Binary files /dev/null and b/docs/images/filmcraft-hero.png differ