The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
Add a quick profile for trying changes in the window
Jareercfe619ab4192
diff --git a/engine/Cargo.toml b/engine/Cargo.tomlindex bce99206..f3718fe2 100644--- a/engine/Cargo.toml+++ b/engine/Cargo.toml@@ -39,6 +39,16 @@ opt-level = 3lto = "thin"codegen-units = 1+# For trying a change in the window: `cargo run --profile quick -p concat`.+# Optimised enough that video plays as it would in release, without the+# thin LTO and single codegen unit that make a release rebuild a+# minutes-long relink. Incremental, so a change in one crate is seconds.+[profile.quick]+inherits = "release"+lto = false+codegen-units = 16+incremental = true+# The shipping build of the editor window: `cargo build --profile app -p concat`.## Every knob here is set for the fastest possible binary, and each one costsdiff --git a/engine/README.md b/engine/README.mdindex d5ddecc3..66964833 100644--- a/engine/README.md+++ b/engine/README.md@@ -40,6 +40,7 @@ cargo testcargo run -p concat-cli -- probe some-video.mp4cargo run -p concat-cli -- render some-video.mp4 out.mp4 --frames 120cargo run -p concat # the editor window, debug+cargo run --profile quick -p concat # optimised, rebuilds in seconds: for trying changescargo build --profile app -p concat # the shipping binary: fat LTO, panic=abort, stripped```