Motion and time
On this page
Effects on one segment, applied in the order you list them: zooms and slow pans, fades, speed changes, freeze frames, playing backward, camera moves and color looks.
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.
Zoom #
Shows the picture closer, with no movement. Alternate zoom levels across cuts to suggest a second camera.
Key: effect.zoom · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | zoom | required | Names this operation. |
level | number, 1–4 | required | How close: 1 is the whole picture, 2 is twice as close. |
Example:
{
"id": "detail",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [{ "op": "zoom", "level": 1.2 }]
}Fade #
Fades the segment in from black at its start (from 0 to 1) or out to black at its end (from 1 to 0).
Key: effect.fade · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | fade | required | Names this operation. |
from | number, 0–1 | required | Opacity at the start of the fade. |
to | number, 0–1 | required | Opacity at the end of the fade. |
duration | whole number, ≥ 1 ms | required | How long the fade lasts, in milliseconds; at most the segment's length. |
Example:
{
"id": "opening",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [{ "op": "fade", "from": 0, "to": 1, "duration": 600 }]
}Slow zoom and pan #
Moves slowly across the picture over the whole segment, from one framing to another: a push in, a pull out, or a pan.
Key: effect.kenburns · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | kenburns | required | Names this operation. |
from.zoom | number, 1–4 | 1 | How close the move starts: 1 is the whole picture. |
from.x | number, 0–1 | 0.5 | Where across the picture the view starts: 0 the left edge, 1 the right edge. |
from.y | number, 0–1 | 0.5 | Where down the picture the view starts: 0 the top, 1 the bottom. |
to | object | — | Where the move ends, with the same zoom, x and y. Left out, the view does not move. |
ease | one of linear, ease_in, ease_out, ease_in_out | "ease_in_out" | How the movement speeds up and slows down. |
Example:
{
"id": "living-room",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{
"op": "kenburns",
"from": { "zoom": 1, "x": 0.5, "y": 0.5 },
"to": { "zoom": 1.3, "x": 0.6, "y": 0.4 },
"ease": "ease_in_out"
}
]
}Snap zoom #
A fast punch in at one moment, to land a beat or a word.
Key: effect.snap_zoom · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | snap_zoom | required | Names this operation. |
to | number, 1–4 | required | How close it lands. |
at | whole number, ≥ 0 ms | required | When it starts, in milliseconds from the start of the segment. |
duration | whole number, 60–250 ms | required | How long the snap takes, in milliseconds. |
Example:
{
"id": "reveal",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [{ "op": "snap_zoom", "to": 1.4, "at": 1500, "duration": 120 }]
}Speed ramp #
Changes a clip's speed as it plays: slow motion for a moment, then fast. The clip's own sound is silent during a ramp, and the segment's length follows the speeds.
Key: effect.speed_ramp · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | speed_ramp | required | Names this operation. |
points | list, 1–16 | required | The changes, each {t, speed}: from t milliseconds into the trimmed clip, play at speed until the next point. Before the first point the speed is 1. Each speed is 0.25–4. Do not combine with the segment's speed. |
Example:
{
"id": "jump",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 5000 },
"effects": [
{
"op": "speed_ramp",
"points": [{ "t": 1000, "speed": 0.5 }, { "t": 3000, "speed": 2 }]
}
]
}Freeze frame #
Freezes one frame of a clip for a while, then plays on. The freeze adds to the segment's length.
Key: effect.freeze · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | freeze | required | Names this operation. |
at | whole number, ≥ 0 ms | required | The frame to freeze, in milliseconds into the trimmed clip. |
hold | whole number, 1–10000 ms | required | How long the frame stays still, in milliseconds. |
Example:
{
"id": "goal",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"effects": [{ "op": "freeze", "at": 2000, "hold": 1000 }]
}Play backward #
Plays a clip backward. The clip part may be at most 15 seconds long.
Key: effect.reverse · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | reverse | required | Names this operation. |
Example:
{
"id": "rewind",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 3000 },
"effects": [{ "op": "reverse" }]
}Camera shake #
Shakes the picture, for an impact or an energetic moment. The shake is the same every render.
Key: effect.shake · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | shake | required | Names this operation. |
intensity | one of low, med, high | "med" | How strong. |
range | object, 0 ≤ from < to | — | When it shakes: from and to, in milliseconds from the start of the segment. Left out, the whole segment. |
Example:
{
"id": "impact",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{
"op": "shake",
"intensity": "med",
"range": { "from": 500, "to": 1500 }
}
]
}Color look #
Gives the segment a ready-made color look.
Key: effect.filter_preset · Available · Goes in a segment's effects list · Needs "v": "1.1" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | filter_preset | required | Names this operation. |
name | one of film, warm, cool, bw, vivid, matte | required | The look: film, warm, cool, bw (black and white), vivid or matte (flat and soft). |
Example:
{
"id": "sunset",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [{ "op": "filter_preset", "name": "warm" }]
}Brightness, contrast and saturation #
Makes the segment's picture brighter or darker, adds or softens contrast, and strengthens or mutes its colors. Words and pictures placed over it keep their own colors.
Key: effect.color · Available · Goes in a segment's effects list · Needs "v": "1.25" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | color | required | Names this operation. |
brightness | number, -0.5–0.5 | 0 | Lighter above 0, darker below. |
contrast | number, 0.5–2 | 1 | More contrast above 1, softer below. |
saturation | number, 0–2 | 1 | Stronger colors above 1, muted below; 0 is black and white. |
Example:
{
"id": "sunset",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{ "op": "color", "brightness": 0.1, "contrast": 1.1, "saturation": 1.2 }
]
}Turn the picture #
Turns the picture over the segment, for a tilted or rolling camera. The corners that open up are filled.
Key: effect.rotate · Available · Goes in a segment's effects list · Needs "v": "1.3" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | rotate | required | Names this operation. |
from | number, -360–360 | 0 | The angle at the start, in degrees; positive turns clockwise. |
to | number, -360–360 | 0 | The angle at the end, in degrees. |
ease | one of linear, ease_in, ease_out, ease_in_out | "ease_in_out" | How the movement speeds up and slows down. |
fill | text, blur | #RRGGBB | "blur" | What fills the open corners: blur, an enlarged blurred copy of the picture, or a color. |
Example:
{
"id": "tilt",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{
"op": "rotate",
"from": -3,
"to": 3,
"ease": "ease_in_out",
"fill": "blur"
}
]
}Look around a 360 video #
Turns a 360-degree or very wide clip into a normal view and moves where it looks during the segment.
Key: effect.v360 · Available · Goes in a segment's effects list · Needs "v": "1.3" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | v360 | required | Names this operation. |
input | one of equirect, fisheye, dfisheye, c3x2, eac | "equirect" | How the clip was filmed. |
output | one of flat, equirect | "flat" | flat a normal view, or equirect to stay 360. |
from | object | {"yaw": 0, "pitch": 0, "roll": 0, "fov": 90} | Where it looks at the start: yaw (left and right), pitch (up and down) and roll, in degrees from -180 to 180, and fov, the width of the view, from 30 to 170 degrees. |
to | object | — | Where it looks at the end, the same way. Left out, it stays where it starts. |
ease | one of linear, ease_in, ease_out, ease_in_out | "ease_in_out" | How the movement speeds up and slows down. |
Example:
{
"id": "tour",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"effects": [
{
"op": "v360",
"input": "equirect",
"output": "flat",
"from": { "yaw": 0, "pitch": 0, "fov": 90 },
"to": { "yaw": 90, "pitch": 0, "fov": 90 }
}
]
}Steady a shaky clip #
Smooths out a shaky hand-held clip. It works on a clip with a trim, not on a photo.
Key: effect.stabilize · Available · Goes in a segment's effects list · Needs "v": "1.3" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | stabilize | required | Names this operation. |
strength | one of low, med, high | "med" | How much to smooth. |
Example:
{
"id": "walk",
"source": { "$asset": "<clip id>" },
"trim": { "from": 0, "to": 4000 },
"effects": [{ "op": "stabilize", "strength": "med" }]
}Camera move through a photo #
Moves the camera through a still photo so near things pass faster than far ones, like real travel. It needs the photo's depth map, made by the depth model oneup/image-depth. It invents nothing: every pixel comes from your photo.
Key: effect.depth_move · Available · Goes in a segment's effects list · Needs "v": "1.8" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | depth_move | required | Names this operation. |
depth.$asset | id of your file | required | The photo's depth map. |
move | one of parallax_left, parallax_right, push_in, pull_back, crane_up, crane_down | required | The direction of travel. |
amount | number, 0–1 | required | How far it travels: 0 none, 1 the most. |
ease | one of linear, ease_in, ease_out, ease_in_out | "ease_in_out" | How the movement speeds up and slows down. |
Example:
{
"id": "garden",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{
"op": "depth_move",
"depth": { "$asset": "<depth map id>" },
"move": "push_in",
"amount": 0.5
}
]
}Layers that move apart #
Moves two to four picture layers by different amounts, so the scene seems to have depth. A far layer moves most; a layer at depth 1 stays still.
Key: effect.parallax · Available · Goes in a segment's effects list · Needs "v": "1.3" or newer
| Setting | Type | Default | What it does |
|---|---|---|---|
op | parallax | required | Names this operation. |
layers | list, 2–4 | required | The layers, each a picture ($asset, with see-through parts where the layers behind should show). |
layers[].depth | number, 0–1 | required | How near the layer is: 0 far away, 1 the subject. |
layers[].travel | object, -1–1 | required | How far the layer moves, x and y as fractions of the frame; the layer moves this times (1 − depth). |
ease | one of linear, ease_in, ease_out, ease_in_out | "ease_in_out" | How the movement speeds up and slows down. |
Example:
{
"id": "cutout-scene",
"source": { "$asset": "<photo id>" },
"duration": 3000,
"effects": [
{
"op": "parallax",
"layers": [
{
"$asset": "<background layer id>",
"depth": 0,
"travel": { "x": 0.05, "y": 0 }
},
{
"$asset": "<subject layer id>",
"depth": 1,
"travel": { "x": 0.05, "y": 0 }
}
]
}
]
}