Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

Remove background as three blocks: auto, custom, chroma key

Jareer26ea823f7931
diff --git a/engine/crates/concat/locales/de.json b/engine/crates/concat/locales/de.json
index 7565c7e5..8ec7a14a 100644
--- a/engine/crates/concat/locales/de.json
+++ b/engine/crates/concat/locales/de.json
@@ -2,6 +2,7 @@
"_": {
"name": "Deutsch"
},
+ "1 stroke": "1 Strich",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Eine hellere, leichtere, nähere Stimme. Tonhöhe bei 0 folgt der Stärke.",
"A concert hall: long, even reflections.": "Ein Konzertsaal: lange, gleichmäßige Reflexionen.",
"A flat, boxy blur.": "Eine flache, kastige Unschärfe.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Automatische Untertitel",
"Auto captions from this clip's sound": "Automatische Untertitel aus dem Ton dieses Clips",
- "Automatic": "Automatisch",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automatisch behält die Person, die das Freistellmodell findet, und entfernt den Rest. Benutzerdefiniert beginnt mit derselben Maske und nimmt Korrekturen an, die du auf dem Monitor malst: Smart-Pinsel und Smart-Radierer folgen der Sicherheit des Modells, die einfachen tun genau, was du malst. Green- und Bluescreen stanzen stattdessen eine Farbe aus; Ähnlichkeit bestimmt, wie weit von der Farbe entfernt noch zählt, Weichheit federt die Kante.",
+ "Auto removal": "Automatisch entfernen",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automatisch entfernen behält die Person, die das Freistellmodell findet, und entfernt den Rest. Manuell entfernen beginnt mit derselben Maske und nimmt Korrekturen an, die du auf dem Monitor malst: Smart-Pinsel und Smart-Radierer folgen der Sicherheit des Modells, die einfachen tun genau, was du malst; Anwenden beendet das Malen. Chroma-Key stanzt stattdessen eine Farbe aus; Ähnlichkeit bestimmt, wie weit von der Farbe entfernt noch zählt, Weichheit federt die Kante.",
"Balanced": "Ausgewogen",
"Basic": "Grundlagen",
"Bass": "Bass",
@@ -53,8 +54,8 @@
"Black & White": "Schwarz-Weiß",
"Blacks": "Schwarztöne",
"Blend": "Überblenden",
+ "Blue": "Blau",
"Blue Screen": "Bluescreen",
- "Blue screen": "Bluescreen",
"Blur": "Unschärfe",
"Body": "Körper",
"Bold": "Fett",
@@ -68,7 +69,6 @@
"British": "Britisch",
"Browse": "Durchsuchen",
"Brush": "Pinsel",
- "Brush size": "Pinselgröße",
"Build": "Build",
"Bullet": "Kugel",
"Bypass {0}": "{0} umgehen",
@@ -89,8 +89,8 @@
"Choose a folder": "Ordner wählen",
"Choose where the project folder should go": "Wähle, wohin der Projektordner soll",
"Choose…": "Wählen…",
+ "Chroma key": "Chroma-Key",
"Clean": "Säubern",
- "Clear strokes": "Striche löschen",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Nimmt den Raum aus einer Aufnahme: Rumpeln, Rauschen, Zischlaute und ungleichen Pegel.",
"Clips": "Clips",
"Close project": "Projekt schließen",
@@ -116,6 +116,7 @@
"Crop": "Zuschneiden",
"Curve": "Kurve",
"Custom": "Benutzerdefiniert",
+ "Custom removal": "Manuell entfernen",
"Cutout": "Freistellen",
"Dancing grain, the texture of film stock.": "Tanzendes Korn, die Textur von Filmmaterial.",
"Dark": "Dunkel",
@@ -211,8 +212,8 @@
"Glow": "Glühen",
"Go to end": "Zum Ende",
"Go to start": "Zum Anfang",
+ "Green": "Grün",
"Green Screen": "Greenscreen",
- "Green screen": "Greenscreen",
"Half": "Halb",
"Hall": "Saal",
"Headline": "Schlagzeile",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Noch nichts zu lesen",
"Nothing under the playhead": "Nichts unter dem Abspielkopf",
"Nothing was said in that clip": "In diesem Clip wurde nichts gesagt",
- "Off": "Aus",
"off": "aus",
"One repeat, fading.": "Eine Wiederholung, ausklingend.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Ein Titel pro gesprochenem Satz, im Takt der Wörter geschnitten, auf der ersten freien Spur.",
@@ -330,7 +330,6 @@
"Output": "Ausgabe",
"Output · {0}": "Ausgabe · {0}",
"Pace": "Tempo",
- "Paint on the monitor": "Auf dem Monitor malen",
"Paste": "Einfügen",
"Pause": "Pause",
"Pick an effect or filter from the library": "Wähle einen Effekt oder Filter aus der Bibliothek",
@@ -482,7 +481,6 @@
"Titles": "Titel",
"today": "heute",
"Tone": "Klang",
- "Tool": "Werkzeug",
"Toolchain": "Toolchain",
"Top": "Oben",
"Tracking": "Laufweite",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB von {1} MB",
"{0} minutes ago": "vor {0} Minuten",
"{0} months ago": "vor {0} Monaten",
+ "{0} strokes": "{0} Striche",
"{0}m {1}s left": "noch {0} min {1} s",
"{0}s left": "noch {0} s"
}
diff --git a/engine/crates/concat/locales/en.json b/engine/crates/concat/locales/en.json
index fb5bbd0d..5937f17f 100644
--- a/engine/crates/concat/locales/en.json
+++ b/engine/crates/concat/locales/en.json
@@ -2,6 +2,7 @@
"_": {
"name": "English"
},
+ "1 stroke": "1 stroke",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "A brighter, lighter, closer voice. Pitch at 0 follows the amount.",
"A concert hall: long, even reflections.": "A concert hall: long, even reflections.",
"A flat, boxy blur.": "A flat, boxy blur.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Auto captions",
"Auto captions from this clip's sound": "Auto captions from this clip's sound",
- "Automatic": "Automatic",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.",
+ "Auto removal": "Auto removal",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.",
"Balanced": "Balanced",
"Basic": "Basic",
"Bass": "Bass",
@@ -53,8 +54,8 @@
"Black & White": "Black & White",
"Blacks": "Blacks",
"Blend": "Blend",
+ "Blue": "Blue",
"Blue Screen": "Blue Screen",
- "Blue screen": "Blue screen",
"Blur": "Blur",
"Body": "Body",
"Bold": "Bold",
@@ -68,7 +69,6 @@
"British": "British",
"Browse": "Browse",
"Brush": "Brush",
- "Brush size": "Brush size",
"Build": "Build",
"Bullet": "Bullet",
"Bypass {0}": "Bypass {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Choose a folder",
"Choose where the project folder should go": "Choose where the project folder should go",
"Choose…": "Choose…",
+ "Chroma key": "Chroma key",
"Clean": "Clean",
- "Clear strokes": "Clear strokes",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Clears the room out of a recording: rumble, hiss, sibilance and uneven level.",
"Clips": "Clips",
"Close project": "Close project",
@@ -116,6 +116,7 @@
"Crop": "Crop",
"Curve": "Curve",
"Custom": "Custom",
+ "Custom removal": "Custom removal",
"Cutout": "Cutout",
"Dancing grain, the texture of film stock.": "Dancing grain, the texture of film stock.",
"Dark": "Dark",
@@ -211,8 +212,8 @@
"Glow": "Glow",
"Go to end": "Go to end",
"Go to start": "Go to start",
+ "Green": "Green",
"Green Screen": "Green Screen",
- "Green screen": "Green screen",
"Half": "Half",
"Hall": "Hall",
"Headline": "Headline",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Nothing to read yet",
"Nothing under the playhead": "Nothing under the playhead",
"Nothing was said in that clip": "Nothing was said in that clip",
- "Off": "Off",
"off": "off",
"One repeat, fading.": "One repeat, fading.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "One title per phrase spoken, cut to the words' own timing, on the first lane with room.",
@@ -330,7 +330,6 @@
"Output": "Output",
"Output · {0}": "Output · {0}",
"Pace": "Pace",
- "Paint on the monitor": "Paint on the monitor",
"Paste": "Paste",
"Pause": "Pause",
"Pick an effect or filter from the library": "Pick an effect or filter from the library",
@@ -482,7 +481,6 @@
"Titles": "Titles",
"today": "today",
"Tone": "Tone",
- "Tool": "Tool",
"Toolchain": "Toolchain",
"Top": "Top",
"Tracking": "Tracking",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB of {1} MB",
"{0} minutes ago": "{0} minutes ago",
"{0} months ago": "{0} months ago",
+ "{0} strokes": "{0} strokes",
"{0}m {1}s left": "{0}m {1}s left",
"{0}s left": "{0}s left"
}
diff --git a/engine/crates/concat/locales/es.json b/engine/crates/concat/locales/es.json
index 1d69581a..37a2f089 100644
--- a/engine/crates/concat/locales/es.json
+++ b/engine/crates/concat/locales/es.json
@@ -2,6 +2,7 @@
"_": {
"name": "Español"
},
+ "1 stroke": "1 trazo",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Una voz más brillante, ligera y cercana. Con el tono en 0, sigue a la cantidad.",
"A concert hall: long, even reflections.": "Una sala de conciertos: reflexiones largas y uniformes.",
"A flat, boxy blur.": "Un desenfoque plano y cuadrado.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Subtítulos automáticos",
"Auto captions from this clip's sound": "Subtítulos automáticos a partir del sonido de este clip",
- "Automatic": "Automático",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automático conserva a la persona que encuentra el modelo de recorte y elimina el resto. Personalizado parte de la misma máscara y acepta correcciones pintadas en el monitor: el pincel y el borrador inteligentes siguen la confianza del modelo; los simples hacen exactamente lo que pintas. Las pantallas verde y azul, en cambio, eliminan un color; la similitud indica hasta qué distancia del color cuenta, y la suavidad difumina el borde.",
+ "Auto removal": "Eliminación automática",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "La eliminación automática conserva a la persona que encuentra el modelo de recorte y elimina el resto. La eliminación manual parte de la misma máscara y acepta correcciones pintadas en el monitor: el pincel y el borrador inteligentes siguen la confianza del modelo; los simples hacen exactamente lo que pintas; Aplicar termina el pintado. El croma, en cambio, elimina un color; la similitud indica hasta qué distancia del color cuenta, y la suavidad difumina el borde.",
"Balanced": "Equilibrada",
"Basic": "Básico",
"Bass": "Graves",
@@ -53,8 +54,8 @@
"Black & White": "Blanco y negro",
"Blacks": "Negros",
"Blend": "Fusión",
+ "Blue": "Azul",
"Blue Screen": "Pantalla azul",
- "Blue screen": "Pantalla azul",
"Blur": "Desenfoque",
"Body": "Cuerpo",
"Bold": "Negrita",
@@ -68,7 +69,6 @@
"British": "Británico",
"Browse": "Examinar",
"Brush": "Pincel",
- "Brush size": "Tamaño del pincel",
"Build": "Compilación",
"Bullet": "Bala",
"Bypass {0}": "Omitir {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Elige una carpeta",
"Choose where the project folder should go": "Elige dónde irá la carpeta del proyecto",
"Choose…": "Elegir…",
+ "Chroma key": "Croma",
"Clean": "Limpieza",
- "Clear strokes": "Borrar trazos",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Quita la sala de una grabación: retumbo, siseo, sibilancia y nivel irregular.",
"Clips": "Clips",
"Close project": "Cerrar proyecto",
@@ -116,6 +116,7 @@
"Crop": "Recortar",
"Curve": "Curva",
"Custom": "Personalizado",
+ "Custom removal": "Eliminación manual",
"Cutout": "Recorte",
"Dancing grain, the texture of film stock.": "Grano en movimiento, la textura de la película.",
"Dark": "Oscuro",
@@ -211,8 +212,8 @@
"Glow": "Resplandor",
"Go to end": "Ir al final",
"Go to start": "Ir al inicio",
+ "Green": "Verde",
"Green Screen": "Pantalla verde",
- "Green screen": "Pantalla verde",
"Half": "Media",
"Hall": "Sala",
"Headline": "Titular",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Aún no hay nada que leer",
"Nothing under the playhead": "Nada bajo el cabezal",
"Nothing was said in that clip": "No se dijo nada en ese clip",
- "Off": "Desactivado",
"off": "desactivado",
"One repeat, fading.": "Una repetición que se desvanece.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Un título por frase hablada, ajustado al ritmo de las palabras, en la primera pista con espacio.",
@@ -330,7 +330,6 @@
"Output": "Salida",
"Output · {0}": "Salida · {0}",
"Pace": "Ritmo",
- "Paint on the monitor": "Pintar en el monitor",
"Paste": "Pegar",
"Pause": "Pausa",
"Pick an effect or filter from the library": "Elige un efecto o filtro de la biblioteca",
@@ -482,7 +481,6 @@
"Titles": "Títulos",
"today": "hoy",
"Tone": "Tono",
- "Tool": "Herramienta",
"Toolchain": "Herramientas de compilación",
"Top": "Arriba",
"Tracking": "Espaciado",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB de {1} MB",
"{0} minutes ago": "hace {0} minutos",
"{0} months ago": "hace {0} meses",
+ "{0} strokes": "{0} trazos",
"{0}m {1}s left": "quedan {0} min {1} s",
"{0}s left": "quedan {0} s"
}
diff --git a/engine/crates/concat/locales/fr.json b/engine/crates/concat/locales/fr.json
index 8636ba50..c535c885 100644
--- a/engine/crates/concat/locales/fr.json
+++ b/engine/crates/concat/locales/fr.json
@@ -2,6 +2,7 @@
"_": {
"name": "Français"
},
+ "1 stroke": "1 trait",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Une voix plus claire, plus légère, plus proche. La hauteur à 0 suit la quantité.",
"A concert hall: long, even reflections.": "Une salle de concert : des réflexions longues et régulières.",
"A flat, boxy blur.": "Un flou plat et carré.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Sous-titres automatiques",
"Auto captions from this clip's sound": "Sous-titres automatiques à partir du son de ce clip",
- "Automatic": "Automatique",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automatique garde la personne que le modèle de détourage trouve et retire le reste. Personnalisé part du même masque et accepte des corrections peintes sur le moniteur : le pinceau et la gomme intelligents suivent la confiance du modèle, les simples font exactement ce que vous peignez. Les fonds vert et bleu retirent une couleur à la place ; la similarité dit jusqu'où la couleur compte encore, la douceur adoucit le bord.",
+ "Auto removal": "Suppression automatique",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "La suppression automatique garde la personne que le modèle de détourage trouve et retire le reste. La suppression manuelle part du même masque et accepte des corrections peintes sur le moniteur : le pinceau et la gomme intelligents suivent la confiance du modèle, les simples font exactement ce que vous peignez ; Appliquer termine la peinture. L'incrustation chroma retire une couleur à la place ; la similarité dit jusqu'où la couleur compte encore, la douceur adoucit le bord.",
"Balanced": "Équilibrée",
"Basic": "Base",
"Bass": "Basses",
@@ -53,8 +54,8 @@
"Black & White": "Noir et blanc",
"Blacks": "Noirs",
"Blend": "Fusion",
+ "Blue": "Bleu",
"Blue Screen": "Fond bleu",
- "Blue screen": "Fond bleu",
"Blur": "Flou",
"Body": "Corps",
"Bold": "Gras",
@@ -68,7 +69,6 @@
"British": "Britannique",
"Browse": "Parcourir",
"Brush": "Pinceau",
- "Brush size": "Taille du pinceau",
"Build": "Build",
"Bullet": "Balle",
"Bypass {0}": "Contourner {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Choisir un dossier",
"Choose where the project folder should go": "Choisissez où placer le dossier du projet",
"Choose…": "Choisir…",
+ "Chroma key": "Incrustation chroma",
"Clean": "Nettoyage",
- "Clear strokes": "Effacer les traits",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Retire la pièce d'un enregistrement : grondement, souffle, sifflantes et niveau irrégulier.",
"Clips": "Clips",
"Close project": "Fermer le projet",
@@ -116,6 +116,7 @@
"Crop": "Recadrage",
"Curve": "Courbe",
"Custom": "Personnalisé",
+ "Custom removal": "Suppression manuelle",
"Cutout": "Détourage",
"Dancing grain, the texture of film stock.": "Un grain qui danse, la texture de la pellicule.",
"Dark": "Sombre",
@@ -211,8 +212,8 @@
"Glow": "Lueur",
"Go to end": "Aller à la fin",
"Go to start": "Aller au début",
+ "Green": "Vert",
"Green Screen": "Fond vert",
- "Green screen": "Fond vert",
"Half": "Moitié",
"Hall": "Salle",
"Headline": "Gros titre",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Rien à lire pour l'instant",
"Nothing under the playhead": "Rien sous la tête de lecture",
"Nothing was said in that clip": "Rien n'a été dit dans ce clip",
- "Off": "Désactivé",
"off": "désactivé",
"One repeat, fading.": "Une répétition qui s'estompe.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Un titre par phrase prononcée, calé sur le rythme des mots, sur la première piste libre.",
@@ -330,7 +330,6 @@
"Output": "Sortie",
"Output · {0}": "Sortie · {0}",
"Pace": "Rythme",
- "Paint on the monitor": "Peindre sur le moniteur",
"Paste": "Coller",
"Pause": "Pause",
"Pick an effect or filter from the library": "Choisissez un effet ou un filtre dans la bibliothèque",
@@ -482,7 +481,6 @@
"Titles": "Titres",
"today": "aujourd'hui",
"Tone": "Tonalité",
- "Tool": "Outil",
"Toolchain": "Chaîne d'outils",
"Top": "Haut",
"Tracking": "Approche",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} Mo sur {1} Mo",
"{0} minutes ago": "il y a {0} minutes",
"{0} months ago": "il y a {0} mois",
+ "{0} strokes": "{0} traits",
"{0}m {1}s left": "{0} min {1} s restantes",
"{0}s left": "{0} s restantes"
}
diff --git a/engine/crates/concat/locales/it.json b/engine/crates/concat/locales/it.json
index 16fc7fba..e19e692c 100644
--- a/engine/crates/concat/locales/it.json
+++ b/engine/crates/concat/locales/it.json
@@ -2,6 +2,7 @@
"_": {
"name": "Italiano"
},
+ "1 stroke": "1 tratto",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Una voce più brillante, leggera e vicina. Con l'intonazione a 0 segue la quantità.",
"A concert hall: long, even reflections.": "Una sala da concerto: riflessioni lunghe e uniformi.",
"A flat, boxy blur.": "Una sfocatura piatta e squadrata.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Sottotitoli automatici",
"Auto captions from this clip's sound": "Sottotitoli automatici dal suono di questa clip",
- "Automatic": "Automatico",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automatico tiene la persona trovata dal modello di ritaglio e toglie il resto. Personalizzato parte dalla stessa maschera e accetta correzioni dipinte sul monitor: pennello e gomma intelligenti seguono la sicurezza del modello, quelli semplici fanno esattamente ciò che dipingi. Green e blue screen tolgono invece un colore; la somiglianza indica quanto lontano dal colore conta ancora, la morbidezza sfuma il bordo.",
+ "Auto removal": "Rimozione automatica",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "La rimozione automatica tiene la persona trovata dal modello di ritaglio e toglie il resto. La rimozione manuale parte dalla stessa maschera e accetta correzioni dipinte sul monitor: pennello e gomma intelligenti seguono la sicurezza del modello, quelli semplici fanno esattamente ciò che dipingi; Applica chiude la pittura. Il chroma key toglie invece un colore; la somiglianza indica quanto lontano dal colore conta ancora, la morbidezza sfuma il bordo.",
"Balanced": "Bilanciata",
"Basic": "Base",
"Bass": "Bassi",
@@ -53,8 +54,8 @@
"Black & White": "Bianco e nero",
"Blacks": "Neri",
"Blend": "Fusione",
+ "Blue": "Blu",
"Blue Screen": "Blue screen",
- "Blue screen": "Blue screen",
"Blur": "Sfocatura",
"Body": "Corpo",
"Bold": "Grassetto",
@@ -68,7 +69,6 @@
"British": "Britannico",
"Browse": "Sfoglia",
"Brush": "Pennello",
- "Brush size": "Dimensione pennello",
"Build": "Build",
"Bullet": "Proiettile",
"Bypass {0}": "Bypassa {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Scegli una cartella",
"Choose where the project folder should go": "Scegli dove mettere la cartella del progetto",
"Choose…": "Scegli…",
+ "Chroma key": "Chroma key",
"Clean": "Pulizia",
- "Clear strokes": "Cancella i tratti",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Toglie la stanza da una registrazione: rombo, fruscio, sibilanti e livello irregolare.",
"Clips": "Clip",
"Close project": "Chiudi progetto",
@@ -116,6 +116,7 @@
"Crop": "Ritaglio",
"Curve": "Curva",
"Custom": "Personalizzato",
+ "Custom removal": "Rimozione manuale",
"Cutout": "Ritaglio",
"Dancing grain, the texture of film stock.": "Grana che danza, la texture della pellicola.",
"Dark": "Scuro",
@@ -211,8 +212,8 @@
"Glow": "Bagliore",
"Go to end": "Vai alla fine",
"Go to start": "Vai all'inizio",
+ "Green": "Verde",
"Green Screen": "Green screen",
- "Green screen": "Green screen",
"Half": "Metà",
"Hall": "Sala",
"Headline": "Titolo grande",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Ancora niente da leggere",
"Nothing under the playhead": "Niente sotto la testina",
"Nothing was said in that clip": "In quella clip non è stato detto nulla",
- "Off": "Disattivato",
"off": "disattivato",
"One repeat, fading.": "Una ripetizione che sfuma.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Un titolo per ogni frase pronunciata, tagliato sul ritmo delle parole, sulla prima traccia libera.",
@@ -330,7 +330,6 @@
"Output": "Uscita",
"Output · {0}": "Uscita · {0}",
"Pace": "Ritmo",
- "Paint on the monitor": "Dipingi sul monitor",
"Paste": "Incolla",
"Pause": "Pausa",
"Pick an effect or filter from the library": "Scegli un effetto o un filtro dalla libreria",
@@ -482,7 +481,6 @@
"Titles": "Titoli",
"today": "oggi",
"Tone": "Tono",
- "Tool": "Strumento",
"Toolchain": "Toolchain",
"Top": "In alto",
"Tracking": "Spaziatura",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB di {1} MB",
"{0} minutes ago": "{0} minuti fa",
"{0} months ago": "{0} mesi fa",
+ "{0} strokes": "{0} tratti",
"{0}m {1}s left": "{0} min {1} s rimanenti",
"{0}s left": "{0} s rimanenti"
}
diff --git a/engine/crates/concat/locales/ja.json b/engine/crates/concat/locales/ja.json
index 724dac52..63bf5eec 100644
--- a/engine/crates/concat/locales/ja.json
+++ b/engine/crates/concat/locales/ja.json
@@ -2,6 +2,7 @@
"_": {
"name": "日本語"
},
+ "1 stroke": "1 ストローク",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "より明るく、軽く、近い声。ピッチが 0 のときは量に従います。",
"A concert hall: long, even reflections.": "コンサートホール:長く均一な反射。",
"A flat, boxy blur.": "平坦で角張ったぼかし。",
@@ -43,8 +44,8 @@
"auto": "自動",
"Auto captions": "自動字幕",
"Auto captions from this clip's sound": "このクリップの音声から自動字幕を作成",
- "Automatic": "自動",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "「自動」は切り抜きモデルが見つけた人物を残し、それ以外を取り除きます。「カスタム」は同じマスクから始めて、モニター上で塗った修正を受け付けます。スマートブラシとスマート消しゴムはモデルの確信度に従い、通常のブラシと消しゴムは塗ったとおりに働きます。グリーン/ブルースクリーンは代わりに一色を抜きます。類似度はその色からどれだけ離れても対象とみなすか、柔らかさは縁のぼかし具合です。",
+ "Auto removal": "自動削除",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "「自動削除」は切り抜きモデルが見つけた人物を残し、それ以外を取り除きます。「カスタム削除」は同じマスクから始めて、モニター上で塗った修正を受け付けます。スマートブラシとスマート消しゴムはモデルの確信度に従い、通常のブラシと消しゴムは塗ったとおりに働きます。「適用」で塗りを終えます。「クロマキー」は代わりに一色を抜きます。類似度はその色からどれだけ離れても対象とみなすか、柔らかさは縁のぼかし具合です。",
"Balanced": "バランス",
"Basic": "基本",
"Bass": "低音",
@@ -53,8 +54,8 @@
"Black & White": "白黒",
"Blacks": "黒レベル",
"Blend": "ブレンド",
+ "Blue": "青",
"Blue Screen": "ブルースクリーン",
- "Blue screen": "ブルースクリーン",
"Blur": "ぼかし",
"Body": "ボディ",
"Bold": "太字",
@@ -68,7 +69,6 @@
"British": "イギリス",
"Browse": "参照",
"Brush": "ブラシ",
- "Brush size": "ブラシサイズ",
"Build": "ビルド",
"Bullet": "弾丸",
"Bypass {0}": "{0} をバイパス",
@@ -89,8 +89,8 @@
"Choose a folder": "フォルダを選択",
"Choose where the project folder should go": "プロジェクトフォルダの保存先を選んでください",
"Choose…": "選択…",
+ "Chroma key": "クロマキー",
"Clean": "クリーン",
- "Clear strokes": "ストロークを消去",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "録音から部屋の響きを取り除きます:低いうねり、ヒス、歯擦音、ばらついたレベル。",
"Clips": "クリップ",
"Close project": "プロジェクトを閉じる",
@@ -116,6 +116,7 @@
"Crop": "クロップ",
"Curve": "カーブ",
"Custom": "カスタム",
+ "Custom removal": "カスタム削除",
"Cutout": "切り抜き",
"Dancing grain, the texture of film stock.": "揺れる粒子、フィルムの質感。",
"Dark": "ダーク",
@@ -211,8 +212,8 @@
"Glow": "グロー",
"Go to end": "終端へ",
"Go to start": "先頭へ",
+ "Green": "緑",
"Green Screen": "グリーンスクリーン",
- "Green screen": "グリーンスクリーン",
"Half": "1/2",
"Hall": "ホール",
"Headline": "見出し",
@@ -317,7 +318,6 @@
"Nothing to read yet": "読み上げる内容がまだありません",
"Nothing under the playhead": "再生ヘッドの下に何もありません",
"Nothing was said in that clip": "そのクリップには発話がありませんでした",
- "Off": "オフ",
"off": "オフ",
"One repeat, fading.": "一回の繰り返しがフェードします。",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "発話されたフレーズごとにタイトルを一つ、言葉のタイミングどおりに、空いている最初のレーンへ。",
@@ -330,7 +330,6 @@
"Output": "出力",
"Output · {0}": "出力 · {0}",
"Pace": "速さ",
- "Paint on the monitor": "モニター上で塗る",
"Paste": "ペースト",
"Pause": "一時停止",
"Pick an effect or filter from the library": "ライブラリからエフェクトまたはフィルターを選んでください",
@@ -482,7 +481,6 @@
"Titles": "タイトル",
"today": "今日",
"Tone": "トーン",
- "Tool": "ツール",
"Toolchain": "ツールチェーン",
"Top": "上",
"Tracking": "字間",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB / {1} MB",
"{0} minutes ago": "{0} 分前",
"{0} months ago": "{0} か月前",
+ "{0} strokes": "{0} ストローク",
"{0}m {1}s left": "残り {0} 分 {1} 秒",
"{0}s left": "残り {0} 秒"
}
diff --git a/engine/crates/concat/locales/ko.json b/engine/crates/concat/locales/ko.json
index ab967ea8..e9ebcf52 100644
--- a/engine/crates/concat/locales/ko.json
+++ b/engine/crates/concat/locales/ko.json
@@ -2,6 +2,7 @@
"_": {
"name": "한국어"
},
+ "1 stroke": "스트로크 1개",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "더 밝고 가볍고 가까운 목소리. 피치가 0이면 양을 따릅니다.",
"A concert hall: long, even reflections.": "콘서트홀: 길고 고른 반사.",
"A flat, boxy blur.": "평평하고 각진 흐림.",
@@ -43,8 +44,8 @@
"auto": "자동",
"Auto captions": "자동 자막",
"Auto captions from this clip's sound": "이 클립의 소리로 자동 자막 만들기",
- "Automatic": "자동",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "자동은 컷아웃 모델이 찾은 인물을 남기고 나머지를 제거합니다. 사용자 지정은 같은 마스크에서 시작해 모니터에 칠한 수정을 받아들입니다. 스마트 브러시와 스마트 지우개는 모델의 확신도를 따르고, 일반 도구는 칠한 대로 작동합니다. 그린/블루 스크린은 대신 한 가지 색을 제거합니다. 유사도는 그 색에서 얼마나 떨어져도 포함할지, 부드러움은 가장자리를 얼마나 흐릴지를 정합니다.",
+ "Auto removal": "자동 제거",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "자동 제거는 컷아웃 모델이 찾은 인물을 남기고 나머지를 제거합니다. 사용자 지정 제거는 같은 마스크에서 시작해 모니터에 칠한 수정을 받아들입니다. 스마트 브러시와 스마트 지우개는 모델의 확신도를 따르고, 일반 도구는 칠한 대로 작동하며, 적용을 누르면 칠하기가 끝납니다. 크로마 키는 대신 한 가지 색을 제거합니다. 유사도는 그 색에서 얼마나 떨어져도 포함할지, 부드러움은 가장자리를 얼마나 흐릴지를 정합니다.",
"Balanced": "균형",
"Basic": "기본",
"Bass": "저음",
@@ -53,8 +54,8 @@
"Black & White": "흑백",
"Blacks": "검정 계열",
"Blend": "블렌드",
+ "Blue": "파란색",
"Blue Screen": "블루 스크린",
- "Blue screen": "블루 스크린",
"Blur": "흐림",
"Body": "바디",
"Bold": "굵게",
@@ -68,7 +69,6 @@
"British": "영국식",
"Browse": "찾아보기",
"Brush": "브러시",
- "Brush size": "브러시 크기",
"Build": "빌드",
"Bullet": "탄환",
"Bypass {0}": "{0} 우회",
@@ -89,8 +89,8 @@
"Choose a folder": "폴더 선택",
"Choose where the project folder should go": "프로젝트 폴더를 둘 위치를 선택하세요",
"Choose…": "선택…",
+ "Chroma key": "크로마 키",
"Clean": "정리",
- "Clear strokes": "선 지우기",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "녹음에서 공간의 울림을 걷어냅니다: 저역 울림, 히스, 치찰음, 고르지 않은 레벨.",
"Clips": "클립",
"Close project": "프로젝트 닫기",
@@ -116,6 +116,7 @@
"Crop": "자르기",
"Curve": "곡선",
"Custom": "사용자 지정",
+ "Custom removal": "사용자 지정 제거",
"Cutout": "컷아웃",
"Dancing grain, the texture of film stock.": "살아 움직이는 입자, 필름의 질감.",
"Dark": "다크",
@@ -211,8 +212,8 @@
"Glow": "글로우",
"Go to end": "끝으로",
"Go to start": "처음으로",
+ "Green": "녹색",
"Green Screen": "그린 스크린",
- "Green screen": "그린 스크린",
"Half": "1/2",
"Hall": "홀",
"Headline": "헤드라인",
@@ -317,7 +318,6 @@
"Nothing to read yet": "아직 읽을 내용이 없습니다",
"Nothing under the playhead": "재생 헤드 아래에 아무것도 없습니다",
"Nothing was said in that clip": "그 클립에는 말소리가 없습니다",
- "Off": "끔",
"off": "끔",
"One repeat, fading.": "한 번 반복하며 사라집니다.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "말한 구절마다 자막 하나씩, 말의 타이밍에 맞춰, 자리가 있는 첫 레인에 놓습니다.",
@@ -330,7 +330,6 @@
"Output": "출력",
"Output · {0}": "출력 · {0}",
"Pace": "속도",
- "Paint on the monitor": "모니터에 칠하기",
"Paste": "붙여넣기",
"Pause": "일시 정지",
"Pick an effect or filter from the library": "라이브러리에서 효과나 필터를 선택하세요",
@@ -482,7 +481,6 @@
"Titles": "자막",
"today": "오늘",
"Tone": "톤",
- "Tool": "도구",
"Toolchain": "툴체인",
"Top": "위",
"Tracking": "자간",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB / {1} MB",
"{0} minutes ago": "{0}분 전",
"{0} months ago": "{0}개월 전",
+ "{0} strokes": "스트로크 {0}개",
"{0}m {1}s left": "{0}분 {1}초 남음",
"{0}s left": "{0}초 남음"
}
diff --git a/engine/crates/concat/locales/pt-BR.json b/engine/crates/concat/locales/pt-BR.json
index 047a0668..4b221606 100644
--- a/engine/crates/concat/locales/pt-BR.json
+++ b/engine/crates/concat/locales/pt-BR.json
@@ -2,6 +2,7 @@
"_": {
"name": "Português (Brasil)"
},
+ "1 stroke": "1 traço",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Uma voz mais brilhante, leve e próxima. Com o tom em 0, segue a quantidade.",
"A concert hall: long, even reflections.": "Uma sala de concertos: reflexões longas e uniformes.",
"A flat, boxy blur.": "Um desfoque plano e quadrado.",
@@ -43,8 +44,8 @@
"auto": "auto",
"Auto captions": "Legendas automáticas",
"Auto captions from this clip's sound": "Legendas automáticas a partir do som deste clipe",
- "Automatic": "Automático",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Automático mantém a pessoa que o modelo de recorte encontra e descarta o resto. Personalizado parte da mesma máscara e aceita correções pintadas no monitor: o pincel e a borracha inteligentes seguem a confiança do modelo; os simples fazem exatamente o que você pinta. As telas verde e azul, em vez disso, removem uma cor; similaridade define até que distância da cor ainda conta, e suavidade esfuma a borda.",
+ "Auto removal": "Remoção automática",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "A remoção automática mantém a pessoa que o modelo de recorte encontra e descarta o resto. A remoção manual parte da mesma máscara e aceita correções pintadas no monitor: o pincel e a borracha inteligentes seguem a confiança do modelo; os simples fazem exatamente o que você pinta; Aplicar encerra a pintura. O chroma key, em vez disso, remove uma cor; similaridade define até que distância da cor ainda conta, e suavidade esfuma a borda.",
"Balanced": "Equilibrada",
"Basic": "Básico",
"Bass": "Graves",
@@ -53,8 +54,8 @@
"Black & White": "Preto e branco",
"Blacks": "Pretos",
"Blend": "Mesclagem",
+ "Blue": "Azul",
"Blue Screen": "Tela azul",
- "Blue screen": "Tela azul",
"Blur": "Desfoque",
"Body": "Corpo",
"Bold": "Negrito",
@@ -68,7 +69,6 @@
"British": "Britânico",
"Browse": "Procurar",
"Brush": "Pincel",
- "Brush size": "Tamanho do pincel",
"Build": "Build",
"Bullet": "Bala",
"Bypass {0}": "Ignorar {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Escolha uma pasta",
"Choose where the project folder should go": "Escolha onde a pasta do projeto deve ficar",
"Choose…": "Escolher…",
+ "Chroma key": "Chroma key",
"Clean": "Limpeza",
- "Clear strokes": "Apagar traços",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Tira a sala de uma gravação: ronco, chiado, sibilância e nível irregular.",
"Clips": "Clipes",
"Close project": "Fechar projeto",
@@ -116,6 +116,7 @@
"Crop": "Recorte",
"Curve": "Curva",
"Custom": "Personalizado",
+ "Custom removal": "Remoção manual",
"Cutout": "Recorte",
"Dancing grain, the texture of film stock.": "Granulação em movimento, a textura da película.",
"Dark": "Escuro",
@@ -211,8 +212,8 @@
"Glow": "Brilho",
"Go to end": "Ir para o fim",
"Go to start": "Ir para o início",
+ "Green": "Verde",
"Green Screen": "Tela verde",
- "Green screen": "Tela verde",
"Half": "Metade",
"Hall": "Salão",
"Headline": "Manchete",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Nada para ler ainda",
"Nothing under the playhead": "Nada sob o cursor",
"Nothing was said in that clip": "Nada foi dito nesse clipe",
- "Off": "Desligado",
"off": "desligado",
"One repeat, fading.": "Uma repetição que se esvai.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Um título por frase falada, no ritmo das palavras, na primeira faixa com espaço.",
@@ -330,7 +330,6 @@
"Output": "Saída",
"Output · {0}": "Saída · {0}",
"Pace": "Ritmo",
- "Paint on the monitor": "Pintar no monitor",
"Paste": "Colar",
"Pause": "Pausar",
"Pick an effect or filter from the library": "Escolha um efeito ou filtro na biblioteca",
@@ -482,7 +481,6 @@
"Titles": "Títulos",
"today": "hoje",
"Tone": "Tom",
- "Tool": "Ferramenta",
"Toolchain": "Toolchain",
"Top": "Em cima",
"Tracking": "Espaçamento",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB de {1} MB",
"{0} minutes ago": "há {0} minutos",
"{0} months ago": "há {0} meses",
+ "{0} strokes": "{0} traços",
"{0}m {1}s left": "faltam {0} min {1} s",
"{0}s left": "faltam {0} s"
}
diff --git a/engine/crates/concat/locales/ru.json b/engine/crates/concat/locales/ru.json
index 22c6a6eb..abd35055 100644
--- a/engine/crates/concat/locales/ru.json
+++ b/engine/crates/concat/locales/ru.json
@@ -2,6 +2,7 @@
"_": {
"name": "Русский"
},
+ "1 stroke": "1 штрих",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Более яркий, лёгкий и близкий голос. Высота на 0 следует за силой эффекта.",
"A concert hall: long, even reflections.": "Концертный зал: долгие, ровные отражения.",
"A flat, boxy blur.": "Плоское, квадратное размытие.",
@@ -43,8 +44,8 @@
"auto": "авто",
"Auto captions": "Автосубтитры",
"Auto captions from this clip's sound": "Автосубтитры из звука этого клипа",
- "Automatic": "Автоматически",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Автоматически: остаётся человек, которого нашла модель вырезания, остальное убирается. Вручную: та же маска плюс поправки, нарисованные на мониторе — умная кисть и умный ластик следуют уверенности модели, обычные делают ровно то, что вы рисуете. Зелёный и синий экран вместо этого убирают один цвет; сходство задаёт, насколько далёкий от цвета оттенок ещё считается, мягкость растушёвывает край.",
+ "Auto removal": "Автоматическое удаление",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "Автоматическое удаление оставляет человека, которого нашла модель вырезания, и убирает остальное. Ручное удаление берёт ту же маску плюс поправки, нарисованные на мониторе: умная кисть и умный ластик следуют уверенности модели, обычные делают ровно то, что вы рисуете; «Применить» завершает рисование. Хромакей вместо этого убирает один цвет; сходство задаёт, насколько далёкий от цвета оттенок ещё считается, мягкость растушёвывает край.",
"Balanced": "Сбалансированное",
"Basic": "Основное",
"Bass": "Низкие",
@@ -53,8 +54,8 @@
"Black & White": "Чёрно-белое",
"Blacks": "Чёрные",
"Blend": "Наложение",
+ "Blue": "Синий",
"Blue Screen": "Синий экран",
- "Blue screen": "Синий экран",
"Blur": "Размытие",
"Body": "Тело",
"Bold": "Жирный",
@@ -68,7 +69,6 @@
"British": "Британский",
"Browse": "Обзор",
"Brush": "Кисть",
- "Brush size": "Размер кисти",
"Build": "Сборка",
"Bullet": "Пуля",
"Bypass {0}": "Обойти {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "Выберите папку",
"Choose where the project folder should go": "Выберите, где будет папка проекта",
"Choose…": "Выбрать…",
+ "Chroma key": "Хромакей",
"Clean": "Очистка",
- "Clear strokes": "Стереть штрихи",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Убирает комнату из записи: гул, шипение, свистящие и неровный уровень.",
"Clips": "Клипы",
"Close project": "Закрыть проект",
@@ -116,6 +116,7 @@
"Crop": "Кадрирование",
"Curve": "Кривая",
"Custom": "Вручную",
+ "Custom removal": "Ручное удаление",
"Cutout": "Вырезание",
"Dancing grain, the texture of film stock.": "Живое зерно, фактура киноплёнки.",
"Dark": "Тёмная",
@@ -211,8 +212,8 @@
"Glow": "Свечение",
"Go to end": "В конец",
"Go to start": "В начало",
+ "Green": "Зелёный",
"Green Screen": "Зелёный экран",
- "Green screen": "Зелёный экран",
"Half": "Половина",
"Hall": "Зал",
"Headline": "Заголовок",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Пока нечего читать",
"Nothing under the playhead": "Под курсором ничего нет",
"Nothing was said in that clip": "В этом клипе ничего не сказано",
- "Off": "Выкл.",
"off": "выкл.",
"One repeat, fading.": "Один повтор, затухающий.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Один титр на каждую произнесённую фразу, в такт словам, на первой свободной дорожке.",
@@ -330,7 +330,6 @@
"Output": "Вывод",
"Output · {0}": "Вывод · {0}",
"Pace": "Темп",
- "Paint on the monitor": "Рисовать на мониторе",
"Paste": "Вставить",
"Pause": "Пауза",
"Pick an effect or filter from the library": "Выберите эффект или фильтр в библиотеке",
@@ -482,7 +481,6 @@
"Titles": "Титры",
"today": "сегодня",
"Tone": "Тон",
- "Tool": "Инструмент",
"Toolchain": "Инструментарий",
"Top": "Сверху",
"Tracking": "Трекинг",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} МБ из {1} МБ",
"{0} minutes ago": "{0} мин. назад",
"{0} months ago": "{0} мес. назад",
+ "{0} strokes": "{0} штрихов",
"{0}m {1}s left": "осталось {0} мин {1} с",
"{0}s left": "осталось {0} с"
}
diff --git a/engine/crates/concat/locales/tr.json b/engine/crates/concat/locales/tr.json
index a861df6a..b188f773 100644
--- a/engine/crates/concat/locales/tr.json
+++ b/engine/crates/concat/locales/tr.json
@@ -2,6 +2,7 @@
"_": {
"name": "Türkçe"
},
+ "1 stroke": "1 fırça darbesi",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "Daha parlak, hafif ve yakın bir ses. Perde 0'da miktarı izler.",
"A concert hall: long, even reflections.": "Bir konser salonu: uzun, düzgün yansımalar.",
"A flat, boxy blur.": "Düz, kutu biçimli bir bulanıklık.",
@@ -43,8 +44,8 @@
"auto": "otomatik",
"Auto captions": "Otomatik altyazı",
"Auto captions from this clip's sound": "Bu klibin sesinden otomatik altyazı",
- "Automatic": "Otomatik",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "Otomatik, kesme modelinin bulduğu kişiyi tutar, gerisini atar. Özel aynı maskeden başlar ve monitörde boyanan düzeltmeleri alır: akıllı fırça ve akıllı silgi modelin güvenine uyar, düz olanlar tam boyadığınızı yapar. Yeşil ve mavi perde ise bir rengi çıkarır; benzerlik, renkten ne kadar uzağın hâlâ sayılacağını, yumuşaklık kenarın ne kadar yumuşayacağını belirler.",
+ "Auto removal": "Otomatik kaldırma",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "Otomatik kaldırma, kesme modelinin bulduğu kişiyi tutar, gerisini atar. Özel kaldırma aynı maskeden başlar ve monitörde boyanan düzeltmeleri alır: akıllı fırça ve akıllı silgi modelin güvenine uyar, düz olanlar tam boyadığınızı yapar; Uygula boyamayı bitirir. Chroma key ise bir rengi çıkarır; benzerlik, renkten ne kadar uzağın hâlâ sayılacağını, yumuşaklık kenarın ne kadar yumuşayacağını belirler.",
"Balanced": "Dengeli",
"Basic": "Temel",
"Bass": "Bas",
@@ -53,8 +54,8 @@
"Black & White": "Siyah-Beyaz",
"Blacks": "Siyahlar",
"Blend": "Karışım",
+ "Blue": "Mavi",
"Blue Screen": "Mavi perde",
- "Blue screen": "Mavi perde",
"Blur": "Bulanıklık",
"Body": "Gövde",
"Bold": "Kalın",
@@ -68,7 +69,6 @@
"British": "İngiliz",
"Browse": "Gözat",
"Brush": "Fırça",
- "Brush size": "Fırça boyutu",
"Build": "Derleme",
"Bullet": "Mermi",
"Bypass {0}": "{0} atla",
@@ -89,8 +89,8 @@
"Choose a folder": "Bir klasör seçin",
"Choose where the project folder should go": "Proje klasörünün nereye gideceğini seçin",
"Choose…": "Seç…",
+ "Chroma key": "Chroma key",
"Clean": "Temizlik",
- "Clear strokes": "Fırça izlerini sil",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "Kayıttaki odayı temizler: uğultu, hışırtı, ıslıklı sesler ve düzensiz seviye.",
"Clips": "Klipler",
"Close project": "Projeyi kapat",
@@ -116,6 +116,7 @@
"Crop": "Kırp",
"Curve": "Eğri",
"Custom": "Özel",
+ "Custom removal": "Özel kaldırma",
"Cutout": "Kesme",
"Dancing grain, the texture of film stock.": "Kıpırdayan gren, film dokusu.",
"Dark": "Koyu",
@@ -211,8 +212,8 @@
"Glow": "Parıltı",
"Go to end": "Sona git",
"Go to start": "Başa git",
+ "Green": "Yeşil",
"Green Screen": "Yeşil perde",
- "Green screen": "Yeşil perde",
"Half": "Yarım",
"Hall": "Salon",
"Headline": "Manşet",
@@ -317,7 +318,6 @@
"Nothing to read yet": "Henüz okunacak bir şey yok",
"Nothing under the playhead": "Oynatma imlecinin altında bir şey yok",
"Nothing was said in that clip": "O klipte hiçbir şey söylenmedi",
- "Off": "Kapalı",
"off": "kapalı",
"One repeat, fading.": "Sönen tek bir tekrar.",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "Söylenen her cümle için bir yazı, kelimelerin kendi zamanlamasıyla, yeri olan ilk şeritte.",
@@ -330,7 +330,6 @@
"Output": "Çıktı",
"Output · {0}": "Çıkış · {0}",
"Pace": "Tempo",
- "Paint on the monitor": "Monitörde boya",
"Paste": "Yapıştır",
"Pause": "Duraklat",
"Pick an effect or filter from the library": "Kitaplıktan bir efekt veya filtre seçin",
@@ -482,7 +481,6 @@
"Titles": "Yazılar",
"today": "bugün",
"Tone": "Ton",
- "Tool": "Araç",
"Toolchain": "Araç zinciri",
"Top": "Üst",
"Tracking": "Harf aralığı",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB / {1} MB",
"{0} minutes ago": "{0} dakika önce",
"{0} months ago": "{0} ay önce",
+ "{0} strokes": "{0} fırça darbesi",
"{0}m {1}s left": "{0} dk {1} sn kaldı",
"{0}s left": "{0} sn kaldı"
}
diff --git a/engine/crates/concat/locales/zh-Hans.json b/engine/crates/concat/locales/zh-Hans.json
index 39768f6f..3978676d 100644
--- a/engine/crates/concat/locales/zh-Hans.json
+++ b/engine/crates/concat/locales/zh-Hans.json
@@ -2,6 +2,7 @@
"_": {
"name": "简体中文"
},
+ "1 stroke": "1 笔",
"A brighter, lighter, closer voice. Pitch at 0 follows the amount.": "更明亮、更轻盈、更贴近的声音。音高为 0 时跟随强度。",
"A concert hall: long, even reflections.": "音乐厅:悠长而均匀的反射。",
"A flat, boxy blur.": "平直的方形模糊。",
@@ -43,8 +44,8 @@
"auto": "自动",
"Auto captions": "自动字幕",
"Auto captions from this clip's sound": "根据此片段的声音生成自动字幕",
- "Automatic": "自动",
- "Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.": "“自动”保留抠像模型找到的人物并去掉其余部分。“自定义”从同一蒙版出发,接受在监视器上涂画的修正:智能画笔和智能橡皮遵循模型的置信度,普通工具则完全按你涂画的执行。绿幕和蓝幕则是抠掉一种颜色;相似度决定与该颜色相差多远仍算在内,柔和度决定边缘羽化程度。",
+ "Auto removal": "自动移除",
+ "Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.": "“自动移除”保留抠像模型找到的人物并去掉其余部分。“自定义移除”从同一蒙版出发,接受在监视器上涂画的修正:智能画笔和智能橡皮遵循模型的置信度,普通工具则完全按你涂画的执行;点“应用”结束涂画。“色度键”则是抠掉一种颜色;相似度决定与该颜色相差多远仍算在内,柔和度决定边缘羽化程度。",
"Balanced": "均衡",
"Basic": "基础",
"Bass": "低音",
@@ -53,8 +54,8 @@
"Black & White": "黑白",
"Blacks": "黑色色阶",
"Blend": "混合",
+ "Blue": "蓝色",
"Blue Screen": "蓝幕",
- "Blue screen": "蓝幕",
"Blur": "模糊",
"Body": "厚度",
"Bold": "粗体",
@@ -68,7 +69,6 @@
"British": "英式",
"Browse": "浏览",
"Brush": "画笔",
- "Brush size": "画笔大小",
"Build": "构建",
"Bullet": "子弹",
"Bypass {0}": "旁通 {0}",
@@ -89,8 +89,8 @@
"Choose a folder": "选择文件夹",
"Choose where the project folder should go": "请选择项目文件夹的存放位置",
"Choose…": "选择…",
+ "Chroma key": "色度键",
"Clean": "净化",
- "Clear strokes": "清除笔画",
"Clears the room out of a recording: rumble, hiss, sibilance and uneven level.": "去除录音中的房间感:低频轰鸣、底噪、齿音和不均匀的电平。",
"Clips": "片段",
"Close project": "关闭项目",
@@ -116,6 +116,7 @@
"Crop": "裁剪",
"Curve": "曲线",
"Custom": "自定义",
+ "Custom removal": "自定义移除",
"Cutout": "抠像",
"Dancing grain, the texture of film stock.": "跳动的颗粒,胶片的质感。",
"Dark": "深色",
@@ -211,8 +212,8 @@
"Glow": "发光",
"Go to end": "跳到结尾",
"Go to start": "跳到开头",
+ "Green": "绿色",
"Green Screen": "绿幕",
- "Green screen": "绿幕",
"Half": "1/2",
"Hall": "大厅",
"Headline": "标题",
@@ -317,7 +318,6 @@
"Nothing to read yet": "还没有可朗读的内容",
"Nothing under the playhead": "播放头下方没有内容",
"Nothing was said in that clip": "该片段中没有说话内容",
- "Off": "关",
"off": "关",
"One repeat, fading.": "一次重复,逐渐消失。",
"One title per phrase spoken, cut to the words' own timing, on the first lane with room.": "每说一句生成一条字幕,按语句自身的时间切分,放在第一条有空位的轨道上。",
@@ -330,7 +330,6 @@
"Output": "输出",
"Output · {0}": "输出 · {0}",
"Pace": "语速",
- "Paint on the monitor": "在监视器上涂画",
"Paste": "粘贴",
"Pause": "暂停",
"Pick an effect or filter from the library": "请从素材库中选择效果或滤镜",
@@ -482,7 +481,6 @@
"Titles": "字幕",
"today": "今天",
"Tone": "音色",
- "Tool": "工具",
"Toolchain": "工具链",
"Top": "顶部",
"Tracking": "字距",
@@ -527,6 +525,7 @@
"{0} MB of {1} MB": "{0} MB / {1} MB",
"{0} minutes ago": "{0} 分钟前",
"{0} months ago": "{0} 个月前",
+ "{0} strokes": "{0} 笔",
"{0}m {1}s left": "剩余 {0} 分 {1} 秒",
"{0}s left": "剩余 {0} 秒"
}
diff --git a/engine/crates/concat/ui/icons.slint b/engine/crates/concat/ui/icons.slint
index 6e0ecec3..3dc2ef52 100644
--- a/engine/crates/concat/ui/icons.slint
+++ b/engine/crates/concat/ui/icons.slint
@@ -104,6 +104,9 @@ export enum Glyph {
// the start screen
info,
folder,
+ // the cutout's brushes
+ brush,
+ eraser,
}
component Stroked inherits Path {
@@ -486,6 +489,22 @@ export component Icon inherits Rectangle {
+ " 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z M21 20V4";
}
+ // lucide/brush
+ if root.glyph == Glyph.brush: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "m11 10 3 3 M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708"
+ + " 1.792A1 1 0 0 0 3 21z M9.969 17.031 21.378 5.624a1 1 0 0"
+ + " 0-3.002-3.002L6.967 14.031";
+ }
+
+ // lucide/eraser
+ if root.glyph == Glyph.eraser: Stroked {
+ size: root.size; tint: root.tint; weight: root.weight;
+ commands: "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2"
+ + " 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"
+ + " M5.082 11.09l8.828 8.828";
+ }
+
// lucide/step-forward
if root.glyph == Glyph.step-forward: Stroked {
size: root.size; tint: root.tint; weight: root.weight;
diff --git a/engine/crates/concat/ui/inspector/clip-inspector.slint b/engine/crates/concat/ui/inspector/clip-inspector.slint
index 2996cc15..3c5b7e08 100644
--- a/engine/crates/concat/ui/inspector/clip-inspector.slint
+++ b/engine/crates/concat/ui/inspector/clip-inspector.slint
@@ -9,7 +9,7 @@ import { Button } from "../primitives/modal.slint";
import { SegmentedControl } from "../primitives/segmented-control.slint";
import { Select } from "../primitives/select.slint";
import {
- Fader, HelpButton, InspectorFmt, Note, Param, ParamFormat,
+ Check, Fader, HelpButton, InspectorFmt, Note, Param, ParamFormat,
Rail, ResetButton, SearchField, Subhead, Switch, SwitchRow,
} from "controls.slint";
import { ClipField, ClipKind, Keyframes, SelectedClipData } from "../timeline/model.slint";
@@ -566,6 +566,110 @@ export component ProcessorRows inherits VerticalLayout {
// to `selected` would work exactly once and then go deaf to the model. They
// are seeded instead, on init and whenever the selection changes under us.
+// One way of removing the background, as a line: a tick, the name, and
+// whatever trails on the right - a reset, when the block has one.
+component RemovalBlock inherits HorizontalLayout {
+ in property <string> title;
+ in property <bool> on;
+
+ callback toggled(on: bool);
+
+ padding-left: Theme.pad;
+ padding-right: Theme.pad;
+ spacing: 8px;
+ min-height: Theme.h;
+
+ VerticalLayout {
+ alignment: center;
+ Check {
+ checked: root.on;
+ toggled(on) => { root.toggled(on); }
+ }
+ }
+ head := Rectangle {
+ horizontal-stretch: 1;
+ Text {
+ x: 0;
+ width: parent.width;
+ height: parent.height;
+ text: root.title;
+ color: Theme.fg;
+ font-size: Theme.fs;
+ font-weight: Theme.weight-title;
+ vertical-alignment: center;
+ overflow: elide;
+ }
+ TouchArea {
+ mouse-cursor: pointer;
+ clicked => { root.toggled(!root.on); }
+ }
+ }
+ VerticalLayout {
+ alignment: center;
+ HorizontalLayout {
+ spacing: 2px;
+ @children
+ }
+ }
+}
+
+// A brush in the custom cutout's tray. The smart ones wear a spark, since
+// the glyph is the same brush either way and what differs is whether it
+// listens to the mask.
+component ToolButton inherits Rectangle {
+ in property <Glyph> glyph;
+ in property <bool> smart;
+ in property <string> label;
+ in property <bool> checked;
+
+ callback clicked();
+
+ width: 30px;
+ height: 30px;
+
+ IconButton {
+ x: 0;
+ width: 30px;
+ glyph: root.glyph;
+ label: root.label;
+ checked: root.checked;
+ icon-size: 15px;
+ clicked => { root.clicked(); }
+ }
+ if root.smart: Icon {
+ x: parent.width - self.width - 2px;
+ y: 2px;
+ glyph: Glyph.sparkle;
+ size: 8px;
+ tint: root.checked ? Theme.accent : Theme.fg-muted;
+ }
+}
+
+// The cutout model at work, while it runs: the masks are found in the
+// background and the picture is shown as shot until they are.
+component AnalysisRow inherits Row {
+ in property <float> progress;
+
+ label: I18n.t("Analysis");
+ Text {
+ text: I18n.t1("Finding the subject… {0}%", "\{Math.round(root.progress * 100)}");
+ color: Theme.fg-muted;
+ font-size: Theme.fs;
+ vertical-alignment: center;
+ }
+}
+
+// A rule between blocks inside one section, inset to the section's padding
+// where a Section's own hairline runs edge to edge.
+component Hairline inherits HorizontalLayout {
+ padding-left: Theme.pad;
+ padding-right: Theme.pad;
+ Rectangle {
+ height: 1px;
+ background: Theme.line;
+ }
+}
+
/// Video: how the picture sits in the frame, how solid it is, and whether
/// its background is keyed out.
export component VideoPanel inherits VerticalLayout {
@@ -617,6 +721,22 @@ export component VideoPanel inherits VerticalLayout {
property <int> removal: root.keyer == 1 ? 3 : root.keyer == 2 ? 4 : root.selected.cutout;
property <bool> masked: root.removal == 1 || root.removal == 2;
+ /// Puts one removal on and the others off: 0 none, 1 auto, 2 custom,
+ /// 3 green key, 4 blue key. The keyer comes off the chain before
+ /// anything else goes on, and the cutout is set or cleared to match.
+ function remove-by(index: int) {
+ if (root.keyer-index >= 0) {
+ root.chain-remove(root.keyer-index);
+ }
+ root.cutout-mode(index == 1 ? 1 : index == 2 ? 2 : 0);
+ if (index == 3) {
+ root.chain-add("concat.green-screen");
+ } else if (index == 4) {
+ root.chain-add("concat.blue-screen");
+ }
+ root.commit();
+ }
+
property <float> scale;
property <float> offset-x;
property <float> offset-y;
@@ -790,19 +910,19 @@ export component VideoPanel inherits VerticalLayout {
}
}
- // The background taken away. Automatic and custom cut by the mask the
- // cutout model finds for the person in the picture - custom with
- // strokes painted on the monitor over it - and the two screens key a
- // colour out. A screen is the chroma package on the chain, which is why
- // its knobs read from the chain's own rows.
+ // The background taken away, one of three ways, each a block with a
+ // tick: automatic and custom cut by the mask the cutout model finds
+ // for the person in the picture - custom with strokes painted on the
+ // monitor over it - and chroma key drops a colour. A key is the chroma
+ // package on the chain, which is why its knobs read from the chain's
+ // own rows. One at a time: ticking a block unticks the others.
Section {
cutout := SectionHeader {
title: I18n.t("Remove background");
collapsible: true;
summary: root.removal == 0 ? I18n.t("off")
- : root.removal == 1 ? I18n.t("Automatic")
- : root.removal == 2 ? I18n.t("Custom")
- : root.removal == 3 ? I18n.t("Green screen") : I18n.t("Blue screen");
+ : root.removal == 1 ? I18n.t("Auto removal")
+ : root.removal == 2 ? I18n.t("Custom removal") : I18n.t("Chroma key");
HelpButton {
open: root.cutout-help;
toggled => { root.cutout-help = self.open; }
@@ -811,33 +931,15 @@ export component VideoPanel inherits VerticalLayout {
if cutout.open: SectionBody {
if root.cutout-help: Note {
- text: I18n.t("Automatic keeps the person the cutout model finds and drops the rest. Custom starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint. Green and blue screen key one colour out instead; similarity is how far from the colour still counts, softness feathers the edge.");
+ text: I18n.t("Auto removal keeps the person the cutout model finds and drops the rest. Custom removal starts from the same mask and takes corrections painted on the monitor: the smart brush and smart eraser follow the model's confidence, the plain ones do exactly what you paint; Apply ends the painting. Chroma key drops one colour instead; similarity is how far from the colour still counts, softness feathers the edge.");
}
- Row {
- label: I18n.t("Mode");
- Select {
- options: [I18n.t("Off"), I18n.t("Automatic"), I18n.t("Custom"), I18n.t("Green screen"), I18n.t("Blue screen")];
- current: root.removal;
- changed(index) => {
- // One removal at a time: the keyer comes off the chain
- // before anything else goes on, and the cutout is set
- // or cleared to match.
- if (root.keyer-index >= 0) {
- root.chain-remove(root.keyer-index);
- }
- root.cutout-mode(index == 1 ? 1 : index == 2 ? 2 : 0);
- if (index == 3) {
- root.chain-add("concat.green-screen");
- } else if (index == 4) {
- root.chain-add("concat.blue-screen");
- }
- root.commit();
- }
- }
+ RemovalBlock {
+ title: I18n.t("Auto removal");
+ on: root.removal == 1;
+ toggled(on) => { root.remove-by(on ? 1 : 0); }
}
-
- if root.masked: Param {
+ if root.removal == 1: Param {
label: I18n.t("Feather");
value <=> root.feather;
minimum: 0;
@@ -847,29 +949,59 @@ export component VideoPanel inherits VerticalLayout {
fmt: ParamFormat.percent;
changed(v) => { root.set(ClipField.cutout-feather, v); root.commit(); }
}
+ if root.removal == 1 && root.selected.cutout-progress >= 0: AnalysisRow {
+ progress: root.selected.cutout-progress;
+ }
- // The analysis, while it runs: the masks are found in the
- // background and the picture is shown as shot until they are.
- if root.masked && root.selected.cutout-progress >= 0: Row {
- label: I18n.t("Analysis");
- Text {
- text: I18n.t1("Finding the subject… {0}%", "\{Math.round(root.selected.cutout-progress * 100)}");
- color: Theme.fg-muted;
- font-size: Theme.fs;
- vertical-alignment: center;
+ Hairline { }
+
+ RemovalBlock {
+ title: I18n.t("Custom removal");
+ on: root.removal == 2;
+ toggled(on) => { root.remove-by(on ? 2 : 0); }
+ ResetButton {
+ dirty: root.removal == 2 && root.selected.cutout-strokes > 0;
+ reset => { root.cutout-clear(); }
}
}
-
- if root.removal == 2: Row {
- label: I18n.t("Tool");
- Select {
- options: [I18n.t("Smart brush"), I18n.t("Brush"), I18n.t("Smart eraser"), I18n.t("Eraser")];
- current: root.brush-tool;
- changed(index) => { root.cutout-tool(index); }
+ // The brushes, CapCut's way round: the two that follow the mask,
+ // then the two that do as they are told. Picking one starts the
+ // painting; Apply ends it.
+ if root.removal == 2: HorizontalLayout {
+ padding-left: Theme.pad;
+ padding-right: Theme.pad;
+ spacing: 6px;
+ ToolButton {
+ glyph: Glyph.brush;
+ smart: true;
+ label: I18n.t("Smart brush");
+ checked: root.painting && root.brush-tool == 0;
+ clicked => { root.cutout-tool(0); root.cutout-painting(true); }
}
+ ToolButton {
+ glyph: Glyph.eraser;
+ smart: true;
+ label: I18n.t("Smart eraser");
+ checked: root.painting && root.brush-tool == 2;
+ clicked => { root.cutout-tool(2); root.cutout-painting(true); }
+ }
+ Rectangle { width: 1px; height: 18px; background: Theme.line; }
+ ToolButton {
+ glyph: Glyph.brush;
+ label: I18n.t("Brush");
+ checked: root.painting && root.brush-tool == 1;
+ clicked => { root.cutout-tool(1); root.cutout-painting(true); }
+ }
+ ToolButton {
+ glyph: Glyph.eraser;
+ label: I18n.t("Eraser");
+ checked: root.painting && root.brush-tool == 3;
+ clicked => { root.cutout-tool(3); root.cutout-painting(true); }
+ }
+ Rectangle { horizontal-stretch: 1; }
}
if root.removal == 2: Param {
- label: I18n.t("Brush size");
+ label: I18n.t("Size");
value: root.brush-size;
minimum: 0.005;
maximum: 0.5;
@@ -878,19 +1010,44 @@ export component VideoPanel inherits VerticalLayout {
fmt: ParamFormat.percent;
changed(v) => { root.cutout-size(v); }
}
- if root.removal == 2: SwitchRow {
- label: I18n.t("Paint on the monitor");
- checked: root.painting;
- toggled(on) => { root.cutout-painting(on); }
+ if root.removal == 2: Param {
+ label: I18n.t("Feather");
+ value <=> root.feather;
+ minimum: 0;
+ maximum: 0.1;
+ step: 0.002;
+ default-value: 0.01;
+ fmt: ParamFormat.percent;
+ changed(v) => { root.set(ClipField.cutout-feather, v); root.commit(); }
+ }
+ if root.removal == 2 && root.selected.cutout-progress >= 0: AnalysisRow {
+ progress: root.selected.cutout-progress;
}
if root.removal == 2: Row {
- label: root.selected.cutout-strokes == 1 ? "1 stroke"
- : "\{root.selected.cutout-strokes} strokes";
+ label: root.selected.cutout-strokes == 1 ? I18n.t("1 stroke")
+ : I18n.t1("{0} strokes", "\{root.selected.cutout-strokes}");
+ Rectangle { horizontal-stretch: 1; }
Button {
- label: I18n.t("Clear strokes");
- ghost: true;
- enabled: root.selected.cutout-strokes > 0;
- clicked => { root.cutout-clear(); }
+ label: I18n.t("Apply");
+ primary: true;
+ enabled: root.painting;
+ clicked => { root.cutout-painting(false); }
+ }
+ }
+
+ Hairline { }
+
+ RemovalBlock {
+ title: I18n.t("Chroma key");
+ on: root.keyer > 0;
+ toggled(on) => { root.remove-by(on ? 3 : 0); }
+ }
+ if root.keyer > 0: Row {
+ label: I18n.t("Color");
+ Select {
+ options: [I18n.t("Green"), I18n.t("Blue")];
+ current: root.keyer - 1;
+ changed(index) => { root.remove-by(index + 3); }
}
}
diff --git a/engine/crates/concat/ui/inspector/controls.slint b/engine/crates/concat/ui/inspector/controls.slint
index 3fdc82a7..92154e69 100644
--- a/engine/crates/concat/ui/inspector/controls.slint
+++ b/engine/crates/concat/ui/inspector/controls.slint
@@ -542,6 +542,41 @@ export component Subhead inherits VerticalLayout {
}
}
+// A square tick box, for a block that is on or off among siblings that
+// exclude it - the three ways of removing a background. A Switch says a
+// setting is on; a box among boxes says which one.
+export component Check inherits Rectangle {
+ in-out property <bool> checked;
+ in property <bool> enabled: true;
+
+ callback toggled(checked: bool);
+
+ width: 16px;
+ height: 16px;
+ border-radius: 4px;
+ background: root.checked ? Theme.accent : Theme.field-active;
+ opacity: root.enabled ? 1.0 : 0.45;
+
+ animate background { duration: 120ms; easing: cubic-bezier(0.4, 0, 0.2, 1); }
+
+ if root.checked: Icon {
+ x: (parent.width - self.width) / 2;
+ y: (parent.height - self.height) / 2;
+ glyph: Glyph.check;
+ size: 11px;
+ tint: Theme.on-accent;
+ }
+
+ touch := TouchArea {
+ enabled: root.enabled;
+ mouse-cursor: pointer;
+ clicked => {
+ root.checked = !root.checked;
+ root.toggled(root.checked);
+ }
+ }
+}
+
export component Switch inherits Rectangle {
in-out property <bool> checked;
in property <bool> enabled: true;