rereel inspect
Reads rereel.json, the lockfile, props.json, and mix_plan.json and prints a small summary, so an agent can orient itself without loading large JSON files into context.
Synopsis
Section titled “Synopsis”rereel inspect <reel_dir> [--scene <id>]What it does
Section titled “What it does”- Reads
<reel_dir>/rereel.json(required, exit2if missing). Lockfile, props, and mix plan are optional and treated as empty when absent. - Scenes come from
props.scenes(array) orprops.scenes.scenes(object wrapper). For each scene:id:scene.id, elsescene_<n>(1-based)startSec/endSec/durationSec:start_sec/end_sec/duration_secif numerictext: first 80 characters ofnarration, else oftext
--scene <id>keeps only the scene whose (possibly generated)idmatches exactly.- Cuts are counted from
props.cutsorprops.edit.cuts. - Narration, BGM, and SFX counts come from
mix_plan.json.
Options
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
<reel_dir> |
path (positional) | — (required) | Bundle directory. |
--scene |
string | — | Filter scenes to one ID. Counts are not filtered. |
Output
Section titled “Output”{ "reelDir": "/abs/path/examples/minimal-short", "kind": "remotion_single", "video": { "width": 1080, "height": 1920, "aspect": "9:16", "fps": 30, "chunkFrames": 150 }, "audioMode": "mix_plan", "lockedAssets": 0, "scenes": [ { "id": "scene_1", "startSec": 3, "endSec": 7, "text": "Edit 1 line in props.json.\nRebuild only 1 chunk." } ], "cutsCount": 0, "narrationSegments": 0, "bgmCues": 0, "sfxCues": 0}video is the video object from rereel.json, copied as-is. Scene keys whose value is undefined are omitted from the JSON.
Exit codes
Section titled “Exit codes”| Code | When |
|---|---|
0 |
Success. |
2 |
Missing <reel_dir> argument, missing rereel.json, or invalid JSON in any file read. |
Examples
Section titled “Examples”rereel inspect ./reels/ep01rereel inspect ./reels/ep01 --scene s03 | jq '.scenes[0]'