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
feat(effects): a picture effect goes on the timeline, not on the selected clip
Jareerb51319177f8c
diff --git a/src/crates/concat/ui/workspace/config-pane.slint b/src/crates/concat/ui/workspace/config-pane.slintindex 6dc63bbf..613a918e 100644--- a/src/crates/concat/ui/workspace/config-pane.slint+++ b/src/crates/concat/ui/workspace/config-pane.slint@@ -244,20 +244,30 @@ export component ConfigPane inherits Rectangle {/// panel it grades everything beneath it with, and its chain - are the/// tab's sections, so an adjustment layer is graded the way a clip is.property <bool> is-layer: root.selected.kind == ClipKind.filter;- property <[string]> tabs: root.selected.batch-volume ? ["Audio"] : root.is-text ? ["Text", "Effects"]+ /// Effects are laid on the timeline as layers now, so a clip's own+ /// chain is not something to go looking for: its tab shows only on a+ /// clip that already carries one - from an older project, a template,+ /// the API - so that chain can still be seen, tuned and taken off.+ property <bool> has-chain: root.applied-visual.length > 0;+ property <[string]> tabs: root.selected.batch-volume ? ["Audio"]+ : root.is-text ? (root.has-chain ? ["Text", "Effects"] : ["Text"]): root.is-layer ? ["Filter"]: root.is-shape ? ["Video"]- : root.is-image ? ["Video", "Effects"]+ : root.is-image ? (root.has-chain ? ["Video", "Effects"] : ["Video"]): root.is-audio ? ["Audio"]- : ["Video", "Audio", "Effects"];+ : root.has-chain ? ["Video", "Audio", "Effects"] : ["Video", "Audio"];/// The same tabs in the interface's language. `tabs` stays English,/// because the panels are picked by comparing against it.- property <[string]> tabs-shown: root.selected.batch-volume ? [I18n.t("common.audio")] : root.is-text ? [I18n.t("common.text"), I18n.t("common.effects")]+ property <[string]> tabs-shown: root.selected.batch-volume ? [I18n.t("common.audio")]+ : root.is-text ? (root.has-chain ? [I18n.t("common.text"), I18n.t("common.effects")]+ : [I18n.t("common.text")]): root.is-layer ? [I18n.t("configPane.filter")]: root.is-shape ? [I18n.t("configPane.vectorImage")]- : root.is-image ? [I18n.t("common.video"), I18n.t("common.effects")]+ : root.is-image ? (root.has-chain ? [I18n.t("common.video"), I18n.t("common.effects")]+ : [I18n.t("common.video")]): root.is-audio ? [I18n.t("common.audio")]- : [I18n.t("common.video"), I18n.t("common.audio"), I18n.t("common.effects")];+ : root.has-chain ? [I18n.t("common.video"), I18n.t("common.audio"), I18n.t("common.effects")]+ : [I18n.t("common.video"), I18n.t("common.audio")];/// A one-segment segmented control is a label wearing a costume, so a lone/// tab renders as the panel's plain heading instead.property <bool> single: root.tabs.length < 2;@@ -270,6 +280,8 @@ export component ConfigPane inherits Rectangle {/// a video's third tab on a title — so the index is pulled back in when the/// shape of the strip changes, and left alone when it has not.property <ClipKind> strip-kind;+ // Taking a clip's last effect off takes its tab away under you.+ changed has-chain => { root.tab = Math.min(root.tab, root.tabs.length - 1); }changed selected => {if (root.selected.kind != root.strip-kind) {root.strip-kind = root.selected.kind;diff --git a/src/crates/concat/ui/workspace/media-pane.slint b/src/crates/concat/ui/workspace/media-pane.slintindex ff52b5ae..9133cf6c 100644--- a/src/crates/concat/ui/workspace/media-pane.slint+++ b/src/crates/concat/ui/workspace/media-pane.slint@@ -2708,19 +2708,25 @@ export component MediaPane inherits Rectangle {glyph: root.audio-shelf ? Glyph.waveform : Glyph.sparkle;// A sound has no picture: its cards are the compact kind.compact: root.audio-shelf;- // Effects apply directly on single-click to the selected clip —- // auditions:false means click = apply, no monitor overlay confusion.- auditions: false;- // Dragged onto the lanes, a picture effect is a layer- // like a filter's: it works on everything beneath it- // for as long as it runs, and is moved and trimmed- // like any clip.+ // A picture effect is a layer on the timeline, as a+ // filter is: dragged onto the lanes, it works on+ // everything beneath it for as long as it runs. Short+ // of a drag, a click shows it over the monitor and a+ // double-click or the plus lays it at the playhead.+ // It is no longer put on the selected clip: that was+ // a second way to the same picture, found by+ // selecting a clip and then hunting for its tab.+ // A sound effect still goes on the selected clip - a+ // voice changed, not the music under it.+ auditions: !root.audio-shelf;+ auditioning: root.audio-shelf ? "" : root.audition;+ auditioned(id) => { root.audition-filter(id); }payload-kind: root.audio-shelf ? "" : "filter";applied(id, label) => {if (root.audio-shelf) {root.apply-audio(id);} else {- root.apply-effect(id);+ root.apply-filter(id, label);}}}