Pictures over the video
On this page
Your pictures and clips layered over the segments: logos, stickers, picture in picture.
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.
A picture over the video #
Puts one of your pictures over the video for a while, such as a logo or a screenshot.
Key: overlay.image · Available · Goes in the Timeline's overlays list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
kind | image | required | image. |
source.$asset | id of your file | required | The picture: an upload or an asset. |
position | object, 0–1 | — | {x, y} fractions of the frame: the picture's top-left corner, or its center when it has a rotation. |
scale | number, 0.01–4 | 0.3 | The width, as a fraction of the frame's width. |
opacity | number, 0–1 | 1 | How see-through: 1 is solid. |
range | object | required | When it shows, in milliseconds of the video. |
enter | object | — | How it arrives: op (fade, pop or slide) and duration in milliseconds. |
exit | object | — | How it leaves, the same way. |
Example:
{
"overlays": [
{
"id": "logo",
"kind": "image",
"source": { "$asset": "<logo id>" },
"range": { "from": 0, "to": 6000 },
"position": { "x": 0.72, "y": 0.04 },
"scale": 0.22,
"opacity": 0.9
}
]
}Turn a picture #
Turns a picture or a graphic about its center. With a rotation, its position is its center, and it must fit inside the area an app leaves clear.
Key: overlay.rotation · Available · Goes in the Timeline's overlays list · Needs "v": "1.9" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
rotation | number, -45–45 | required | The turn, in degrees; positive is clockwise. |
Example:
{
"overlays": [
{
"id": "sticker",
"kind": "image",
"source": { "$asset": "<sticker id>" },
"range": { "from": 0, "to": 3000 },
"position": { "x": 0.75, "y": 0.15 },
"scale": 0.2,
"rotation": 8
}
]
}Turn it all the way around #
Lets a picture, a graphic or a label turn past 45 degrees, up to a full turn either way: an arrow can point down or left, a label can run up the side. It turns about its center and must still fit inside the area an app leaves clear, measured after the turn.
Key: overlay.rotation_full · Available · Goes in the Timeline's overlays list · Needs "v": "1.22" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
rotation | number, -180–180 | required | The turn, in degrees; positive is clockwise. 180 and -180 are the same upside-down turn. |
Example:
{
"overlays": [
{
"id": "arrow",
"kind": "image",
"source": { "$asset": "<sticker id>" },
"range": { "from": 0, "to": 3000 },
"position": { "x": 0.5, "y": 0.5 },
"scale": 0.2,
"rotation": 135
}
]
}A clip over the video #
Plays one of your clips in a smaller frame over the video, picture in picture. It is silent unless you give it a volume.
Key: overlay.video · Available · Goes in the Timeline's overlays list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
kind | video | required | video. |
source.$asset | id of your file | required | The clip. |
trim | object, 0 ≤ from < to | — | The part of the clip to play, in milliseconds of the clip. |
position | object, 0–1 | — | {x, y} fractions of the frame: the clip's top-left corner. |
scale | number, 0.01–4 | 0.3 | The width, as a fraction of the frame's width. |
fit | one of cover, contain | "cover" | How the clip fills its frame. |
volume | number, 0–2 | 0 | The clip's sound; 0 is silent. |
range | object | required | When it shows, in milliseconds of the video. |
Example:
{
"overlays": [
{
"id": "inset",
"kind": "video",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 3000 },
"range": { "from": 1000, "to": 4000 },
"position": { "x": 0.55, "y": 0.05 },
"scale": 0.4
}
]
}A clip with its own transparency #
Keeps a clip's own transparency when it plays over the video, so only the effect in it shows (a burst, a puff of smoke) and the video shows all around it. The clip must be a WebM (VP9) with an alpha channel, such as an effect made in the Studio. The clip starts playing when it appears.
Key: overlay.video_alpha · Available · Goes in the Timeline's overlays list · Needs "v": "1.23" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
transparent | true or false | required | true keeps the clip's own alpha channel; false or absent shows the clip as before. |
Example:
{
"overlays": [
{
"id": "burst",
"kind": "video",
"source": { "$asset": "<effect id>" },
"range": { "from": 1000, "to": 4000 },
"trim": { "from": 0, "to": 3000 },
"position": { "x": 0.5, "y": 0.5 },
"rotation": 0,
"scale": 0.8,
"fit": "contain",
"transparent": true
}
]
}Which overlay is on top #
Sets the stacking order of pictures, graphics, clips and text over the video. A higher layer is drawn on top; overlays on the same layer keep the usual order (pictures, then captions, then text). Captions sit on layer 0.
Key: overlay.layer · Available · Goes in the Timeline's overlays list · Needs "v": "1.24" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
layer | whole number, -50–50 | required | The layer; absent is 0. |
Example:
{
"overlays": [
{
"id": "arrow",
"kind": "graphic",
"source": { "$stock": "arrow_right" },
"range": { "from": 0, "to": 3000 },
"position": { "x": 0.5, "y": 0.5 },
"scale": 0.2,
"rotation": 0,
"layer": 2
}
]
}Crop a picture #
Cuts away part of each edge of a picture or graphic. Each edge is a share of the picture's own width or height; what remains keeps its size on screen.
Key: overlay.crop · Available · Goes in the Timeline's overlays list · Needs "v": "1.24" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
crop | object | required | left, top, right, bottom, each 0 to 0.9; left plus right and top plus bottom at most 0.9. |
Example:
{
"overlays": [
{
"id": "photo",
"kind": "image",
"source": { "$asset": "<photo id>" },
"range": { "from": 0, "to": 3000 },
"position": { "x": 0.5, "y": 0.5 },
"scale": 0.5,
"rotation": 0,
"crop": { "left": 0.1, "right": 0.1 }
}
]
}Color a graphic #
Multiplies every color of a picture or graphic by one color, keeping its transparency: a white arrow becomes a red arrow.
Key: overlay.tint · Available · Goes in the Timeline's overlays list · Needs "v": "1.24" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
tint | color | required | A color, #RRGGBB. |
Example:
{
"overlays": [
{
"id": "arrow",
"kind": "graphic",
"source": { "$stock": "arrow_right" },
"range": { "from": 2000, "to": 5000 },
"position": { "x": 0.5, "y": 0.6 },
"scale": 0.2,
"rotation": 0,
"tint": "#E53935"
}
]
}Animate an overlay #
Moves a picture, graphic or clip while it is on screen: bounce, pulse, spin, shake, float, wiggle, blink, swing, zoom in or zoom out, with a speed, an amount, a direction, a delay and a number of repeats. Its entrance and exit may also pop, zoom, spin, or slide or fly from any side. Drawn frame by frame from the same math the Studio's player uses, with no AI and no extra charge.
Key: overlay.motion · Available · Goes in the Timeline's overlays list · Needs "v": "1.24" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
motion | object | required | op (bounce, pulse, spin, shake, float, wiggle, blink, swing, zoom_in, zoom_out); speed 0.25 to 4; amount 0.25 to 3 (not for spin); direction left, right, up or down where the op moves along a line, left or right for spin; delay ms after it appears; repeat whole cycles, 0 for as long as it shows (not for the zooms). |
Example:
{
"overlays": [
{
"id": "arrow",
"kind": "graphic",
"source": { "$stock": "arrow_right" },
"range": { "from": 2000, "to": 5000 },
"position": { "x": 0.5, "y": 0.6 },
"scale": 0.2,
"rotation": 0,
"tint": "#E53935",
"enter": { "op": "pop", "duration": 400, "ease": "settle" },
"motion": { "op": "bounce", "speed": 1.5 },
"exit": { "op": "fade", "duration": 300 }
}
]
}