Diagnose Focus Breathing With a Frame-Edge Overlay

The focus moves from a cup to a door. The frame seems to zoom, although the camera was locked off. Put two fixed background markers near opposite edges of the image and overlay the sharp start and finish frames. Their movement tells you whether the shot is consistent with a change in image scale, a camera move or an error that reshapes one part of the image.
Make one locked-off focus reveal with APOB Rack Focus
Nikon's technical explainer describes optical focus breathing as a change in angle of view as the lens shifts focus. A generated clip can imitate the same visual effect or produce a shape change with no optical equivalent. Use the same measurement, but label the production method from the source media before assigning a cause.
Put two fixed markers at opposite edges
For an original tabletop setup, stage a blank cup in front of a distant door or cabinet. The left marker is a corner of the back wall trim. The right marker is the center of a small fastener in the doorframe. Place both markers on the same distant plane whenever possible. Use stable, moderately sharp edges. A patch of moving light is a poor marker, even if it sits exactly where you hoped to take the measurement.
Locked tripod
A physical reference starts with a tripod that stays put through the focus pull. Lock the crop, zoom and camera movement as far as the device permits. Log stabilization and any in-camera breathing compensation. Save the start and finish frames in the same output dimensions. A slip from the tripod plate or an automatic framing correction can imitate changes in view and complicate the diagnosis. SIRUI's rack-focus guide provides the shooting context for transferring sharpness between planes.
Stable background
Put the cup and the distant door on the same frame at both ends. Take a clean still just before the transition and another after the focus settles. Mark each point on a duplicate layer, then switch the layer on and off while you examine the frame edge. Save a middle frame as well. Blur may make the exact center uncertain during the pull. Use short ranges rather than false single-pixel precision where that happens. A perfectly flat test may miss physical displacement, so include the foreground cup as a separate depth check.
This overlay card uses synthetic coordinates in a 1,920-pixel-wide image. The positions are intentionally selected to make the calculation easy. They are not measurements of a lens or a generated take.
Frame ID | Left marker x | Right marker x | Span | Foreground check |
|---|---|---|---|---|
A, cup in focus | 160 | 1,760 | 1,600 px | Cup handle clear |
B, door in focus | 152 | 1,768 | 1,616 px | Cup unchanged in outline |
Overlay difference | −8 | +8 | +16 px | Same midpoint |
Separate scale change from physical camera movement
Mark the midpoint as well as the distance separating the markers. This gives you two signals from two coordinates. In the example the midpoint stays at 960 pixels while the gap expands from 1,600 to 1,616. A similar one-percent expansion on additional stable features makes the scale-change explanation plausible.
Look at both change and direction. A left marker shifting from 160 to 152 while the right marker shifts from 1,760 to 1,768 indicates expansion around the same midpoint. If both shifted right by eight pixels, the measured span would remain 1,600 and the midpoint would move to 968. When midpoint and span both change, write down both values rather than forcing the shot into one category. An optical center off the middle of the delivered crop can also make symmetric lens behavior appear asymmetric in the exported frame.
Whole-frame expansion
Calculate B span divided by A span, minus one. The result for these example values is 1%. In a physical test, estimate the fraction of that change that could come from marker uncertainty. If both markers have only a two-pixel-wide blur range, the sample's 16-pixel span change is easier to read than a two-pixel change would be. Compare vertical landmarks as a check. A uniform scaling effect should look compatible horizontally and vertically. An identical pixel shift on both edges with no span change instead looks like translation.
Relative object motion
Next look at the cup against the vertical wall feature. A moving camera can change how the near object overlaps the distant background. Be cautious about causation: a zoom or a crop around a fixed center can mimic the same two-marker pattern as focus breathing. Two edges give a diagnosis of how the frame moves. The camera report and a near-to-far comparison help explain why. If the door swings or the shot contains no reliable stationary points at two depths, mark the test inconclusive and repeat it with a simpler reference.
When assessing a physical shoot, repeat the focus pull in the opposite direction with the same start and finish settings. If the edge positions return to the original locations, the scale change is repeatable in that setup. If the whole backdrop stays displaced, check the mount, the operator’s contact with the lens and any stabilization. Preserve the source frames and control settings in the report. Nikon’s focus breathing explanation is helpful when separating a focus-linked change in angle of view from deliberate focal-length changes.
Run the same overlay on the generated take
Start with the approved reference image, then create one locked-off reveal with APOB Rack Focus. Reuse the scene framing and the near/far placement. APOB is useful here because the same approved setup can give you another candidate with the focus transition changed. That lets you compare takes without asking a new prompt to redesign the scene.
Rigid geometry
Try a constrained prompt for the original tabletop scene:
Locked tripod at tabletop height. A plain cup rests near frame left and a closed door sits in the distant background. The cup is sharp at the start. Draw focus to the closed door and hold. Preserve the frame edges, doorframe, gap behind the cup and cup handle. Keep the camera stationary throughout.
Use the same overlay on the start, middle and finish. Verify that the focus actually reaches the target by looking at identifiable detail on the door and the cup. A static frame that preserves geometry but never changes the focal plane cannot carry the reveal. Keep that kind of failure separate from an unwanted crop.
Warped edges
Check that the vertical trim stays straight and the cup rim keeps its shape. With a generated shot, one edge can move while the other reverses or distorts, or the geometry can wobble and then return by the final frame. Record which object changes shape and when. Call that geometry drift. If the shift looks convincingly uniform, record simulated scale change without assuming a lens mechanism. When a new candidate is useful, generate only the transition in the APOB AI Video Generator workflow and compare against the same chosen crop.
Choose a fix the story can tolerate
Make a decision before your editor opens an effect panel. Is the apparent push distracting at full speed? Does it alter the silhouette behind the actor? Does the client require a perfectly locked frame? The answers can matter more to the cut than a one-percent measurement.
Crop allowance
Keep a natural-looking shot where the reveal reads clearly within its actual delivery framing. If a small uniform correction is useful, reserve a little margin around the main image before scaling. Review the adjusted frame at the smallest delivery size. Captions and graphics can reveal small framing changes that would otherwise be invisible. Apply the correction before adding those overlays.
Regenerate
When a background edge bends or the foreground changes shape, changing the frame scale will not repair that part. Reuse the approved still and constrain one focus change while keeping the surrounding action fixed. Save both takes and note which failed marker prompted the rerun. This makes the comparison about a visual symptom rather than general preference.
For the retry, hold the background reference and edit only the movement instruction. Keep the original prompt, seed or available job identifier and corresponding frame pairs so the comparison is reproducible. If the audio or a camera move changes at the same time, a reviewer cannot isolate the effect of the revised instruction by watching once. Export a short still-frame comparison before choosing the take. A second attempt helps when it keeps the approved visual anchors and makes the intended reveal clearer at the same time.
Cutaway
When the focus reveal has to be legible and a second take keeps breaking geometry, cut to a stable view of the distant subject. Choose the cut on a motivated beat, such as the actor looking toward the door. Use the shorter cutaway as a production fallback and keep the full test overlay for the next scene. The viewer still learns what is behind the cup, and the edit needs no arbitrary zoom.
If a cutaway introduces its own continuity problem, line up a visible action across both views. The APOB match-on-action worksheet provides a way to choose the frames around a join. Compare the ending direction of the first shot and the opening direction of the cutaway with the same attention you gave the overlay. Put the final decision on a short card: deliverable crop, midpoint shift, span shift, foreground/background relation, visible distortion, next action. The note follows the selected clip into a trailer or a later episode and lets another editor understand why you used it.















