DEV Community

One edit, three aspect ratios: production versions as sequences, not file copies

shansjl on November 15, 2026

I build CutVoke, an open-source (MIT) local video editor that Claude Code / Codex can drive over MCP. This post is about one feature and its limits...
Collapse
 
bhaveshvaghela profile image
Bhavesh Vaghela •

Good that you say plainly that cover is a centre crop. From the motion-graphics side, the harder part after a reframe is usually the text and graphics, not the footage. Scaling positions to the new canvas can still leave captions or lower thirds under the platform UI in 9:16, since the bottom edge and right side of Reels and Shorts are covered by buttons and the app's own captions. I would add a safe-area overlay for each ratio to the preview_frames check, and set caption position per ratio instead of a scaled copy of the 16:9 one. Planning it at the edit stage also helps: keep the key action in the middle third and leave headroom, so a plain centre crop survives for 9:16 and 1:1. For a speaker sitting off-centre, a keyframed manual crop is still the reliable fix.

Collapse
 
shansjl profile image
shansjl •

Thanks, this is a useful correction to the post: the footage crop is the easy half, the text is the hard half.

What CutVoke has today, so it's clear where the gap is:

  • The editor preview has a safe-area toggle with generic guides (10% title-safe, 5% action-safe on each edge), and the title inspector warns when a title's anchor sits outside the 10% area. These are broadcast-style margins, not a Reels/Shorts UI mask, and they're only drawn in the editor preview, not in the frames preview_frames returns to the agent.
  • Because each version is its own sequence, caption and title positions can be moved in the 9:16 version without touching the 16:9 one. The scaled copy is only the starting point.

So your suggestion (a per-ratio platform overlay the agent can see in preview_frames) is a real missing piece, not something it does now. Agreed on the edit-stage advice too: keeping the action in the middle third is what makes a plain centre crop survive, and for an off-centre speaker a keyframed manual crop is still the dependable fix.

Collapse
 
bhaveshvaghela profile image
Bhavesh Vaghela •

Appreciate you laying out what's there and what isn't. One practical thing from the editing side: the overlay doesn't have to be exact to be useful. Even a rough mask over the bottom fifth and the right edge of a 9:16 frame would catch most caption problems before export. Platform UI changes every few months anyway, so I'd keep it as a swappable image layer instead of hard-coding the numbers.

Thread Thread
 
shansjl profile image
shansjl •

Good point, and it fits how the editor already works without new code. A rough guide can just be a PNG: put it on its own top video track in the 9:16 sequence, and it shows up in the frames preview_frames returns, so the agent sees the covered bottom fifth and right edge. Hidden tracks are skipped at render, so you turn that track's visibility off before export (or leave the guide out of the export sequence). When the platform UI moves, you swap the image, not code.

The part I'd still want is for that to be a proper "guide" layer that never renders, so nobody can forget to hide it. Thanks for the practical angle.

Thread Thread
 
bhaveshvaghela profile image
Bhavesh Vaghela •

That is how a guide layer works in After Effects: it shows in the viewer but never renders, which is why a lot of motion templates keep platform-UI masks on one without any export risk. A flag like that on a track would fix the forgetting problem. Until then, one cheap safeguard is to make the guide PNG a loud semi-transparent red with a label baked in, so if it ever does get exported it fails in the first few frames instead of slipping through.

Thread Thread
 
shansjl profile image
shansjl •

That's a better safeguard than anything I suggested: if the guide ever leaks, a loud labelled red block is caught at the first frame check instead of at upload. The After Effects guide-layer behaviour is exactly the model I'd want for a track flag. Thanks, I'll note it as a feature idea.

Collapse
 
sudokat_ profile image
Gordon Chase •

Freezing the sequence snapshot on export.enqueue saves you from mid-render timeline edits—right up until someone overwrites a source clip on disk while version 1 is still encoding. Does the queue serialize those re-encodes by default, or will queuing four aspect ratios at once hit consumer NVENC session caps?

Collapse
 
alexshev profile image
Alex Shev •

Keeping versions as sequences avoids file drift, and the honest distinction between geometric cover cropping and semantic reframing is important. I’d add a per-sequence review checklist for safe zones, captions, and subject framing, plus a visual diff at a few representative timestamps. That makes the automated conversion auditable without pretending that a centre crop is creative judgment.

Collapse
 
shansjl profile image
shansjl •

Agreed, and "auditable without pretending a centre crop is creative judgment" is a good way to put it. Part of that exists today: preview_frames returns real rendered PNGs (captions included) at up to 6 timestamps, and preview_compare renders before/after pairs at the same timestamps for a command without committing it. There is no built-in per-sequence checklist yet; for now it's a habit of picking the same few timestamps in each version and looking at safe zones, captions and the subject. A saved checklist per sequence would be a reasonable next step.

Collapse
 
paul_irolla_6b5ae261d0224 profile image
Paul Irolla •

A copy is a second source of truth. The next edit has to reach each file, and one of them will be missed. A sequence that points at the master cannot drift from it.

Collapse
 
shansjl profile image
shansjl •

Agreed, and that sharpens a point the post glossed over. sequence.duplicate is still a copy: it lives in the same project, but after duplicating, a fix in the 16:9 master does not flow into the 9:16 sequence.

The part of CutVoke that actually points at a master is composition.instance: it inserts another sequence as a live shared instance (stable sequence reference, cycle-checked, undoable). Editing the master updates its instances, and an override set on one instance only changes that instance (only for controls the master exposes with composition.expose).

So for "fix the typo once", the closer match to what you describe is a master sequence placed as an instance, not a duplicated version. Thanks for the push.