feat: allow emmiting frames on stdout to pipe them in ffmpeg

This commit is contained in:
2026-09-30 10:24:20 +02:00
parent 59147fdf93
commit 10915f31d9
5 changed files with 135 additions and 18 deletions
+3 -1
View File
@@ -81,7 +81,9 @@ pub struct Cli {
/// Output path for --headless (default: fractal-<timestamp>.png). When
/// animating (--to-view/--to-share), this is a directory of
/// frame-00001.png, frame-00002.png, ... instead (default:
/// frames-<timestamp>/).
/// frames-<timestamp>/). "-" writes to stdout: the PNG for a single
/// image, or raw RGBA8 frames in order for an animation, to pipe into
/// `ffmpeg -f rawvideo -pix_fmt rgba -s WxH -r FPS -i - ...`.
#[arg(long, value_name = "PATH")]
pub export_path: Option<String>,