Skill 11

Split screen

Split screen with cuttingfloor - two or more parts of a picture, or of different pictures, each filling its own panel of one frame, such as a facecam across the top of a vertical Short with the gameplay below, two people stacked or side by side, or a reaction above the clip. Each part is placed with one transform (its own pixels, scaled and moved), with no crop, and the frame's edges and the track above hide the rest. Use when someone asks for a facecam on top and the game below, a stacked or split layout, two shots in one frame, or a reaction layout.

LiveWatch it live now Kazi gives Big Buck Bunny a happier ending.Kazi is one way in: ChatGPT, Claude or any MCP app connects the same way.Free · a few minutes · no sign-up
01 / Copy it

How do I give this to my agent?

  • Kazi Paste it into a chat and ask Kazi to save it as a playbook. It is already in the format Kazi uses.
  • Claude Paste it into a chat, or into a project’s instructions so every chat in that project follows it.
  • ChatGPT Paste it into a chat, or into a project’s instructions so every chat in that project follows it.
  • Connected to cuttingfloor? Your agent can find this skill itself. Just ask for the job in your own words.
The whole skill, 42 lines

Each part is the whole picture placed so that the part fills its panel: fit: "none" (the picture at its own pixels), a scale and a centre. Nothing is cropped; whatever lies outside the panel falls off the frame or under the clip on the track above.

When to use

  • One frame must show two or more parts at once, each in its own panel: a facecam and the game, two speakers, a reaction and the clip.
  • The parts come from one picture (a stream with a facecam in a corner) or from several.

Prerequisites

  • The cuttingfloor MCP server is connected.
  • A timeline at the target size (W × H) with a video track per panel.
  • Each part's box in source pixels (bx, by, bw, bh: left, top, width, height): read from a full-size render.frames {media_id, size: "full"}, or from media.analyze faces or track boxes (fractions: multiply by the source width and height).

Steps

  1. The assistant should choose each panel's box in the frame (X, Y, PW, PH). A facecam across the top of a 1080×1920 frame keeps its own shape: PW = 1080 and PH = 1080 × bh ÷ bw; the next panel takes the rest of the height.
  2. The assistant should work out each part's scale and centre. With the source picture Ws × Hs pixels: s = the larger of PW ÷ bw and PH ÷ bh (the part covers its panel), x = (X + PW/2 + s × (Ws/2 − bx − bw/2)) ÷ W and y = (Y + PH/2 + s × (Hs/2 − by − bh/2)) ÷ H. Example: a 222×124 facecam at (12, 346) in an 854×480 stream, across the top of 1080×1920: s = 4.865, PH = 603, x = 1.869, y = −0.269.
  3. The assistant should add the clip once per panel at the same frames (clip.add {at_frame, source}; av: "video" for all but the one whose sound is kept), each on its own video track, and place each with clip.set_transform {fit: "none", scale: s, x, y}, all in one edit.batch.
  4. The assistant should order the tracks so that what spills out of a panel is hidden: a part whose picture spills into a neighbouring panel goes on a lower track than that neighbour's clip, whose picture must cover the spill.
  5. The assistant should read each clip's placements in the result: source must be the part's box and visible its panel, give or take a pixel. Then it looks at a frame or two with render.frames and moves a panel's edge a few source pixels where a border, glow or overlay of the other part shows.

Decision table

SituationDo
The part's shape differs from its panel'sScale by the larger ratio (step 2) and centre it; the panel shows the middle of the part
A part scaled up more than about 3 timesIt will look soft; tell the user, or give that panel less of the frame
The game or main shot needs to follow the actionPan it within its panel with x keyframes (pan-and-scan), the facecam fixed
Spill that no clip above coversChange the track order, or give the panel above a larger picture (scale) so it covers the spill

Required behavior

  • Each panel filled, with no bars and no slice of another panel showing.
  • Check placements and one frame before exporting.