Split screens
On this page
Several photos or clips in one frame: side by side, stacked, in a grid, or in boxes you place. A small picture over the video is an overlay instead.
Every Timeline names its language version in v. The newest is 1.33. A Timeline that uses something newer than its v is refused when you save it, with a detail that names the version it needs.
Words such as segment, Timeline, Preview and final are defined in the glossary.
Split screens and grids #
One segment shows several of your files at once: two side by side or stacked, three in a row, a 2×2 or 2×3 grid, or up to six boxes you place yourself. Each box can carry a label, such as BEFORE and AFTER. A split screen is silent unless one box is the heard one.
Key: source.compose · Available · Goes in a segment's source.compose · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
layout | one of 2up_h, 2up_v, 3up, grid_2x2, grid_2x3, free | required | 2up_h two side by side, 2up_v two stacked, 3up three along the long side of the frame, grid_2x2, grid_2x3 (two across, three down in a tall frame), or free. |
cells | list, 1–6 | required | The boxes, in order: as many as the layout has (2, 3, 4 or 6; up to 6 for free). |
cells[].source.$asset | id of your file | required | The photo or clip in this box. |
cells[].trim | object, 0 ≤ from < to | — | For a clip, the part to play, from and to in milliseconds. It must last at least as long as the segment. |
cells[].fit | one of cover, contain | "cover" | How the picture fits its box. |
cells[].label.text | text, 1–80 | — | A label drawn on the box. |
cells[].label.style | one of badge, title, caption | "badge" | badge a boxed tag near the top, title a headline near the top, caption a boxed line near the bottom. |
cells[].rect | object, 0–1 | — | For free only, and required there: the box's x, y, w and h as fractions of the frame, inside it. |
gap | whole number, 0–200 px | 0 | Space between the boxes, in pixels. |
background | color, #RRGGBB | "#000000" | The color that shows in the gaps. |
duration | whole number, ≥ 1 ms | required | How long the split screen shows, in milliseconds (on the segment or here). |
Example:
{
"id": "compare",
"source": {
"compose": {
"layout": "2up_v",
"gap": 8,
"cells": [
{
"source": { "$asset": "<before photo id>" },
"label": { "text": "BEFORE", "style": "badge" }
},
{
"source": { "$asset": "<after photo id>" },
"label": { "text": "AFTER", "style": "badge" }
}
]
}
},
"duration": 4000
}The box you hear #
In a split screen of clips, one box can be the one you hear: the segment plays that clip's sound.
Key: compose.audio · Available · Goes in a segment's source.compose · Needs "v": "1.4" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].audio | true or false | false | This box's sound is the segment's sound. At most one box may say so. |
Example:
{
"id": "duet",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{
"source": { "$asset": "<first clip id>" },
"trim": { "from": 0, "to": 4000 },
"audio": true
},
{
"source": { "$asset": "<second clip id>" },
"trim": { "from": 0, "to": 4000 }
}
]
}
},
"duration": 4000
}A whole picture in a box, over a blurred copy #
A box shows its whole picture over an enlarged, blurred copy of it, so no edge is cut and no bar shows.
Key: compose.fit_show_all · Available · Goes in a segment's source.compose · Needs "v": "1.14" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].fit | show_all | "cover" | show_all shows the box's whole picture over a blurred copy. |
Example:
{
"id": "pair",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{ "source": { "$asset": "<wide photo id>" }, "fit": "show_all" },
{ "source": { "$asset": "<tall photo id>" } }
]
}
},
"duration": 4000
}Aim a box's crop #
A box that is filled (fit cover) crops its picture; focus says which part to keep instead of the middle, such as a head near the top of a tall clip.
Key: compose.cell_focus · Available · Goes in a segment's source.compose · Needs "v": "1.15" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].focus.x | number, 0–1 | 0.5 | Which part of the width to keep: 0 the left edge, 1 the right edge. |
cells[].focus.y | number, 0–1 | 0.5 | Which part of the height to keep: 0 the top, 1 the bottom. |
Example:
{
"id": "interview",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{
"source": { "$asset": "<host clip id>" },
"trim": { "from": 0, "to": 4000 },
"focus": { "x": 0.5, "y": 0.3 }
},
{
"source": { "$asset": "<guest clip id>" },
"trim": { "from": 0, "to": 4000 }
}
]
}
},
"duration": 4000
}A box of one color #
A box may be filled with one color instead of a clip or photo: source: { solid: "#RRGGBB" }. An empty part of a split is a black box.
Key: compose.solid_cell · Available · Goes in a segment's source.compose · Needs "v": "1.26" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].source.solid | color, #RRGGBB | — | The box's color. |
Example:
{
"id": "split",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{ "source": { "solid": "#000000" } },
{
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"audio": true
}
]
}
},
"duration": 4000
}Zoom into a box's picture #
A filled box (fit cover) may show its picture closer: zoom from 1 to 4, aimed by focus as the crop is.
Key: compose.cell_zoom · Available · Goes in a segment's source.compose · Needs "v": "1.26" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].zoom | number, 1–4 | 1 | How much closer: 1 is as filled, 2 twice as close. |
Example:
{
"id": "closer",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{
"source": { "$asset": "<host clip id>" },
"trim": { "from": 0, "to": 4000 },
"zoom": 1.5
},
{
"source": { "$asset": "<guest clip id>" },
"trim": { "from": 0, "to": 4000 }
}
]
}
},
"duration": 4000
}A short clip in a box #
A clip shorter than its piece says what happens when it ends: run_out: "hold" keeps its last frame, "loop" plays it again from its start (at most 20 times).
Key: compose.cell_run_out · Available · Goes in a segment's source.compose · Needs "v": "1.26" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].run_out | one of | — | hold or loop. |
Example:
{
"id": "broll",
"source": {
"compose": {
"layout": "2up_v",
"cells": [
{
"source": { "$asset": "<b-roll clip id>" },
"trim": { "from": 0, "to": 1500 },
"run_out": "loop"
},
{
"source": { "$asset": "<speaker clip id>" },
"trim": { "from": 0, "to": 4000 },
"audio": true
}
]
}
},
"duration": 4000
}The smooth push #
A two-box split opens from the whole frame and closes back to it: as the divider slides, the main picture shrinks into its box and the other grows into its own, with no jump. A picture in picture grows from its corner.
Key: compose.push · Available · Goes in a segment's source.compose · Needs "v": "1.29" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
push.in | number, 0 or 100–3000 | 0 | Milliseconds to open; 0 is a cut. |
push.out | number, 0 or 100–3000 | 0 | Milliseconds to close; 0 is a cut. |
push.main | number, 0–1 | 0 | Which box fills the frame at those ends. |
push.fit | one of | the box's own fit | How the main picture filled the frame: cover or contain. |
push.focus | object | the box's own aim | Where its crop was aimed, x and y from 0 to 1. |
Example:
{
"id": "opens",
"source": {
"compose": {
"layout": "2up_v",
"push": { "in": 600, "out": 600 },
"cells": [
{
"source": { "$asset": "<host clip id>" },
"trim": { "from": 0, "to": 4000 },
"fit": "contain"
},
{
"source": { "$asset": "<guest clip id>" },
"trim": { "from": 0, "to": 4000 },
"fit": "contain"
}
]
}
},
"duration": 4000
}Hear several boxes #
More than one box may set audio: true; their sound is added together, each at its own volume (0 to 2).
Key: compose.cell_audio_mix · Available · Goes in a segment's source.compose · Needs "v": "1.26" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
cells[].volume | number, 0–2 | 1 | A heard box's volume. |
Example:
{
"id": "both",
"source": {
"compose": {
"layout": "2up_h",
"cells": [
{
"source": { "$asset": "<speaker clip id>" },
"trim": { "from": 0, "to": 4000 },
"audio": true
},
{
"source": { "$asset": "<b-roll clip id>" },
"trim": { "from": 0, "to": 4000 },
"audio": true,
"volume": 0.3
}
]
}
},
"duration": 4000
}A new background behind a person #
Puts the person in a clip on a new background: a color, a photo, or their own room blurred. It needs the clip's cutout, made by the cutout model oneup/video-cutout. It works on a segment or on a box of a split screen.
Key: effect.background · Available · Goes in a segment · Needs "v": "1.16" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
background.matte.$asset | id of your file | required | The clip's cutout, the video oneup/video-cutout returned for this clip. |
background.kind | one of blur, color, photo | required | blur the person's own room, blurred; color a flat color; photo one of your photos. |
background.color | color, #RRGGBB | — | For color, and only then: the color. |
background.photo.$asset | id of your file | — | For photo, and only then: the photo, filling the frame. |
fit | one of cover, contain, show_all | "cover" | How the person fits: cover fills the frame, contain and show_all show the whole person. |
Example:
{
"id": "talk",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"fit": "contain",
"background": {
"matte": { "$asset": "<cutout id>" },
"kind": "color",
"color": "#1D4ED8"
}
}A new background from a two-file cutout #
The same new background, with the cutout as two videos: the person's colors in background.matte and the person's coverage in background.alpha. This is what the cutout model oneup/video-cutout-pro returns, in that order.
Key: effect.background_alpha · Available · Goes in a segment · Needs "v": "1.20" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
background.matte.$asset | id of your file | required | The person's colors: the first video oneup/video-cutout-pro returned for this clip. |
background.alpha.$asset | id of your file | required | The person's coverage (black is the room, white is the person): the second video. |
Example:
{
"id": "talk",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"background": {
"matte": { "$asset": "<colors id>" },
"alpha": { "$asset": "<coverage id>" },
"kind": "blur"
}
}Face retouch #
A face on camera looks a little better: smoother, more even skin, softer wrinkles and smile lines, lighter dark circles, a touch of light and warmth. One entry per clip, applied to every segment that cuts that clip, on the clip's own picture before its framing. It needs the clip's face map, made once per clip by the face analysis; only the face changes, and nothing outside it.
Key: clip.retouch · Available · Goes in the Timeline's retouch list · Needs "v": "1.33" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
clip.$asset | id of your file | required | The video clip, as the segments name it in source. |
map.$annotation | id of your file | required | That clip's face map, from the face analysis. |
strength | whole number, 0–100 | 100 | Scales every effect together; 0 is the clip as filmed. |
smooth_skin | whole number, 0–100 | 0 | Softer skin texture; pores stay. |
wrinkles | whole number, 0–100 | 0 | Softer forehead lines and crow's feet. |
smile_lines | whole number, 0–100 | 0 | Softer lines from the nose to the mouth's corners. |
dark_circles | whole number, 0–100 | 0 | Lighter under the eyes, toward the person's own cheek, never lighter than it. |
even_tone | whole number, 0–100 | 0 | Blotches even out toward the skin's own color; brightness untouched. |
brighten | whole number, 0–100 | 0 | A little more light on the face; the hue is kept. |
warmth | whole number, 0–100 | 0 | A slightly warmer skin; warmer only. |
Example:
{
"segments": [
{
"id": "talk",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 }
}
],
"retouch": [
{
"clip": { "$asset": "<clip id>" },
"map": { "$annotation": "<face map id>" },
"smooth_skin": 40,
"wrinkles": 60,
"dark_circles": 30
}
]
}