Aspect-Ratio Migration Without Losing Source Pixels: A Review Contract for Outpainted Video
The problem is not trimming, it is what happens outside the source frame
A clip mastered for one aspect ratio rarely survives an unchanged move to another. Cropping to a taller frame removes the sides of the composition; letterboxing preserves the picture but occupies only part of the display; stretching distorts geometry. All three are lossy in a different sense: they either discard source information or add presentation furniture that the viewer did not ask for.
Outpainting offers a fourth option. Instead of cutting the original, the pipeline generates new picture area beyond the existing edges so the source frame sits intact inside a larger canvas. That changes the engineering problem. The question is no longer "what do we remove" but "what do we add, and how do we know it is acceptable".
This note defines a review contract for that question. It is deliberately tool-agnostic: the generation step can be any outpainting service, and the artifact below should remain useful if that step is replaced.
Define the migration unit before generating anything
Treat one migration as a single reviewable unit rather than part of an amorphous batch. A unit is one source clip, one target aspect ratio, and one description of what the new area should contain.
A minimal machine-readable spec looks like this:
migration_id: clip-07-vertical-v2
source:
file: take07_master.mp4
frame_range: [120, 300]
native_aspect: "16:9"
target:
aspect: "9:16"
resolution: "720x1280"
added_area: surround
intent: "continue the studio wall with even light; keep subject position fixed"
invariants:
- source frame must remain untouched and fully inside target
- subject identity and clothing must not change inside source frame
- no text or logos may be invented in the added area
- added area must not introduce a second horizon line
checks:
- seam_continuity: manual, 3 sampled frames
- subject_position: compare bounding box within source region
- lighting_match: histogram comparison at seam band
The value of this spec is not the YAML itself. It is that every field is a decision someone can disagree with before generation, rather than a preference discovered after a bad render.
Keeping the generation step replaceable
The outpainting step should sit behind a small interface with one input (source clip plus target spec) and one output (migrated clip plus generation metadata). The review contract does not care which implementation fills that slot, and the decision record should not contain vendor-specific setting names. This boundary is what allows a team to change providers without rewriting the checklist or invalidating past decisions.
Establish invariants before you look at output
An invariant is a property that must hold for the migration to be acceptable. A preference is something that would be nice but can be traded away. Mixing the two is the most common reason reviews drag on: reviewers reject drafts for reasons nobody agreed were blocking.
For outpainted video, useful invariants usually include:
- The source region is pixel-identical to the master, or at minimum is not resampled, re-timed, or recolored.
- The subject inside the source region keeps its identity, pose, and clothing across the whole clip.
- The generated region does not introduce readable text, brand marks, or extra subjects.
- Motion in the added area is consistent with motion in the source; a static wall next to a moving subject is a visible failure.
- The seam between source and generated area does not flicker when sampled frame by frame.
Everything else is a preference. Background detail density, exact color grading of the added area, and how "interesting" the extension looks are all negotiable. Write them in a separate section so they can be relaxed deliberately when a deadline forces a tradeoff.
A sampling method that catches seam failures
Watching the full clip once is a poor review method. Seam failures are brief and motion-dependent, and attention drifts. A deterministic sample is better.
A simple procedure:
for t in [0.1, 0.35, 0.6, 0.85] of clip duration:
extract source frame S(t) and migrated frame M(t)
mask the source region inside M(t)
compare masked source region against S(t): report max channel delta
inspect a 40px band on each side of the seam: report edge discontinuity
record whether added-area motion direction matches source motion
pass if: all source-region deltas <= agreed tolerance
no seam band shows a hard edge
motion direction agrees in all four samples
otherwise: fail with the sample index and reason attached
This is intentionally conservative. Four samples will not catch every defect, but they produce a repeatable decision record. When two reviewers disagree, they can re-run the same four samples instead of re-watching from memory.
Decision record for each migration
Attach a short record to every accepted or rejected unit. It should be small enough that people actually write it.
{
"migration_id": "clip-07-vertical-v2",
"decision": "reject",
"failed_invariants": ["motion_direction"],
"sample_index": [2],
"evidence": "frame_0_6s: added background drifts left while subject moves right",
"retry_spec": { "intent": "lock background motion to source camera move" },
"reviewer": "role-agnostic-id",
"timestamp": "UTC"
}
The retry_spec field matters more than the verdict. A rejection without a changed specification usually produces the same failure on the next attempt. Treat "retry" as a new unit with one variable changed, not as another click of the same button.
Failure branches and how to classify them
Not every bad output deserves the same response. A small taxonomy keeps iteration focused:
- Source-region damage (resampling, color shift, re-timing) is a pipeline bug. Stop generating variants and fix the export path.
- Seam discontinuity is a generation-parameter problem. Change the prompt or guidance for the added area, keep everything else fixed.
- Invented content (text, logos, extra subjects) is a hard reject. Add an explicit negative constraint and re-run; do not try to patch it downstream.
- Preference mismatch is not a failure. Relax the written preference or accept the draft and move on.
Classifying the failure before changing settings is the difference between a controlled iteration and a series of random regenerations.
Where a generation component can be inserted
For teams that want a hosted implementation of the outpainting step, AI Video Expander is one option. According to its homepage, the tool fills space around an original video to fit a new aspect ratio, accepts source clips up to 10 seconds, and exports up to 720p vertical and 1080p landscape or square. Those are the vendor's own descriptions, not measured results, and they should be rechecked on the site before any workflow depends on them.

Official product preview used as visual context for the aspect-ratio migration workflow.
The important boundary is that this is a generation component, not the review process. Putting the tool behind a replaceable interface means the contract above survives even if the tool changes, disappears, or is swapped for an in-house model. Never let the review checklist become a list of UI buttons in one vendor's workspace.
Tradeoffs worth stating out loud
Outpainting preserves the source frame but gives control to a generative step for everything around it. That is a real trade: you gain composition fidelity in the source region and lose determinism in the added region. If the added area carries brand-critical information, outpainting may be the wrong tool and a designed background plate is safer.
Resolution is another trade. A higher output resolution gives more room for detail in the generated area but also makes seam defects easier to see. Choose the smallest resolution that meets the delivery requirement, then inspect at delivery size rather than at a zoomed-in editing view.
Finally, there is a throughput trade. Reviewing four sampled frames per migration takes a few minutes, which is fine for a handful of clips and painful for a large batch. At scale, automate the numeric checks and reserve human review for the motion and intent checks that are hard to encode.
A closing checklist before sign-off
- Spec exists and every invariant has an owner.
- Source region verified against the master at four sample points.
- Seam inspected frame by frame for flicker and hard edges.
- Added area checked for invented text, logos, and subjects.
- Motion direction in the added area agrees with the source.
- Decision record written, including a changed spec for any retry.
- Tooling detail kept behind a replaceable interface so the contract outlives the vendor.
If all seven hold, the migration is reviewable and the link can be reused in other pipelines. If any fail, the unit goes back with a specific reason rather than a vague request to try again.
All rights reserved