
Video Editor
Shot list and finished assets in, one verified video out. Where the agent's shell has ffmpeg (Claude Code, Codex, Antigravity) it renders locally from a computed filter graph: transitions that account for overlap, a voiceover placed on the timeline, music ducked under the voice with an envelope that does not pump, captions burned inside the platform safe zone, the poster baked in as frame 0, loudness set for the destination. Where there is no ffmpeg (an OPVS agent) it emits SpiderVideo's create_video payload and prints every field that path cannot honour. Four gates read the finished file, so they verify this render, a SpiderVideo render, or anyone's, and print PASS/FAIL with numbers. finish.mjs finishes a 16:9 film in one run with a fixed house preset. 5 recipes, 25 registry items, 5 reference procedures. guidance-only (nested skills:[{id,schema}] with discovery-only methods + peer_dependencies) — agents reach it via skill_read.
I built this after a test showed me that the ducking check everyone reaches for first cannot tell a ducked mix from one that was never ducked. Measure the audio while someone speaks, measure it in the pauses, compare: on a render with no ducking at all, that reads a 9.96 dB gap, because the voice is in the mix. So this editor measures the music's own share of the finished file against the two tracks that went in, within 0.01 dB of the exact answer. The other gates follow the same rule: read the file, not the settings. Three planning mistakes rendered with exit 0 in my tests (9.5 s for a 13 s plan, a clip that ran short, a voiceover that lost its last 6 words), and each now fails a gate before anyone posts it. Captions are proved on the same frame with and without them. It renders with local ffmpeg in Claude Code, Codex or Antigravity; on an OPVS agent it writes the SpiderVideo job and prints what that path drops. Shot lists come from @di-atomic/video-director, assets from @di-atomic/media-generator.
Features5
Measure the music's share against the stems, not a mix gap that passes undocked video.
Build the ffmpeg graph from the shot list, with transition overlap already counted.
Compare the same frame with and without captions, and check every glyph before render.
Render with local ffmpeg, or emit the SpiderVideo job with every dropped field listed.
Gate any render on timeline, file, ducking and captions, and print PASS or FAIL.
Videos1 video
DemoVideo Editor · Demo video
Demo · SpiderMediaArticles about Video Editor2 articles
Exit 0 is not a finished video. Your agent now checks it.
opvs.ai24 Sep 2026Exit 0 is not a finished video. Your agent now checks it.
A ducking check that reads the mix passes a video with no ducking. @di-atomic/video-editor renders your shot list into one video and proves the voice, captions and timing with four gates that read the file.
Videos1 video
DemoVideo Editor · Demo video
Demo · SpiderMediaArticles about Video Editor2 articles
Showing all 2
SKILL.mdthe file your agent reads
SKILL.md loads when you open this tab.
What's new5 releases · newest first · from the package's CHANGELOG
v0.2.12026-11-10Latest
Marketplace listing update: added the launch explainer film (`media.demo_video_url`). No code, schema, copy or guidance changes; hero and screenshots unchanged from 0.2.0.
v0.2.02026-11-03
Six launch films re-rendered several times each because of faults in this skill, and each picked its own caption size, font and mix levels. This version finishes a film in one run with one preset. ### Added - **`scripts/finish.mjs` — one finishing pass.** `node scripts/finish.mjs --project <film dir>` reads `edit-plan.json` (picture, voice, word timings, optional music, `audio.cues` and `audio.effects_url`) and in ONE run writes `renders/captioned.mp4` AND `renders/clean.mp4`, then runs verify-timeline, the font precheck, verify-render on both files, verify-captions and verify-ducking itself. Prints PASS / FAIL / WARN / N/A per check with numbers, writes `renders/finish-report.json`; exit 0 / 1 / 2. Also `--plan <file>` and explicit `--picture --voice --words [--music --cues --effects] --out`. - **`references/house-preset.json` — the house finishing preset**, copied from the approved case-studies film and its `edit-plan.json` / `audio-plan.json`, with the source of every value: Inter 96 px boxed with balanced page tails, voice 1.0, music 0.55 ducked −8 dB (120 / 450 / 350 ms envelope), clip and effects sound 0.5, music prepared to −25 LUFS with 1.5 s in / 3.0 s out, master −14 LUFS with peaks at −1.5 dBTP. Styling values in a film's plan are ignored and listed; the only change is an explicit `--override captions.*|audio.*=value`, printed and written to the report. - **Caption precheck in seconds, before any encode** (`lib/caption-precheck.mjs`): the verify-captions presence / pause / safe-zone test on raw frames at every word midpoint. Case-studies inputs: 137 frames in 0.6 s. A size forced to 20 px fails it (0/129) and nothing is encoded. - **Music preparation** for a library file (excerpt from 0 s, one gain to −25 LUFS, linear fades); a bed already at the preset (film length ±0.05 s, −25 ±0.5 LUFS) is used as-is, never faded twice. - **Effects stem**: `audio.effects_url` (finish.mjs pre-mixes cues into it) is mixed at `effects_volume` and modelled by verify-ducking as a known reference, like clip sound. - **Inter** bundled (`assets/fonts/`, SIL OFL 1.1, licence beside it): the same file the approved film used. - `recipes/finish-a-film.md`. ### Fixed - **Caption page tails on zero frames (fault 13).** `lib/ass.mjs` rounded event times to centiseconds: the word "a" at 4.168–4.203 s became `[4.17, 4.20)`, between two 30 fps frames, drawn on none (case-studies: 6 renders, two words hand-snapped in the plan). Every boundary now sits on a whole frame at the film's fps; each word's midpoint frame is covered, pages never overlap, events last ≥ 1 frame, boundaries move ≤ 1 frame. Same original timings: 128/129 before, 129/129 now. - **True peak −0.9 dBTP after AAC (fault 15, 4 films).** compose normalised the peak TO the −1.0 gate. Now: one gain to the target, then a peak limiter at −1.5 dBTP running at 192 kHz; the encoded file is re-measured and, if still above −1.0, the audio is lowered by the excess and re-muxed in the same run. loudnorm's silent fallback to dynamic mode (the case-studies mix took it) is gone. Case-studies inputs, first render: −14.0 LUFS, −1.6 dBTP (0.1.2: −0.9 dBTP FAIL). - **clean.mp4 had no audio and no faststart (fault 16, 3 films).** The `--reference` twin now carries the same mastered audio (identical AAC stream) and `+faststart`. - **Caption size too small on the dark board (fault 14, every film).** The 16:9 default is now the house preset, 96 px on 1080 (was 54 px). 9:16 is unchanged (72 px on 1920). - **No-music films blocked on ducking (fault 2, editor side).** verify-ducking answers `N/A: no music in the plan` (or no voiceover) and exits 0; an empty plan or missing file stays CANNOT. - A font in `captions.fontsdir` is now the file that is checked and named in the ASS (fontconfig could otherwise substitute another family while libass loaded the folder's file). ### Verification - 0.1.2 regression suite on the new scripts: 46/46. Pilot controls: 32/32 (the two byte-identical ASS expectations were replaced on purpose: size-derived style fields and frame-snapped times, ≤ 1 frame). - Finish controls on the real case-studies inputs (original word timings, library music): 23/23 — one run, both files, verify-render PASS (−14.0 LUFS, −1.6 dBTP, both files), verify-captions 129/129 and 0.0000 % in pauses / outside the zone, ducking 7.99 / 8.01 dB, pump 0.81 dB; caption area per word equal to the approved render (median 0.777 %, min 0.239 %). - Tests live outside the published package. ---
v0.1.22026-10-31
### Fixed - Verify ducking with known clip ambience/SFX by fitting its stereo stem alongside voice and music, including trim, placement, gain, looping and transition fades. Singular windows cannot prove a pass; acceptance thresholds are unchanged. Previously a full-film audio clip excluded all windows. - Carry optional caption `size`, `boxed` and `balance_orphans` through plan loading, ASS generation, rendering and precheck. Defaults retain the previous style and word timestamps stay unchanged. ### Verification - Kept pilot correct/unducked/pumping controls and caption style regressions outside the bundle; re-run on the staged scripts before shipping. Existing live media and coordination helper retained. ---
v0.1.12026-09-24
Propagation patch. No change to the scripts, the gates, the shot-list fields read or the report shape. ### Added - **Marketplace card media.** `media.hero_image_url` plus four screenshots (runtime routing, the peer chain, the same-frame caption test, the mix-versus-music ducking test), rendered once and reused across the launch blog, both listing surfaces and the card. ### Changed - **Card copy rewritten to the card rules.** `marketing.long_description` now carries its numbers as numerals (9.96 dB, 0.01 dB, 13 s, 6 words) and names the peers; the five feature descriptions are cut to 90 characters or fewer. First person throughout. ---
v0.1.02026-09-24
First release. Guidance-only: the agent runs the bundled scripts in its own shell against its own ffmpeg, following `SKILL.md` (reached via `skill_read`). No backend, no HTTP-bound methods. ### Added - **Runtime detection** — `detect-runtime.mjs`: `local_ready` · `local_degraded` (names the missing filter) · `spidervideo_only`, plus the caption font provider on this machine. - **Local render** — `compose.mjs`: one computed ffmpeg graph from a video-director shot list; overlap-correct transitions, timebase-safe cuts, voiceover placement, speech-run ducking with a hold, clip sound kept and crossfaded, safe-zone captions with a resolved and coverage-checked font, poster as frame 0, two-pass loudness to the destination, `post_batch` as one file per row + a manifest. Refuses instead of rendering a wrong file. - **SpiderVideo path** — `emit-spidervideo.mjs`: the live `create_video` job and HTTP payload, with every field that path cannot honour listed as a loss and local files listed as blockers. - **Four gates** — `verify-timeline` · `verify-render` · `verify-ducking` (the music's share by least squares against the stems) · `verify-captions` (font precheck; same-frame, block-averaged pixel proof). Plus `verify-coordination`. - 5 references · 4 recipes · 25 registry items · 22 learnings · `instructions/AGENTS.md` + `DEPLOYMENT.md` · `PROVENANCE.md`. ### Known limits - Zoom-out transitions are refused (ffmpeg has no matching xfade). - The pump metric is untested on percussive music. - SpiderVideo cannot express per-scene transitions, trims, fit, mute, fps, poster or duck depth; the emitter says so rather than dropping them silently.
Showing all 5








