Video stitching is the process of combining synchronized footage from several overlapping camera lenses into a single continuous panoramic frame, most often a full sphere for 360-degree video. In XR content creation, it is the step that turns the separate circles or rectangles recorded by a multi-lens rig into one equirectangular image that a headset can wrap around the viewer.
Practitioners also call it 360 video stitching. The quality of the stitch decides whether viewers in a headset perceive a believable surrounding world or notice visible seams, ghosting and broken lines at the borders between lenses, which in immersive viewing is far more distracting than on a flat screen.
How video stitching builds a spherical frame
Video stitching works by aligning, warping and blending the images from each lens so that the content in their overlapping regions matches. Each camera sees a part of the scene, and neighboring lenses share an overlap zone, typically 10 to 30 percent of their field of view, which provides the shared visual information needed to join them.
The software first estimates lens calibration: intrinsic parameters such as focal length and fisheye distortion, and extrinsic parameters describing each lens orientation in the rig. It then finds matching feature points in the overlaps, solves for the best alignment, and reprojects every frame onto a common sphere. Finally, seam finding and blending hide the transitions, and the result is written out in a projection such as equirectangular or cubemap.
The main stages of a typical pipeline are summarized below, together with the problem each stage solves.
| Stage | What it does | Typical failure if skipped |
|---|---|---|
| Synchronization | Aligns frames from all cameras in time, often by audio or timecode | Moving objects split or double at seams |
| Lens calibration | Models fisheye distortion and lens position | Curved horizons and misaligned edges |
| Feature matching | Finds identical points in overlap zones | Global misalignment between lenses |
| Reprojection | Maps each image onto a common sphere | Wrong geometry and stretched areas |
| Seam blending | Hides transitions with feathering or multiband blending | Hard visible lines between lenses |
| Color matching | Equalizes exposure and white balance | Patches of different brightness |
Parallax, the core difficulty of stitching
Parallax is the apparent shift of an object when it is seen from two different positions, and it is the fundamental reason why stitching can never be perfect for physical rigs. Because lenses cannot occupy the same point in space, each sees nearby objects from a slightly different angle, so a single warp cannot align both near and far content at once.
The ideal rig would rotate every lens around a shared no-parallax point, often loosely called the nodal point. Compact rigs reduce the distance between lenses to minimize parallax, which is why small two-lens consumer cameras stitch cleanly at a distance. The practical rule is a minimum stitching distance: objects closer than a certain range to the seam produce visible errors.
The following table shows how rig geometry influences the safe working distance for subjects near a seam. The values are approximate and depend on lens count, overlap and software.
| Rig type | Lens spacing | Approximate safe distance near seams |
|---|---|---|
| Dual-lens consumer camera | About 2 to 3 cm | Roughly 0.5 to 1 m |
| Six-lens prosumer rig | About 5 to 10 cm | Roughly 1 to 2 m |
| Large stereoscopic rig | 10 to 20 cm or more | Roughly 2 to 3 m or more |
Modern stitchers address parallax with optical flow, which estimates per-pixel motion between overlapping images and synthesizes intermediate viewpoints. Optical flow can make close subjects look seamless, but it is computationally expensive and can create warping artifacts on thin structures, repetitive patterns and fast motion.
Stitching methods and when each applies
Stitching methods differ mainly in how they handle parallax and how much processing time they need. Template stitching applies a fixed calibration stored for a known camera, which is fast and reliable for consumer devices. Feature-based stitching recalculates alignment from the footage itself, and optical flow stitching adds per-pixel correction for demanding productions.
| Method | Speed | Parallax handling | Typical use |
|---|---|---|---|
| Template stitching | Very fast, often in camera | Limited | Consumer cameras, live preview |
| Feature-based stitching | Moderate | Good for distant content | Prosumer rigs, static scenes |
| Optical flow stitching | Slow, GPU intensive | Strong for close subjects | High-end cinematic VR |
| Real-time live stitching | Real time on dedicated hardware | Limited to moderate | Live events and broadcasts |
Stereoscopic stitching is more demanding still. For stereoscopic video and VR180, the stitcher must produce two consistent views, one for each eye, with correct horizontal disparity. Errors that are tolerable in monoscopic footage, such as small vertical misalignment, cause eye strain and discomfort in stereo because the visual system cannot fuse the two images.
Practical workflow for clean stitches
Clean video stitching starts on set, not in post-production. Planning where seams will fall, keeping the camera level and placing key action in the center of a lens rather than in an overlap reduce the work later. Locking exposure and white balance across all lenses also prevents color mismatches that are hard to correct.
- Point the center of a lens toward the main subject so that action stays away from seams.
- Keep people and objects beyond the minimum stitching distance of the rig.
- Use a thin monopod or tripod directly below the camera so that the nadir is easy to patch.
- Record a sync signal, such as a clap, when cameras are not hardware synchronized.
- Review stitches in a headset, because flat previews hide errors that become obvious in immersion.
After the main stitch, editors usually perform nadir and zenith cleanup to remove the tripod and fix the poles of the sphere, where equirectangular projection stretches pixels most. Horizon leveling and stabilization follow, because tilted or shaky 360 footage quickly causes motion sickness.
Common stitching artifacts and fixes
Most visible stitching errors fall into a handful of recognizable patterns, each with a known cause. The table below works as a diagnostic checklist for reviewing a stitched sequence.
| Artifact | Likely cause | Remedy |
|---|---|---|
| Ghosting or doubling | Subject too close to a seam | Reshoot farther away or use optical flow |
| Broken straight lines | Calibration error or parallax | Recalibrate or adjust control points |
| Brightness steps | Unlocked exposure per lens | Lock exposure, apply color matching |
| Jumping seams | Unstable per-frame alignment | Use a fixed template or smooth over time |
| Warped thin objects | Optical flow failure | Mask the area or switch blending method |
A frequent misconception is that higher resolution fixes stitching. Resolution does not remove parallax; it only makes errors sharper. Equally, software cannot fully recover information that no lens captured, so careful shooting remains decisive.
In everyday language
Imagine taking several photos while turning in a circle and then gluing them into one long picture. Video stitching does the same thing for video, many times per second, with cameras that point in different directions at once. The result is a moving picture that surrounds you completely when you wear a headset.
The hard part is the edges where pictures meet. Because the cameras sit slightly apart, close objects look a little different to each one, and the joins can show. Good stitching hides those joins so the world feels whole.
Seen in the real world
A small production team records a 360-degree tour of a concert hall with a six-lens rig on a thin stand placed in the center aisle. They aim one lens at the stage, keep the audience at least two meters from the camera, and lock exposure on all lenses before the performance starts.
In post-production, they run optical flow stitching on a workstation, which takes several hours for a 20-minute sequence at 8K equirectangular resolution. They patch the stand out of the nadir, level the horizon and review the result in a headset. A railing near one seam shows doubling, so they mask that area with a cleaner frame. The final video plays without visible seams on the stage, and viewers report that the hall feels convincingly present.