Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Merge origin/main into gpu-rendering

Brandon Thomas58f768c47272
diff --cc Cargo.lock
index 049b760d9,1839bb29f..d94a44573
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -1672,13 -1672,9 +1672,14 @@@ dependencies =
"eframe",
"egui",
"filmcraft-engine",
+ "filmcraft-export",
+ "filmcraft-gpu",
"filmcraft-platform",
+ "filmcraft-project",
+ "filmcraft-render",
+ "filmcraft-time",
"filmcraft-ui-egui",
+ "glob",
"log",
"muda",
"objc2 0.6.4",
diff --cc apps/filmcraft-cli/src/main.rs
index e1ba36de2,f14b58592..b051d6cbf
--- a/apps/filmcraft-cli/src/main.rs
+++ b/apps/filmcraft-cli/src/main.rs
@@@ -257,11 -232,16 +257,17 @@@ async fn cli()
return;
}
register_hardware_decoders();
+ register_gpu_frame_renderer();
let a = Args::parse(std::env::args().skip(1));
+ // `--help` anywhere (`filmcraft-cli --help`, `filmcraft-cli export --help`) prints the reference:
+ // the parser takes it as a flag option, so it never reaches the subcommand match.
+ if a.flag("--help") {
+ out!("{HELP}");
+ return;
+ }
let Some(cmd) = a.pos(0) else { usage("missing subcommand") };
match cmd {
- "help" | "--help" | "-h" => out!("{HELP}"),
+ "help" | "-h" => out!("{HELP}"),
"version" => outln!("filmcraft-cli {}", env!("CARGO_PKG_VERSION")),
"probe" => {
let path = a.pos(1).unwrap_or_else(|| usage("probe <media> [--image-sequence]"));
diff --cc crates/ui-egui/src/i18n/es.tsv
index ed023afda,a689bb9f3..08f899ecb
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@@ -3503,5 -3508,5 +3508,7 @@@
Gradient Angle Ángulo del degradado
Linear Gradient Degradado lineal
Solid Sólido
+ GPU Rendering Renderizado por GPU
+ Composite on the GPU when available Componer en la GPU cuando esté disponible
+ Text to Speech Texto a voz
+ Edit Narration Editar narración
diff --cc crates/ui-egui/src/i18n/ja.tsv
index 73f23374d,d61fb4627..8dbf44199
--- a/crates/ui-egui/src/i18n/ja.tsv
+++ b/crates/ui-egui/src/i18n/ja.tsv
@@@ -3496,5 -3499,7 +3499,9 @@@
Gradient Angle グラデーションの角度
Linear Gradient 線形グラデーション
Solid べた塗り
+ GPU Rendering GPU レンダリング
+ Composite on the GPU when available 利用可能な場合は GPU で合成
+ Text to Speech テキスト読み上げ
+ Edit Narration ナレーションを編集
+ Clear Transition トランジションを消去
+ Set Transition Duration トランジションのデュレーションを設定
diff --cc crates/ui-egui/src/i18n/zh-cn.tsv
index 159acb113,30df12ff6..731067f98
--- a/crates/ui-egui/src/i18n/zh-cn.tsv
+++ b/crates/ui-egui/src/i18n/zh-cn.tsv
@@@ -3485,5 -3488,7 +3488,9 @@@
Appearance Mode 外观模式
Next Appearance Mode 下一个外观模式
Sync with system 跟随系统
+ GPU Rendering GPU 渲染
+ Composite on the GPU when available 可用时在 GPU 上合成
+ Text to Speech 文字转语音
+ Edit Narration 编辑旁白
+ Clear Transition 清除过渡
+ Set Transition Duration 设置过渡持续时间