Multi-video Configs
Instead of a single config object, define avideos array to produce multiple recordings in one run:
How It Works
- Each video entry gets its own output file and recording
- The
defaultsobject provides shared settings — any field you’d normally put at the top level (theme, sound, cursor, HUD, cols, rows, fps, etc.) - Each video can override any default with its own value
- Every video must have a
name(used for identification) andoutput(output file path) - Each video must define its own
stepsarray
Video Definition Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique name for this video |
output | string | Yes | Output file path |
steps | array | Yes | Steps for this video |
preset | string | No | Override preset for this video |
format | string | No | Override format (mp4, webm, gif) |
theme | string or object | No | Override theme |
sound | object | No | Override sound config |
cursor | object | No | Override cursor config |
hud | object | No | Override HUD config |
fps | number | No | Override FPS |
cols | number | No | Override terminal width |
rows | number | No | Override terminal height |
Step Includes
Extract reusable step sequences into separate JSONC files and reference them with$include:
Include File Format
Include files must define asteps array:
$include directive — they replace the include object in the final step array.
Include Path Resolution
Include paths are resolved relative to the config file directory. If your config is atdemos/.tuireel.jsonc and you reference "$include": "./shared/setup.jsonc", Tuireel looks for demos/shared/setup.jsonc.
Nested Includes
Include files can themselves contain$include directives. Nested paths are resolved relative to each include file’s own directory. Circular includes are detected and produce a clear error.
Multi-video with Includes
Combine both features for maximum reuse:shared/setup.jsonc automatically apply to every video that includes it.
When to Use These Features
| Scenario | Feature |
|---|---|
| Demo suites with shared branding | Multi-video with defaults |
| Common setup steps across recordings | Step includes |
| Multiple output formats for same content | Multi-video (one per format) |
| Shared onboarding sequence | Step include referenced from multiple configs |
| CI-generated documentation videos | Multi-video for batch recording |