Skip to content

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

feat: Up and Down go to the previous and next cut, and new projects offer 4:5 and 3:4

Jareer23897dd83a80
diff --git a/src/crates/concat/locales/ar.json b/src/crates/concat/locales/ar.json
index e760d446..7b92f085 100644
--- a/src/crates/concat/locales/ar.json
+++ b/src/crates/concat/locales/ar.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "حذف ما يسار مؤشر التشغيل",
"shortcuts.deleteRight": "حذف ما يمين مؤشر التشغيل",
"shortcuts.hint": "انقر على صف، ثم اضغط المفاتيح التي يجب أن يستجيب لها. يُلغي Escape العملية، وأي تركيبة مفاتيح يملكها إجراء آخر تنتقل إلى هنا، فيبقى ذلك الإجراء بلا مفتاح حتى تعيد إليه إعادة التعيين الخاصة به مفتاحًا. بعض التركيبات مملوكة للنافذة ولا يمكن تعيينها.",
+ "shortcuts.nextEdit": "الانتقال إلى القطع التالي",
"shortcuts.pan": "أداة التحريك",
"shortcuts.press": "اضغط مفتاحًا…",
+ "shortcuts.prevEdit": "الانتقال إلى القطع السابق",
"shortcuts.previewAxis": "محور المعاينة",
"shortcuts.reserved": "هذه التركيبة مملوكة للنافذة",
"shortcuts.resetAll": "إعادة تعيين الكل",
diff --git a/src/crates/concat/locales/az.json b/src/crates/concat/locales/az.json
index cc069a08..9be8168c 100644
--- a/src/crates/concat/locales/az.json
+++ b/src/crates/concat/locales/az.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Solu sil",
"shortcuts.deleteRight": "Sağı sil",
"shortcuts.hint": "Bir sətrə klikləyin, sonra onun cavab verməli olduğu düymələri basın. Escape ləğv edir. Başqa əmrin istifadə etdiyi düymə birləşməsi bura keçir və o əmr öz Sıfırla düyməsi ilə geri qaytarılana qədər düyməsiz qalır. Bəzi birləşmələr pəncərəyə məxsusdur və təyin oluna bilməz.",
+ "shortcuts.nextEdit": "Növbəti kəsimə keç",
"shortcuts.pan": "Sürüşdürmə aləti",
"shortcuts.press": "Düyməni basın…",
+ "shortcuts.prevEdit": "Əvvəlki kəsimə keç",
"shortcuts.previewAxis": "Önizləmə oxu",
"shortcuts.reserved": "Bu birləşmə pəncərəyə məxsusdur",
"shortcuts.resetAll": "Hamısını sıfırla",
diff --git a/src/crates/concat/locales/bn.json b/src/crates/concat/locales/bn.json
index 4d890524..2f11f8d8 100644
--- a/src/crates/concat/locales/bn.json
+++ b/src/crates/concat/locales/bn.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "প্লেহেডের বাঁদিক মুছুন",
"shortcuts.deleteRight": "প্লেহেডের ডানদিক মুছুন",
"shortcuts.hint": "একটি সারিতে ক্লিক করুন, তারপর যে কীগুলোতে এটি সাড়া দেবে সেগুলো চাপুন। Escape বাতিল করে, আর অন্য কোনো অ্যাকশনের দখলে থাকা কী-সমন্বয় এখানে চলে আসে, ফলে সেই অ্যাকশনের নিজস্ব রিসেট আবার একটি কী না দেওয়া পর্যন্ত সেটির কোনো কী থাকে না। কয়েকটি কী-সমন্বয় উইন্ডোর নিজস্ব, সেগুলো বরাদ্দ করা যায় না।",
+ "shortcuts.nextEdit": "পরের কাটে যান",
"shortcuts.pan": "প্যান টুল",
"shortcuts.press": "একটি কী চাপুন…",
+ "shortcuts.prevEdit": "আগের কাটে যান",
"shortcuts.previewAxis": "প্রিভিউ অক্ষ",
"shortcuts.reserved": "এই কী-সমন্বয়টি উইন্ডোর নিজস্ব",
"shortcuts.resetAll": "সব রিসেট করুন",
diff --git a/src/crates/concat/locales/de.json b/src/crates/concat/locales/de.json
index dd6f7b3a..6e620416 100644
--- a/src/crates/concat/locales/de.json
+++ b/src/crates/concat/locales/de.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Links vom Abspielkopf schneiden",
"shortcuts.deleteRight": "Rechts vom Abspielkopf schneiden",
"shortcuts.hint": "Klicke eine Zeile an und drücke dann die Tasten, auf die sie reagieren soll. Escape bricht ab, und eine Tastenkombination, die eine andere Aktion hält, wird übernommen - diese Aktion bleibt ohne Taste, bis ihr eigenes Zurücksetzen wieder eine gibt. Einige Kombinationen gehören dem Fenster und können nicht belegt werden.",
+ "shortcuts.nextEdit": "Zum nächsten Schnitt",
"shortcuts.pan": "Hand-Werkzeug",
"shortcuts.press": "Taste drücken…",
+ "shortcuts.prevEdit": "Zum vorherigen Schnitt",
"shortcuts.previewAxis": "Vorschauachse",
"shortcuts.reserved": "Diese Tastenkombination gehört dem Fenster",
"shortcuts.resetAll": "Alle zurücksetzen",
diff --git a/src/crates/concat/locales/en.json b/src/crates/concat/locales/en.json
index a808f8cb..fbe2ae6d 100644
--- a/src/crates/concat/locales/en.json
+++ b/src/crates/concat/locales/en.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Delete left",
"shortcuts.deleteRight": "Delete right",
"shortcuts.hint": "Click a row, then press the keys it should answer to. Escape cancels, and a chord another action holds moves over, leaving that action with no key until its own Reset puts one back. A few chords belong to the window and cannot be bound.",
+ "shortcuts.nextEdit": "Go to next cut",
"shortcuts.pan": "Pan tool",
"shortcuts.press": "Press a key…",
+ "shortcuts.prevEdit": "Go to previous cut",
"shortcuts.previewAxis": "Preview axis",
"shortcuts.reserved": "That chord belongs to the window",
"shortcuts.resetAll": "Reset all",
diff --git a/src/crates/concat/locales/es.json b/src/crates/concat/locales/es.json
index 6334affa..4e5e3a62 100644
--- a/src/crates/concat/locales/es.json
+++ b/src/crates/concat/locales/es.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Cortar a la izquierda del cabezal",
"shortcuts.deleteRight": "Cortar a la derecha del cabezal",
"shortcuts.hint": "Haz clic en una fila y pulsa después las teclas a las que debe responder. Escape cancela, y una combinación que tiene otra acción pasa a esta, dejando a esa acción sin tecla hasta que su propio Restablecer devuelva una. Algunas combinaciones pertenecen a la ventana y no se pueden asignar.",
+ "shortcuts.nextEdit": "Ir al corte siguiente",
"shortcuts.pan": "Herramienta mano",
"shortcuts.press": "Pulsa una tecla…",
+ "shortcuts.prevEdit": "Ir al corte anterior",
"shortcuts.previewAxis": "Eje de previsualización",
"shortcuts.reserved": "Esa combinación pertenece a la ventana",
"shortcuts.resetAll": "Restablecer todo",
diff --git a/src/crates/concat/locales/fa.json b/src/crates/concat/locales/fa.json
index 611c3764..3e9f02c9 100644
--- a/src/crates/concat/locales/fa.json
+++ b/src/crates/concat/locales/fa.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "بریدن در سمت چپ نشانگر پخش",
"shortcuts.deleteRight": "بریدن در سمت راست نشانگر پخش",
"shortcuts.hint": "روی یک ردیف کلیک کنید، سپس کلیدهایی را بزنید که باید به آن‌ها پاسخ دهد. Escape انصراف می‌دهد؛ ترکیبی که عمل دیگری در اختیار دارد به اینجا منتقل می‌شود و آن عمل را تا زمانی که بازنشانیِ خودش کلیدی برگرداند، بدون کلید می‌گذارد. چند ترکیب متعلق به پنجره است و قابل تخصیص نیست.",
+ "shortcuts.nextEdit": "رفتن به برش بعدی",
"shortcuts.pan": "ابزار Pan",
"shortcuts.press": "یک کلید را بزنید…",
+ "shortcuts.prevEdit": "رفتن به برش قبلی",
"shortcuts.previewAxis": "محور پیش‌نمایش",
"shortcuts.reserved": "این ترکیب متعلق به پنجره است",
"shortcuts.resetAll": "بازنشانی همه",
diff --git a/src/crates/concat/locales/fr.json b/src/crates/concat/locales/fr.json
index 9b364b38..d5715607 100644
--- a/src/crates/concat/locales/fr.json
+++ b/src/crates/concat/locales/fr.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Couper à gauche de la tête de lecture",
"shortcuts.deleteRight": "Couper à droite de la tête de lecture",
"shortcuts.hint": "Cliquez sur une ligne, puis appuyez sur les touches auxquelles elle doit répondre. Échap annule, et une combinaison détenue par une autre action passe ici, laissant cette action sans touche jusqu'à ce que sa propre réinitialisation en remette une. Certaines combinaisons appartiennent à la fenêtre et ne peuvent pas être attribuées.",
+ "shortcuts.nextEdit": "Aller à la coupe suivante",
"shortcuts.pan": "Outil Main",
"shortcuts.press": "Appuyez sur une touche…",
+ "shortcuts.prevEdit": "Aller à la coupe précédente",
"shortcuts.previewAxis": "Axe d'aperçu",
"shortcuts.reserved": "Cette combinaison appartient à la fenêtre",
"shortcuts.resetAll": "Tout réinitialiser",
diff --git a/src/crates/concat/locales/he.json b/src/crates/concat/locales/he.json
index 41faba40..7eed824d 100644
--- a/src/crates/concat/locales/he.json
+++ b/src/crates/concat/locales/he.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "מחיקה משמאל לסמן ההפעלה",
"shortcuts.deleteRight": "מחיקה מימין לסמן ההפעלה",
"shortcuts.hint": "יש ללחוץ על שורה ואז על המקשים שהיא אמורה להגיב להם. Escape מבטל, וצירוף מקשים שפעולה אחרת מחזיקה עובר לכאן, והפעולה ההיא נשארת בלי מקש עד שהאיפוס שלה מחזיר לה אחד. כמה צירופים שייכים לחלון ואי אפשר להקצות אותם.",
+ "shortcuts.nextEdit": "מעבר לחיתוך הבא",
"shortcuts.pan": "כלי הזזה",
"shortcuts.press": "יש ללחוץ על מקש…",
+ "shortcuts.prevEdit": "מעבר לחיתוך הקודם",
"shortcuts.previewAxis": "ציר התצוגה המקדימה",
"shortcuts.reserved": "הצירוף הזה שייך לחלון",
"shortcuts.resetAll": "איפוס הכול",
diff --git a/src/crates/concat/locales/hi.json b/src/crates/concat/locales/hi.json
index 39455ce2..c25f1bfb 100644
--- a/src/crates/concat/locales/hi.json
+++ b/src/crates/concat/locales/hi.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "प्लेहेड के बाईं ओर मिटाएं",
"shortcuts.deleteRight": "प्लेहेड के दाईं ओर मिटाएं",
"shortcuts.hint": "किसी पंक्ति पर क्लिक करें, फिर वे कुंजियां दबाएं जिन पर उसे प्रतिक्रिया देनी है। Escape रद्द करता है, और किसी दूसरी क्रिया के पास मौजूद कुंजी-संयोजन यहां आ जाता है, जिससे वह क्रिया तब तक बिना कुंजी के रहती है जब तक उसका अपना रीसेट कोई कुंजी वापस न दे। कुछ संयोजन विंडो के अपने हैं और उन्हें असाइन नहीं किया जा सकता।",
+ "shortcuts.nextEdit": "अगले कट पर जाएँ",
"shortcuts.pan": "पैन टूल",
"shortcuts.press": "कोई कुंजी दबाएं…",
+ "shortcuts.prevEdit": "पिछले कट पर जाएँ",
"shortcuts.previewAxis": "प्रीव्यू अक्ष",
"shortcuts.reserved": "यह संयोजन विंडो का है",
"shortcuts.resetAll": "सब रीसेट करें",
diff --git a/src/crates/concat/locales/hr.json b/src/crates/concat/locales/hr.json
index 222f078c..fac9e7ae 100644
--- a/src/crates/concat/locales/hr.json
+++ b/src/crates/concat/locales/hr.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Reži lijevo od playheada",
"shortcuts.deleteRight": "Reži desno od playheada",
"shortcuts.hint": "Klikni red, a zatim pritisni tipke na koje treba odgovarati. Escape odustaje, a kombinacija koju drži druga akcija prelazi ovdje, ostavljajući tu akciju bez tipke dok je njezino vraćanje na zadano ponovno ne vrati. Neke kombinacije pripadaju prozoru i ne mogu se vezati.",
+ "shortcuts.nextEdit": "Idi na sljedeći rez",
"shortcuts.pan": "Alat ruka",
"shortcuts.press": "Pritisni tipku…",
+ "shortcuts.prevEdit": "Idi na prethodni rez",
"shortcuts.previewAxis": "Os pregleda",
"shortcuts.reserved": "Ta kombinacija pripada prozoru",
"shortcuts.resetAll": "Vrati sve na zadano",
diff --git a/src/crates/concat/locales/id.json b/src/crates/concat/locales/id.json
index bc99a715..96ed2152 100644
--- a/src/crates/concat/locales/id.json
+++ b/src/crates/concat/locales/id.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Hapus kiri penanda putar",
"shortcuts.deleteRight": "Hapus kanan penanda putar",
"shortcuts.hint": "Klik sebuah baris, lalu tekan tombol yang harus ditanggapinya. Escape membatalkan, dan kombinasi tombol yang dipegang tindakan lain akan pindah ke sini, sehingga tindakan itu tanpa tombol sampai Atur ulang miliknya sendiri mengembalikannya. Beberapa kombinasi milik jendela dan tidak bisa ditetapkan.",
+ "shortcuts.nextEdit": "Ke potongan berikutnya",
"shortcuts.pan": "Alat geser",
"shortcuts.press": "Tekan tombol…",
+ "shortcuts.prevEdit": "Ke potongan sebelumnya",
"shortcuts.previewAxis": "Sumbu pratinjau",
"shortcuts.reserved": "Kombinasi itu milik jendela",
"shortcuts.resetAll": "Atur ulang semua",
diff --git a/src/crates/concat/locales/it.json b/src/crates/concat/locales/it.json
index 96b6a3fc..91135ec3 100644
--- a/src/crates/concat/locales/it.json
+++ b/src/crates/concat/locales/it.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Taglia a sinistra della testina",
"shortcuts.deleteRight": "Taglia a destra della testina",
"shortcuts.hint": "Clicca una riga, poi premi i tasti a cui deve rispondere. Esc annulla, e una combinazione tenuta da un'altra azione passa qui, lasciando quell'azione senza tasto finché il suo Reimposta non ne rimette una. Alcune combinazioni appartengono alla finestra e non possono essere assegnate.",
+ "shortcuts.nextEdit": "Vai al taglio successivo",
"shortcuts.pan": "Strumento mano",
"shortcuts.press": "Premi un tasto…",
+ "shortcuts.prevEdit": "Vai al taglio precedente",
"shortcuts.previewAxis": "Asse di anteprima",
"shortcuts.reserved": "Quella combinazione appartiene alla finestra",
"shortcuts.resetAll": "Reimposta tutto",
diff --git a/src/crates/concat/locales/ja.json b/src/crates/concat/locales/ja.json
index c27e510b..7a4445c7 100644
--- a/src/crates/concat/locales/ja.json
+++ b/src/crates/concat/locales/ja.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "再生ヘッドの左側を切り取る",
"shortcuts.deleteRight": "再生ヘッドの右側を切り取る",
"shortcuts.hint": "行をクリックしてから、応答すべきキーを押してください。Esc でキャンセルします。他のアクションが保持しているキー組み合わせはここに移動し、そのアクションは独自のリセットでキーが戻るまで割り当てなしになります。ウィンドウ専用の組み合わせは割り当てられません。",
+ "shortcuts.nextEdit": "次のカットへ移動",
"shortcuts.pan": "パンツール",
"shortcuts.press": "キーを押してください…",
+ "shortcuts.prevEdit": "前のカットへ移動",
"shortcuts.previewAxis": "プレビュー軸",
"shortcuts.reserved": "そのキー組み合わせはウィンドウ専用です",
"shortcuts.resetAll": "すべてリセット",
diff --git a/src/crates/concat/locales/ko.json b/src/crates/concat/locales/ko.json
index fbbc0ad9..6dc15d77 100644
--- a/src/crates/concat/locales/ko.json
+++ b/src/crates/concat/locales/ko.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "재생 헤드 왼쪽 자르기",
"shortcuts.deleteRight": "재생 헤드 오른쪽 자르기",
"shortcuts.hint": "행을 클릭한 다음, 그 행이 응답할 키를 누르세요. Esc는 취소하고, 다른 작업이 쓰고 있는 조합은 여기로 넘어가 해당 작업은 자체 초기화로 키를 되찾을 때까지 연결되지 않습니다. 일부 조합은 창에 속해 있어 지정할 수 없습니다.",
+ "shortcuts.nextEdit": "다음 컷으로 이동",
"shortcuts.pan": "손 도구",
"shortcuts.press": "키를 누르세요…",
+ "shortcuts.prevEdit": "이전 컷으로 이동",
"shortcuts.previewAxis": "미리보기 축",
"shortcuts.reserved": "해당 조합은 창에 속합니다",
"shortcuts.resetAll": "모두 초기화",
diff --git a/src/crates/concat/locales/nl.json b/src/crates/concat/locales/nl.json
index 83f6f332..8b46fee0 100644
--- a/src/crates/concat/locales/nl.json
+++ b/src/crates/concat/locales/nl.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Links van afspeelkop verwijderen",
"shortcuts.deleteRight": "Rechts van afspeelkop verwijderen",
"shortcuts.hint": "Klik op een rij en druk dan op de toetsen waarop die moet reageren. Escape annuleert, en een toetscombinatie die bij een andere actie hoort, verhuist hierheen; die actie heeft dan geen toets tot haar eigen Herstellen er weer een geeft. Een paar combinaties horen bij het venster en kunnen niet worden toegewezen.",
+ "shortcuts.nextEdit": "Naar volgende knip",
"shortcuts.pan": "Handje",
"shortcuts.press": "Druk op een toets…",
+ "shortcuts.prevEdit": "Naar vorige knip",
"shortcuts.previewAxis": "Voorvertoningsas",
"shortcuts.reserved": "Die combinatie hoort bij het venster",
"shortcuts.resetAll": "Alles herstellen",
diff --git a/src/crates/concat/locales/pl.json b/src/crates/concat/locales/pl.json
index 0812f408..0a9ad2ba 100644
--- a/src/crates/concat/locales/pl.json
+++ b/src/crates/concat/locales/pl.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Usuń na lewo od głowicy",
"shortcuts.deleteRight": "Usuń na prawo od głowicy",
"shortcuts.hint": "Kliknij wiersz, a potem naciśnij klawisze, na które ma reagować. Escape anuluje, a kombinacja przypisana innej akcji przechodzi tutaj, zostawiając tamtą akcję bez klawisza, dopóki jej własne Resetuj go nie przywróci. Kilka kombinacji należy do okna i nie można ich przypisać.",
+ "shortcuts.nextEdit": "Przejdź do następnego cięcia",
"shortcuts.pan": "Narzędzie Rączka",
"shortcuts.press": "Naciśnij klawisz…",
+ "shortcuts.prevEdit": "Przejdź do poprzedniego cięcia",
"shortcuts.previewAxis": "Oś podglądu",
"shortcuts.reserved": "Ta kombinacja należy do okna",
"shortcuts.resetAll": "Resetuj wszystko",
diff --git a/src/crates/concat/locales/pt-BR.json b/src/crates/concat/locales/pt-BR.json
index 98dce5f6..5483e140 100644
--- a/src/crates/concat/locales/pt-BR.json
+++ b/src/crates/concat/locales/pt-BR.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Cortar à esquerda do cursor",
"shortcuts.deleteRight": "Cortar à direita do cursor",
"shortcuts.hint": "Clique em uma linha e depois pressione as teclas a que ela deve responder. Esc cancela, e uma combinação que outra ação detém passa para cá, deixando essa ação sem tecla até que o próprio Redefinir devolva uma. Algumas combinações pertencem à janela e não podem ser atribuídas.",
+ "shortcuts.nextEdit": "Ir para o próximo corte",
"shortcuts.pan": "Ferramenta mão",
"shortcuts.press": "Pressione uma tecla…",
+ "shortcuts.prevEdit": "Ir para o corte anterior",
"shortcuts.previewAxis": "Eixo de prévia",
"shortcuts.reserved": "Essa combinação pertence à janela",
"shortcuts.resetAll": "Redefinir tudo",
diff --git a/src/crates/concat/locales/ru.json b/src/crates/concat/locales/ru.json
index 2979f989..a806443a 100644
--- a/src/crates/concat/locales/ru.json
+++ b/src/crates/concat/locales/ru.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Резать слева от курсора",
"shortcuts.deleteRight": "Резать справа от курсора",
"shortcuts.hint": "Нажмите на строку, затем задайте клавиши, на которые она должна отзываться. Esc отменяет, а комбинация, занятая другим действием, переходит сюда, оставляя это действие без клавиши, пока его собственный Сброс не вернёт одну. Некоторые комбинации принадлежат окну и не назначаются.",
+ "shortcuts.nextEdit": "К следующей склейке",
"shortcuts.pan": "Инструмент «Рука»",
"shortcuts.press": "Нажмите клавишу…",
+ "shortcuts.prevEdit": "К предыдущей склейке",
"shortcuts.previewAxis": "Ось предпросмотра",
"shortcuts.reserved": "Эта комбинация принадлежит окну",
"shortcuts.resetAll": "Сбросить всё",
diff --git a/src/crates/concat/locales/th.json b/src/crates/concat/locales/th.json
index 7cbc7d2e..030f00d6 100644
--- a/src/crates/concat/locales/th.json
+++ b/src/crates/concat/locales/th.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "ลบด้านซ้ายของหัวเล่น",
"shortcuts.deleteRight": "ลบด้านขวาของหัวเล่น",
"shortcuts.hint": "คลิกที่แถว แล้วกดแป้นที่ต้องการให้แถวนั้นตอบสนอง Escape จะยกเลิก และชุดแป้นที่การทำงานอื่นใช้อยู่จะย้ายมาที่นี่ ทำให้การทำงานนั้นไม่มีแป้นจนกว่าปุ่มรีเซ็ตของตัวมันเองจะคืนแป้นให้ ชุดแป้นบางชุดเป็นของหน้าต่างและกำหนดไม่ได้",
+ "shortcuts.nextEdit": "ไปยังจุดตัดถัดไป",
"shortcuts.pan": "เครื่องมือเลื่อนมุมมอง",
"shortcuts.press": "กดแป้น…",
+ "shortcuts.prevEdit": "ไปยังจุดตัดก่อนหน้า",
"shortcuts.previewAxis": "แกนแสดงตัวอย่าง",
"shortcuts.reserved": "ชุดแป้นนั้นเป็นของหน้าต่าง",
"shortcuts.resetAll": "รีเซ็ตทั้งหมด",
diff --git a/src/crates/concat/locales/tr.json b/src/crates/concat/locales/tr.json
index 0a89fca9..e6803998 100644
--- a/src/crates/concat/locales/tr.json
+++ b/src/crates/concat/locales/tr.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Oynatma imlecinin solundan kes",
"shortcuts.deleteRight": "Oynatma imlecinin sağından kes",
"shortcuts.hint": "Bir satıra tıklayın, sonra yanıt vermesi gereken tuşlara basın. Esc iptal eder; başka bir eylemin tuttuğu kombinasyon buraya taşınır ve o eylem, kendi Sıfırlaması bir tuş geri getirene kadar tuşsuz kalır. Bazı kombinasyonlar pencereye aittir ve bağlanamaz.",
+ "shortcuts.nextEdit": "Sonraki kesime git",
"shortcuts.pan": "El aracı",
"shortcuts.press": "Bir tuşa basın…",
+ "shortcuts.prevEdit": "Önceki kesime git",
"shortcuts.previewAxis": "Önizleme ekseni",
"shortcuts.reserved": "Bu kombinasyon pencereye ait",
"shortcuts.resetAll": "Tümünü sıfırla",
diff --git a/src/crates/concat/locales/uk.json b/src/crates/concat/locales/uk.json
index f1d3ef64..10b2a91d 100644
--- a/src/crates/concat/locales/uk.json
+++ b/src/crates/concat/locales/uk.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Видалити ліворуч від курсора",
"shortcuts.deleteRight": "Видалити праворуч від курсора",
"shortcuts.hint": "Клацніть рядок, а тоді натисніть клавіші, на які він має відгукуватися. Esc скасовує, а комбінація, зайнята іншою дією, переходить сюди, залишаючи ту дію без клавіші, доки її власне Скидання не поверне якусь. Кілька комбінацій належать вікну, і їх не можна призначити.",
+ "shortcuts.nextEdit": "До наступної склейки",
"shortcuts.pan": "Інструмент «Рука»",
"shortcuts.press": "Натисніть клавішу…",
+ "shortcuts.prevEdit": "До попередньої склейки",
"shortcuts.previewAxis": "Вісь перегляду",
"shortcuts.reserved": "Ця комбінація належить вікну",
"shortcuts.resetAll": "Скинути все",
diff --git a/src/crates/concat/locales/ur.json b/src/crates/concat/locales/ur.json
index f57bdd6f..bf53b050 100644
--- a/src/crates/concat/locales/ur.json
+++ b/src/crates/concat/locales/ur.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "پلے ہیڈ کے بائیں حذف کریں",
"shortcuts.deleteRight": "پلے ہیڈ کے دائیں حذف کریں",
"shortcuts.hint": "کسی قطار پر کلک کریں، پھر وہ کلیدیں دبائیں جن پر اسے جواب دینا ہے۔ Escape منسوخ کرتا ہے، اور کسی دوسرے عمل کے پاس موجود کلیدی مجموعہ یہاں منتقل ہو جاتا ہے، جس سے وہ عمل تب تک بغیر کلید کے رہتا ہے جب تک اس کا اپنا ری سیٹ کوئی کلید واپس نہ دے۔ چند مجموعے ونڈو کے اپنے ہیں اور تفویض نہیں کیے جا سکتے۔",
+ "shortcuts.nextEdit": "اگلے کٹ پر جائیں",
"shortcuts.pan": "پین ٹول",
"shortcuts.press": "کوئی کلید دبائیں…",
+ "shortcuts.prevEdit": "پچھلے کٹ پر جائیں",
"shortcuts.previewAxis": "پیش منظر محور",
"shortcuts.reserved": "یہ مجموعہ ونڈو کا ہے",
"shortcuts.resetAll": "سب ری سیٹ کریں",
diff --git a/src/crates/concat/locales/vi.json b/src/crates/concat/locales/vi.json
index 7362a35b..227b3952 100644
--- a/src/crates/concat/locales/vi.json
+++ b/src/crates/concat/locales/vi.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "Xóa bên trái đầu phát",
"shortcuts.deleteRight": "Xóa bên phải đầu phát",
"shortcuts.hint": "Nhấp vào một hàng, rồi nhấn các phím mà hàng đó cần phản hồi. Escape để hủy; tổ hợp phím đang thuộc về thao tác khác sẽ chuyển sang đây, khiến thao tác đó không còn phím nào cho đến khi nút Đặt lại của chính nó trả lại một phím. Một số tổ hợp thuộc về cửa sổ và không thể gán.",
+ "shortcuts.nextEdit": "Đến điểm cắt tiếp theo",
"shortcuts.pan": "Công cụ di chuyển khung nhìn",
"shortcuts.press": "Nhấn một phím…",
+ "shortcuts.prevEdit": "Đến điểm cắt trước",
"shortcuts.previewAxis": "Trục xem trước",
"shortcuts.reserved": "Tổ hợp phím đó thuộc về cửa sổ",
"shortcuts.resetAll": "Đặt lại tất cả",
diff --git a/src/crates/concat/locales/zh-Hans.json b/src/crates/concat/locales/zh-Hans.json
index 040639e9..28cd211b 100644
--- a/src/crates/concat/locales/zh-Hans.json
+++ b/src/crates/concat/locales/zh-Hans.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "剪切播放头左侧",
"shortcuts.deleteRight": "剪切播放头右侧",
"shortcuts.hint": "点击一行,然后按下它应响应的按键。Esc 取消;其他操作占用的组合键会移到这里,该操作将没有按键,直到它自己的重置把按键放回。有些组合键属于窗口,无法绑定。",
+ "shortcuts.nextEdit": "跳到下一个剪辑点",
"shortcuts.pan": "平移工具",
"shortcuts.press": "按下按键…",
+ "shortcuts.prevEdit": "跳到上一个剪辑点",
"shortcuts.previewAxis": "预览坐标轴",
"shortcuts.reserved": "该组合键属于窗口",
"shortcuts.resetAll": "全部重置",
diff --git a/src/crates/concat/locales/zh-TW.json b/src/crates/concat/locales/zh-TW.json
index cbc15105..70ff65dd 100644
--- a/src/crates/concat/locales/zh-TW.json
+++ b/src/crates/concat/locales/zh-TW.json
@@ -515,8 +515,10 @@
"shortcuts.deleteLeft": "剪切播放磁頭左側",
"shortcuts.deleteRight": "剪切播放磁頭右側",
"shortcuts.hint": "點擊一列,然後按下它應回應的按鍵。Esc 取消;其他操作佔用的組合鍵會移到這裡,該操作將沒有按鍵,直到它自己的重設把按鍵放回。有些組合鍵屬於視窗,無法綁定。",
+ "shortcuts.nextEdit": "跳到下一個剪輯點",
"shortcuts.pan": "平移工具",
"shortcuts.press": "按下按鍵…",
+ "shortcuts.prevEdit": "跳到上一個剪輯點",
"shortcuts.previewAxis": "預覽座標軸",
"shortcuts.reserved": "該組合鍵屬於視窗",
"shortcuts.resetAll": "全部重設",
diff --git a/src/crates/concat/src/keymap.rs b/src/crates/concat/src/keymap.rs
index c0eb54df..84411dff 100644
--- a/src/crates/concat/src/keymap.rs
+++ b/src/crates/concat/src/keymap.rs
@@ -171,6 +171,16 @@ pub const ACTIONS: &[Action] = &[
id: "step-forward",
defaults: &["right"],
},
+ // The cut before and after the playhead, on the keys Premiere and
+ // Resolve give them: clip to clip without the mouse.
+ Action {
+ id: "prev-edit",
+ defaults: &["up"],
+ },
+ Action {
+ id: "next-edit",
+ defaults: &["down"],
+ },
];
/// The action a row and a dispatch speak, by its id.
@@ -215,6 +225,8 @@ pub fn name(id: &str) -> String {
"end" => i18n::t("common.goToEnd"),
"step-back" => i18n::t("shortcuts.stepBack"),
"step-forward" => i18n::t("shortcuts.stepForward"),
+ "prev-edit" => i18n::t("shortcuts.prevEdit"),
+ "next-edit" => i18n::t("shortcuts.nextEdit"),
_ => String::new(),
}
}
diff --git a/src/crates/concat/src/lib.rs b/src/crates/concat/src/lib.rs
index a80a2bcf..65e83425 100644
--- a/src/crates/concat/src/lib.rs
+++ b/src/crates/concat/src/lib.rs
@@ -1686,8 +1686,8 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
app.global::<Focus>()
.on_release(|| Shell::with(|_, app| app.invoke_blur()));
editor.on_shortcut(move |action: SharedString| match action.as_str() {
- "import" | "export" | "settings" | "zoom-in" | "zoom-out" | "start" | "end" | "snap"
- | "magnetic" | "pan" | "preview-axis" => {
+ "import" | "export" | "settings" | "zoom-in" | "zoom-out" | "start" | "end"
+ | "prev-edit" | "next-edit" | "snap" | "magnetic" | "pan" | "preview-axis" => {
Shell::with(|_, app| app.invoke_app_menu_selected(action.clone()));
}
_ => Shell::with(|shell, app| {
@@ -1809,7 +1809,8 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
// menu's own handler, so the key and the row cannot come
// apart — the same door on_shortcut keeps open.
"save" | "undo" | "redo" | "import" | "export" | "settings" | "zoom-in"
- | "zoom-out" | "start" | "end" | "snap" | "pan" | "preview-axis" | "delete" => {
+ | "zoom-out" | "start" | "end" | "prev-edit" | "next-edit" | "snap" | "pan"
+ | "preview-axis" | "delete" => {
app.invoke_app_menu_selected(SharedString::from(action));
}
// The rest: the editor's own table, the way the phone's
@@ -2314,6 +2315,11 @@ fn start(project: Option<std::path::PathBuf>, smoke: bool) -> Result<(), slint::
let end = state.duration();
state.seek(end);
}
+ edit @ ("prev-edit" | "next-edit") => {
+ state.pause();
+ let at = state.edit_point(edit == "next-edit");
+ state.seek(at);
+ }
"delete" => state.delete_selected(),
// The selected clips, as the tray's button splits, or
// everything under the playhead when none is.
diff --git a/src/crates/concat/src/studio.rs b/src/crates/concat/src/studio.rs
index d61cd363..92a5ddda 100644
--- a/src/crates/concat/src/studio.rs
+++ b/src/crates/concat/src/studio.rs
@@ -74,12 +74,16 @@ use crate::presets::{self, TextPreset};
use crate::speed_ramp;
use crate::ui::*;
-/// The monitor's output sizes, matching the picker's rows.
-pub const OUTPUTS: [(i32, i32); 6] = [
+/// The monitor's output sizes, matching the picker's rows. 4:5 and 3:4
+/// are the upright frames an Instagram post is cut to: its feed and its
+/// grid. Typing 1080 x 1350 by hand was the only way to them.
+pub const OUTPUTS: [(i32, i32); 8] = [
(1920, 1080),
(3840, 2160),
(1080, 1920),
(1080, 1080),
+ (1080, 1350),
+ (1080, 1440),
(1440, 1080),
(2560, 1080),
];
@@ -229,11 +233,18 @@ pub(crate) const AUDIO_BPS: f32 = 192_000.0;
/// cut at 4K was not a thing the form could ask for. Every pair of indices
/// resolves through [`frame_size`], which is the one place that knows what
/// a label means in pixels.
-pub const ASPECTS: [(&str, u32, u32); 4] = [
+///
+/// 4:5 and 3:4 are an Instagram post's feed and grid frames. 21:9 is the
+/// 64:27 every screen sold as 21:9 is, so it lands on the 2560 x 1080 the
+/// monitor's picker calls 21:9 rather than a 2520 of its own.
+pub const ASPECTS: [(&str, u32, u32); 7] = [
("16:9", 16, 9),
("9:16", 9, 16),
("1:1", 1, 1),
+ ("4:5", 4, 5),
+ ("3:4", 3, 4),
("4:3", 4, 3),
+ ("21:9", 64, 27),
];
/// The sizes, as the *short* edge in pixels.
@@ -2689,6 +2700,22 @@ impl Studio {
}) as f32
}
+ /// The edit point next to the playhead - the nearest clip start or end
+ /// on any lane, the origin or the project's end - after it when
+ /// `forward`, before it otherwise; the playhead itself when there is
+ /// none that way. Counted in whole frames, so a playhead parked on a
+ /// cut is on it and the next press goes on to the one beyond, however
+ /// the seconds round. Up and Down, as Premiere and Resolve put them.
+ pub fn edit_point(&self, forward: bool) -> f32 {
+ let spans: Vec<(f64, f64)> = self
+ .timeline()
+ .clips
+ .iter()
+ .map(|clip| (clip.start, clip.duration))
+ .collect();
+ edit_point(&spans, self.playhead, self.frame_rate(), forward)
+ }
+
/// Clip edges, the playhead and zero all pull, and the nearest inside
/// the threshold wins.
/// How far a moving set of clips should shift so the nearest of its
@@ -12387,6 +12414,20 @@ impl Studio {
&keymap::label(&self.prefs, "end"),
true,
),
+ row(
+ "prev-edit",
+ t("shortcuts.prevEdit"),
+ Glyph::None,
+ &keymap::label(&self.prefs, "prev-edit"),
+ true,
+ ),
+ row(
+ "next-edit",
+ t("shortcuts.nextEdit"),
+ Glyph::None,
+ &keymap::label(&self.prefs, "next-edit"),
+ true,
+ ),
],
_ => Vec::new(),
}
@@ -12866,6 +12907,29 @@ pub(crate) fn audio_specs(clips: &[concat_export::ExportClip]) -> Vec<ClipSpec>
concat_host::playback::audible(clips)
}
+/// The edit point beside `playhead` among the `(start, duration)` spans,
+/// the origin and the last span's end: the nearest after it when
+/// `forward`, before it otherwise, and `playhead` itself when there is
+/// none that way. Counted in whole frames at `rate`, so a playhead parked
+/// on a cut is on it and the next press goes on to the one beyond,
+/// however the seconds round.
+fn edit_point(spans: &[(f64, f64)], playhead: f32, rate: f32, forward: bool) -> f32 {
+ let fps = f64::from(rate.round().max(1.0));
+ let frame = |seconds: f64| (seconds * fps).round() as i64;
+ let here = frame(f64::from(playhead));
+ let points = spans
+ .iter()
+ .flat_map(|&(start, duration)| [start, start + duration])
+ .chain([0.0])
+ .map(frame);
+ let next = if forward {
+ points.filter(|&point| point > here).min()
+ } else {
+ points.filter(|&point| point < here).max()
+ };
+ next.map_or(playhead, |point| (point as f64 / fps) as f32)
+}
+
#[cfg(test)]
mod tests {
use super::{
@@ -12874,6 +12938,27 @@ mod tests {
wheel_partners, write_keyable,
};
+ /// Up and Down walk the cuts on every lane in order, a playhead a
+ /// hair off a cut by rounding counts as on it, and past the last cut
+ /// (or before the first) the playhead stays where it is.
+ #[test]
+ fn the_edit_points_are_walked_in_order_across_lanes() {
+ // One lane: 0-2, 2-5. Another: 1-3.
+ let spans = [(0.0, 2.0), (2.0, 3.0), (1.0, 2.0)];
+ let walk = |from: f32, forward: bool| super::edit_point(&spans, from, 30.0, forward);
+ assert_eq!(walk(0.0, true), 1.0);
+ assert_eq!(walk(1.0, true), 2.0);
+ assert_eq!(walk(2.0, true), 3.0);
+ assert_eq!(walk(3.0, true), 5.0);
+ assert_eq!(walk(5.0, true), 5.0);
+ assert_eq!(walk(5.0, false), 3.0);
+ assert_eq!(walk(0.5, false), 0.0);
+ assert_eq!(walk(0.0, false), 0.0);
+ // A thousandth of a second past the cut at 2 is that cut's frame.
+ assert_eq!(walk(2.001, true), 3.0);
+ assert_eq!(walk(2.001, false), 1.0);
+ }
+
/// A text box's caret counts bytes and a run counts characters: an
/// accented letter is one character of two bytes, an offset inside a
/// character counts it, and one out of the text is held to it.
diff --git a/src/crates/concat/ui/dialogs/project.slint b/src/crates/concat/ui/dialogs/project.slint
index 46cfeadd..ca686c4e 100644
--- a/src/crates/concat/ui/dialogs/project.slint
+++ b/src/crates/concat/ui/dialogs/project.slint
@@ -86,23 +86,24 @@ export component ProjectDialog inherits Modal {
// a second cut keeps its own frame whatever is picked here.
title: I18n.t1("project.output", root.data.timeline);
- // The same six frames the monitor's picker offers, in the same
+ // The same eight frames the monitor's picker offers, in the same
// order, so the two controls can never disagree about what a
// row means; then Custom, for any frame at all.
DialogRow {
label: I18n.t("common.frame");
Select {
current: root.data.size;
- options: ["1920 × 1080", "3840 × 2160", "1080 × 1920",
- "1080 × 1080", "1440 × 1080", "2560 × 1080", I18n.t("common.custom")];
- details: ["16:9", "16:9 4K", "9:16", "1:1", "4:3", "21:9", ""];
+ options: ["1920 × 1080", "3840 × 2160", "1080 × 1920", "1080 × 1080",
+ "1080 × 1350", "1080 × 1440", "1440 × 1080", "2560 × 1080",
+ I18n.t("common.custom")];
+ details: ["16:9", "16:9 4K", "9:16", "1:1", "4:5", "3:4", "4:3", "21:9", ""];
changed(index) => { root.size-changed(index); }
}
}
// Each side even and within 16 to 8192: Rust rounds what is
// typed to the nearest frame the project can hold.
- if root.data.size == 6: DialogRow {
+ if root.data.size == 8: DialogRow {
HorizontalLayout {
spacing: 8px;
diff --git a/src/crates/concat/ui/start.slint b/src/crates/concat/ui/start.slint
index 5bbdabf4..b96b9b6c 100644
--- a/src/crates/concat/ui/start.slint
+++ b/src/crates/concat/ui/start.slint
@@ -2305,6 +2305,9 @@ export component NewProjectDialog inherits Modal {
// A typed frame is its own shape.
enabled: !root.data.busy && root.data.size < root.sizes.length;
block: root.narrow;
+ // Seven shapes are past a phone's width; four to a
+ // row there, as the sizes wrap three.
+ per-row: root.narrow ? 4 : 0;
changed(index) => { root.aspect-changed(index); }
}
diff --git a/src/crates/concat/ui/workspace/preview-pane.slint b/src/crates/concat/ui/workspace/preview-pane.slint
index ed13b89a..c61ae4ef 100644
--- a/src/crates/concat/ui/workspace/preview-pane.slint
+++ b/src/crates/concat/ui/workspace/preview-pane.slint
@@ -812,9 +812,10 @@ export component PreviewPane inherits Rectangle {
/// the button the transport carries.
public function fit-view() { viewport.fit(); }
- property <[int]> ratios-w: [1920, 3840, 1080, 1080, 1440, 2560];
- property <[int]> ratios-h: [1080, 2160, 1920, 1080, 1080, 1080];
- property <[string]> ratio-names: ["16:9", "16:9 4K", "9:16", "1:1", "4:3", "21:9"];
+ // `OUTPUTS` in studio.rs, row for row.
+ property <[int]> ratios-w: [1920, 3840, 1080, 1080, 1080, 1080, 1440, 2560];
+ property <[int]> ratios-h: [1080, 2160, 1920, 1080, 1350, 1440, 1080, 1080];
+ property <[string]> ratio-names: ["16:9", "16:9 4K", "9:16", "1:1", "4:5", "3:4", "4:3", "21:9"];
property <float> aspect: root.output-height > 0
? root.output-width / root.output-height : 16 / 9;