Project
dyrector snapshot
Capture key frames from a composition as PNG screenshots for visual verification
Usage
Command usage
dyrector snapshot [OPTIONS] [DIR]
Arguments
| Argument | Description |
|---|---|
| DIR | Project directory |
Options
| Option | Description |
|---|---|
| -o, -out, -output-dir, --output=<output> | Directory to write snapshots into (default: unique directory under <project>/.dyrector/artifacts/snapshots) |
| --frames=<frames> | Number of evenly-spaced frames to capture (Default: 5) |
| --at=<at> | Comma-separated timestamps in seconds (e.g., --at 3.0,10.5,18.0). Each is captured at that exact instant, not snapped to a frame. |
| --range=<range> | Root-timeline range START,END in seconds; sample --frames evenly within it, without adding the full-video tail |
| --composition=<composition> | data-composition-id to sample; take --frames within its effective root-timeline interval, without adding the full-video tail |
| --timeout=<timeout> | Ms to wait for the composition to become render-ready, and for each still's seek to settle, up to 170 s (Default: 45000) |
| --angle=<angle> | Orthogonal 3D camera for depth/occlusion checks: a preset (front|iso|top|side) or 'yaw,pitch' degrees. Tilts the whole stage before screenshotting (real pixels, not bbox markers). |
| --end | Include a readable end-of-timeline frame (on by default for --frames; off by default for explicit --at times; pass --end or --no-end to override). |
| --keep | Add to --output instead of clearing it, naming each still at-<seconds>s.png (at-0s, at-1.5s, at-12.25s: no trailing zeros), so snapshotting one moment again replaces only that still. Times less than 1 ms apart share a name, so one run may not pass two of them. No contact sheet. (Default: false) |
| --zoom=<zoom> | Zoom into a CSS selector or an exact pixel region 'x,y,w,h'. Crops a high-density screenshot instead of the full frame — a raised deviceScaleFactor, never CSS zoom or viewport resizing, so layout stays identical. A selector matching nothing is an error, not a silent full-frame shot. |
| --zoom-scale=<zoom_scale> | Device-scale-factor density for --zoom crops (Default: 3) |
| --against=<against> | Reference video (e.g. footage being rebuilt): also save its frame at each captured time and a render|reference pair sheet |
| --review | Capture the review set instead of evenly spaced frames: each scene at its start + 0.3 s and its middle, and each data-beat at its start + 0.3 s, on review-beats.jpg, a 5-frame strip around every cut (review-seam-NN.jpg), and the beat frames at phone width (review-phone.jpg). Scopes to --composition; ignores --frames. (Default: false) |
| --json | Print one JSON envelope (paths, times, sheets; the review plan under --review) (Default: false) |
| --describe=<describe> | Send each frame to Gemini for a vision description (off by default; needs GEMINI_API_KEY or GOOGLE_API_KEY). A bare --describe uses the default prompt; --describe 'Is the logo visible in every beat?' asks your own question. |
| --proxy | Serve browser-playable copies of hostile video codecs to the snapshot page (default: off; frames come from FFmpeg, and each copy transcodes the whole clip) |
| --browser-gpu | Use hardware browser GPU capture; pass --no-browser-gpu for deterministic SwiftShader (default: auto-detect, PRODUCER_BROWSER_GPU_MODE overrides) |
Verbatim output of dyrector snapshot --help
Capture key frames from a composition as PNG screenshots for visual verification (dyrector snapshot v0.9.87)
USAGE dyrector snapshot [OPTIONS] [DIR]
ARGUMENTS
DIR Project directory
OPTIONS
-o, -out, -output-dir, --output=<output> Directory to write snapshots into (default: unique directory under <project>/.dyrector/artifacts/snapshots)
--frames=<frames> Number of evenly-spaced frames to capture (Default: 5)
--at=<at> Comma-separated timestamps in seconds (e.g., --at 3.0,10.5,18.0). Each is captured at that exact instant, not snapped to a frame.
--range=<range> Root-timeline range START,END in seconds; sample --frames evenly within it, without adding the full-video tail
--composition=<composition> data-composition-id to sample; take --frames within its effective root-timeline interval, without adding the full-video tail
--timeout=<timeout> Ms to wait for the composition to become render-ready, and for each still's seek to settle, up to 170 s (Default: 45000)
--angle=<angle> Orthogonal 3D camera for depth/occlusion checks: a preset (front|iso|top|side) or 'yaw,pitch' degrees. Tilts the whole stage before screenshotting (real pixels, not bbox markers).
--end Include a readable end-of-timeline frame (on by default for --frames; off by default for explicit --at times; pass --end or --no-end to override).
--keep Add to --output instead of clearing it, naming each still at-<seconds>s.png (at-0s, at-1.5s, at-12.25s: no trailing zeros), so snapshotting one moment again replaces only that still. Times less than 1 ms apart share a name, so one run may not pass two of them. No contact sheet. (Default: false)
--zoom=<zoom> Zoom into a CSS selector or an exact pixel region 'x,y,w,h'. Crops a high-density screenshot instead of the full frame — a raised deviceScaleFactor, never CSS zoom or viewport resizing, so layout stays identical. A selector matching nothing is an error, not a silent full-frame shot.
--zoom-scale=<zoom_scale> Device-scale-factor density for --zoom crops (Default: 3)
--against=<against> Reference video (e.g. footage being rebuilt): also save its frame at each captured time and a render|reference pair sheet
--review Capture the review set instead of evenly spaced frames: each scene at its start + 0.3 s and its middle, and each data-beat at its start + 0.3 s, on review-beats.jpg, a 5-frame strip around every cut (review-seam-NN.jpg), and the beat frames at phone width (review-phone.jpg). Scopes to --composition; ignores --frames. (Default: false)
--json Print one JSON envelope (paths, times, sheets; the review plan under --review) (Default: false)
--describe=<describe> Send each frame to Gemini for a vision description (off by default; needs GEMINI_API_KEY or GOOGLE_API_KEY). A bare --describe uses the default prompt; --describe 'Is the logo visible in every beat?' asks your own question.
--proxy Serve browser-playable copies of hostile video codecs to the snapshot page (default: off; frames come from FFmpeg, and each copy transcodes the whole clip)
--browser-gpu Use hardware browser GPU capture; pass --no-browser-gpu for deterministic SwiftShader (default: auto-detect, PRODUCER_BROWSER_GPU_MODE overrides)