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
struct Params { contrast: f32 }
// Contrast about middle grey, with the ends rolled off by a film curve
// rather than clipped, so a pop never crushes a face into the floor.
fn effect(uv: vec2<f32>) -> vec4<f32> {
let c = sample(uv);
let amount = params.contrast - 1.0;
var out = contrast(c.rgb, 1.0 + amount * 0.7);
out = film_curve(out, amount * 0.5, amount * 0.5);
return vec4<f32>(out, c.a);
}