Motion and time

On this page

← OneUpRender

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

SettingTypeDefaultWhat it does
opzoomrequiredNames this operation.
levelnumber, 1–4requiredHow close: 1 is the whole picture, 2 is twice as close.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opfaderequiredNames this operation.
fromnumber, 0–1requiredOpacity at the start of the fade.
tonumber, 0–1requiredOpacity at the end of the fade.
durationwhole number, ≥ 1 msrequiredHow long the fade lasts, in milliseconds; at most the segment's length.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opkenburnsrequiredNames this operation.
from.zoomnumber, 1–41How close the move starts: 1 is the whole picture.
from.xnumber, 0–10.5Where across the picture the view starts: 0 the left edge, 1 the right edge.
from.ynumber, 0–10.5Where down the picture the view starts: 0 the top, 1 the bottom.
toobject—Where the move ends, with the same zoom, x and y. Left out, the view does not move.
easeone of linear, ease_in, ease_out, ease_in_out"ease_in_out"How the movement speeds up and slows down.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opsnap_zoomrequiredNames this operation.
tonumber, 1–4requiredHow close it lands.
atwhole number, ≥ 0 msrequiredWhen it starts, in milliseconds from the start of the segment.
durationwhole number, 60–250 msrequiredHow long the snap takes, in milliseconds.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opspeed_ramprequiredNames this operation.
pointslist, 1–16requiredThe 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:

JSON
{
  "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

SettingTypeDefaultWhat it does
opfreezerequiredNames this operation.
atwhole number, ≥ 0 msrequiredThe frame to freeze, in milliseconds into the trimmed clip.
holdwhole number, 1–10000 msrequiredHow long the frame stays still, in milliseconds.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opreverserequiredNames this operation.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opshakerequiredNames this operation.
intensityone of low, med, high"med"How strong.
rangeobject, 0 ≤ from < to—When it shakes: from and to, in milliseconds from the start of the segment. Left out, the whole segment.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opfilter_presetrequiredNames this operation.
nameone of film, warm, cool, bw, vivid, matterequiredThe look: film, warm, cool, bw (black and white), vivid or matte (flat and soft).

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opcolorrequiredNames this operation.
brightnessnumber, -0.5–0.50Lighter above 0, darker below.
contrastnumber, 0.5–21More contrast above 1, softer below.
saturationnumber, 0–21Stronger colors above 1, muted below; 0 is black and white.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
oprotaterequiredNames this operation.
fromnumber, -360–3600The angle at the start, in degrees; positive turns clockwise.
tonumber, -360–3600The angle at the end, in degrees.
easeone of linear, ease_in, ease_out, ease_in_out"ease_in_out"How the movement speeds up and slows down.
filltext, blur | #RRGGBB"blur"What fills the open corners: blur, an enlarged blurred copy of the picture, or a color.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opv360requiredNames this operation.
inputone of equirect, fisheye, dfisheye, c3x2, eac"equirect"How the clip was filmed.
outputone of flat, equirect"flat"flat a normal view, or equirect to stay 360.
fromobject{"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.
toobject—Where it looks at the end, the same way. Left out, it stays where it starts.
easeone of linear, ease_in, ease_out, ease_in_out"ease_in_out"How the movement speeds up and slows down.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opstabilizerequiredNames this operation.
strengthone of low, med, high"med"How much to smooth.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opdepth_moverequiredNames this operation.
depth.$assetid of your filerequiredThe photo's depth map.
moveone of parallax_left, parallax_right, push_in, pull_back, crane_up, crane_downrequiredThe direction of travel.
amountnumber, 0–1requiredHow far it travels: 0 none, 1 the most.
easeone of linear, ease_in, ease_out, ease_in_out"ease_in_out"How the movement speeds up and slows down.

Example:

JSON
{
  "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

SettingTypeDefaultWhat it does
opparallaxrequiredNames this operation.
layerslist, 2–4requiredThe layers, each a picture ($asset, with see-through parts where the layers behind should show).
layers[].depthnumber, 0–1requiredHow near the layer is: 0 far away, 1 the subject.
layers[].travelobject, -1–1requiredHow far the layer moves, x and y as fractions of the frame; the layer moves this times (1 − depth).
easeone of linear, ease_in, ease_out, ease_in_out"ease_in_out"How the movement speeds up and slows down.

Example:

JSON
{
  "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 }
        }
      ]
    }
  ]
}