AI Video Editing Flows

Effect #096 in our rendered series

Split Screen Video Effect

A creator puts two shots side by side with a sliding divider, for reactions, comparisons or two speakers.

Real footage

1920x1080 file, 5.0 MB

Rendered by us at 1920x1080 over shots from Tears of Steel (Blender Foundation, CC-BY 3.0). Expand plays the full 1080p file.

Edit in Premiere, Resolve or After Effects? Jump to editor templates. Making many versions of the same video? Use the code route.

Make this effect with

Built and tested by us

Other ways, not tested by us

Use it in a real edit

Second shot

1920x1080 file, 4.0 MB

Two close-ups side by side: Celia on the left, young Thom on the right. Nothing in the composition changed except the footage file.

The composition plays your clip as a muted <video> layer under the graphics (the file plate.mp4 in the code below), so you swap the footage by replacing that file and rendering again. To use the graphics in an editor instead, switch the background off and render a transparent MOV (an H.264 MP4 cannot carry transparency):

Render the graphics alone, with transparency
npx hyperframes render . -o overlay.mov --format mov --fps 24 --variables '{"plate":false}'

The routes in full

With Claude Code: the prompt we used

Rendered and tested by us in HyperFrames 0.8.10 on Nov 14, 2026.

Build a 5 second split screen video from two real shots playing side by side. The first shot fills the frame, then a thin divider slides in from the right edge to the centre, pushing the first shot into the left half while the second shot slides into the right half. Both keep playing. Keep each person centred in their half. Add small backed name tags at the lower left of each half that rise in after the split lands. Make the divider colour, divider width and the name tags variables, and keep a switch that hides the footage.

What changed since this prompt: the demo on this page is our second version, 5 seconds long, rebuilt on 2 shots from Tears of Steel with the same animation idea. The full composition below is the one we rendered; its build log lists every change.

Built by Claude Code (Opus) from the HyperFrames registry block comparison-split, then edited by us for real footage. Claude Code then checked the composition with hyperframes lint and hyperframes check before we rendered it.

What we had to correct (3 notes from the build log):

  • comparison-split is a slider component; we kept the divider-led reveal but made both halves real video, the left pane narrowing from full frame (its video shifts with it so Thom stays centred) and the right pane arriving behind the divider.
  • Real edit uses names off because the name tags are true only for the main pair (Thom and Old Thom).
  • v2 (14 Nov 2026): real edit replaced with Celia and Thom close-ups (old pair had a mislabelled dark shot and clipped Old Thom's face); added nameL and nameR text variables so tags match who is in frame.

With HyperFrames code

Rendered and tested by us in HyperFrames 0.8.10 on Nov 14, 2026.

Install the block and render
npx hyperframes add comparison-split
npx hyperframes render . -o out.mp4 --fps 24

Settings you can change without rebuilding (pass them with --variables):

SettingNameTypeDefault
Divider colouraccentcolor#ffffff
Divider width (px)dividernumber4
Show name tagsnamesbooleantrue
Left name tagnameLstringThom
Right name tagnameRstringOld Thom
Show backgroundplatebooleantrue
Our full composition (index.html, 4 KB)
index.html
<!doctype html>
<html lang="en" data-composition-variables='[{"id": "accent", "type": "color", "label": "Divider colour", "default": "#ffffff"}, {"id": "divider", "type": "number", "label": "Divider width (px)", "default": 4, "min": 2, "max": 14}, {"id": "names", "type": "boolean", "label": "Show name tags", "default": true}, {"id": "nameL", "type": "string", "label": "Left name tag", "default": "Thom"}, {"id": "nameR", "type": "string", "label": "Right name tag", "default": "Old Thom"}, {"id": "plate", "type": "boolean", "label": "Show background", "default": true}]'>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=1920, height=1080" />
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&display=block" rel="stylesheet" />
    <script src="gsap.min.js"></script>
    <style>
      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
      html, body { width: 1920px; height: 1080px; overflow: hidden; background: transparent; }
      #root { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent; }
      .vid { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; object-fit: cover; }
      .mont { font-family: "Montserrat", sans-serif; font-weight: 800; }

      .pane { position: absolute; top: 0; height: 1080px; overflow: hidden; }
      #div { position: absolute; top: 0; height: 1080px; background: var(--accent); box-shadow: 0 0 22px rgba(0,0,0,0.5); }
      .nm { position: absolute; bottom: 80px; font-size: 52px; opacity: 0; background: rgba(10,12,18,0.84); color: #fff; border-radius: 14px; padding: 14px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); border-left: 8px solid var(--accent); }
    
    </style>
  </head>
  <body>
    <div id="root" data-composition-id="main" data-start="0" data-duration="5" data-fps="24" data-width="1920" data-height="1080">
      <div class="pane" id="L"><video id="v1" class="plate vid " src="plate_a.mp4" muted playsinline data-start="0" data-duration="5.0"></video></div>
      <div class="pane" id="R"><video id="v2" class="plate vid " src="plate_b.mp4" muted playsinline data-start="0" data-duration="5.0"></video></div>
      <div id="div"></div>
      <div class="nm mont" id="nL">Thom</div><div class="nm mont" id="nR">Old Thom</div>
    </div>
    <script>
      window.__timelines = window.__timelines || {};
      (function () {
        const v = window.__hyperframes.getVariables();
        const tl = gsap.timeline({ paused: true });
        if (!v.plate) document.querySelectorAll(".plate").forEach((e) => (e.style.display = "none"));
        const $ = (s) => document.querySelector(s);

        document.getElementById("root").style.setProperty("--accent", v.accent);
        $("#nL").textContent = v.nameL; $("#nR").textContent = v.nameR;
        if (!v.names) document.querySelectorAll(".nm").forEach((e) => (e.style.display = "none"));
        const dw = v.divider, W = 960 - dw / 2, CXL = 750, CXR = 520;
        const set = (s, o) => Object.assign($(s).style, o);
        set("#div", { width: dw + "px", left: "1920px" });
        set("#L", { left: "0px", width: "1920px" }); set("#R", { left: "1920px", width: W + "px" });
        $("#L .vid").style.left = "0px"; $("#R .vid").style.left = -(CXR - W / 2) + "px";
        $("#nL").style.left = "96px"; $("#nR").style.left = (960 + dw / 2 + 64) + "px";
        const EI = "sine.inOut";
        tl.to("#L", { width: W, duration: 1.3, ease: EI }, 0.1);
        tl.to("#L .vid", { left: -(CXL - W / 2), duration: 1.3, ease: EI }, 0.1);
        tl.to("#R", { left: 960 + dw / 2, duration: 1.3, ease: EI }, 0.1);
        tl.to("#div", { left: 960 - dw / 2, duration: 1.3, ease: EI }, 0.1);
        tl.fromTo("#nL", { opacity: 0, y: 18 }, { opacity: 1, y: 0, duration: 0.35, ease: "power2.out" }, 1.5);
        tl.fromTo("#nR", { opacity: 0, y: 18 }, { opacity: 1, y: 0, duration: 0.35, ease: "power2.out" }, 1.65);
        tl.to(".nm", { opacity: 0, duration: 0.25 }, 3.6);
        // slide back out so the loop restarts on the same picture it ends on
        tl.to("#L", { width: 1920, duration: 1.1, ease: EI }, 3.9);
        tl.to("#L .vid", { left: 0, duration: 1.1, ease: EI }, 3.9);
        tl.to("#R", { left: 1920, duration: 1.1, ease: EI }, 3.9);
        tl.to("#div", { left: 1920, duration: 1.1, ease: EI }, 3.9);
    
        tl.to({}, { duration: 5 }, 0);
        window.__timelines["main"] = tl;
      })();
    </script>
  </body>
</html>

With Remotion

We have not built this effect in Remotion. If you use it, read its licence first: Individuals (personal or commercial use), organisations or teams with a total headcount of 3 or less, non-profits, and anyone evaluating Remotion before commercial use. A company does not qualify merely because it is unprofitable. Everyone not eligible for the Free License needs a Company License. Remotion licence FAQ, checked Nov 4, 2026.

In your editor: Premiere, Resolve, After Effects, CapCut

We have not reviewed an editor template for this effect yet.

Variations

The same composition rendered again with different settings. Nothing was rebuilt.

Thin pale divider{"divider":2,"accent":"#dfe6ee"}
Wide yellow divider{"divider":12,"accent":"#ffd23f"}
No name tags{"names":false}

Spec and test details

Engine
HyperFrames 0.8.10, GSAP 3.14.2 (local copy)
Length and frame rate
5 seconds at 24 fps, rendered at 1920x1080
Video files on this page
H.264: 1920x1080 for Expand (5120.7 KB), 1280x720 in the page (1943.4 KB), 640x360 in galleries (420.1 KB), no audio
Picture check
The 1080p file scores VMAF 99.64 against our render master and keeps 98% of its edge detail (measured by us with FFmpeg libvmaf and OpenCV)
Footage
young Thom by the canal looking up, a robot to the right, daylight (Tears of Steel, 8:30); Old Thom among robot parts, medium, warm (Tears of Steel, 8:51)
Tested in editors
None yet
Flash check
Passed: at most 0 general and 0 red flashes in any second. automated approximation of WCAG 2.3.1 on a 96x54 grid, whole loop including the restart; not a certification.
Licence
Composition adapted by us from the HyperFrames registry (Apache-2.0); text fonts from Google Fonts under the SIL Open Font License.
Last tested
Nov 14, 2026
Machine
Laptop: AMD Ryzen 7 7735U (8 cores, 16 threads), 31 GB RAM, Windows 11 Home; CPU rendering
Technical details: render times and file sizes
  • Render of the 5-second master: 64.5 s (2 render workers, on the laptop above).
  • full.mp4: 5120.7 KB
  • hero.mp4: 1943.4 KB
  • hero.webp: 67.2 KB
  • tile.mp4: 420.1 KB
  • tile.webp: 25.3 KB
  • real-edit.mp4: 1236.1 KB
  • real-edit-full.mp4: 4058.9 KB
  • real-edit.webp: 41.7 KB
  • Variation "subtle": rendered in 56.6 s, 410.7 KB
  • Variation "bold": rendered in 54.2 s, 413.6 KB
  • Variation "bare": rendered in 38 s, 408.7 KB

Credits

  • Built from the HyperFrames registry component comparison-split by HeyGen (Apache-2.0), adapted by us.
  • Fonts from Google Fonts, under the SIL Open Font License.
  • Footage: Tears of Steel, (c) Blender Foundation, mango.blender.org, licensed CC-BY 3.0. We cropped the shots to 16:9 and laid our graphics over them.
  • Editor templates and other routes on this page belong to their creators, who are credited on each card.

Related effects and jobs

Page checked on Nov 4, 2026.