Skip to content

Core editing

Clip properties

Rename an item, move and scale it on the frame, crop and fit a clip, and change its speed.

Last updated:

You will learn#

  • which properties an item has and where you change them;
  • how to place, scale, rotate and fade an item;
  • how to cropCutting off the edges of a picture. a clip, choose how it fits the frame and change its speed.

The idea#

Select an item on the timeline and the inspector shows its Name, its Timing (start, end, duration and the in point inside the source) and its Transform: position x and y (the centre of the item, in pixels), scale, rotation in degrees clockwise and opacity. A field that has keyframes is marked as animated and cannot be set to one static value until you clear them.

Two properties belong to video clips only. Framing says how the picture fits the frame (cover, contain or none) and how much of each side is cropped, as a fraction from 0 to 1. Speed runs the same source range faster or slower, from 0.25x to 4x, and rescales the duration, fades, transitions and keyframesA moment where you set a value; the program fills in everything between two keyframes. by the same ratio.

The inspector edits all of these. A video clip has a Framing section (fit and the four crops) and a Speed section (the speed and the option Ripple later items); colour, filters, blend and chroma key have their own sections, described in Effects and color. The same changes are available from the CLI, an agent and the command palette (Ctrl+K, Cmd+K on macOS).

Quick start#

Terminal
stuarty edit --project prj_7k2m9x4q1b item.rename item_id=itm_m1n2p3q4r5 name="Opening shot"
stuarty edit --project prj_7k2m9x4q1b item.set_transform item_id=itm_m1n2p3q4r5 scale:=1.2 \
  opacity:=0.9
stuarty edit --project prj_7k2m9x4q1b clip.set_speed item_id=itm_m1n2p3q4r5 speed=1.5x \
  ripple=track

item.set_transform rounds to 3 decimals, and scale 1, rotation 0 and opacity 1 clear the stored value. With ripple set to track, clip.set_speed moves the later items of the track by the change in length. Captions linked to the clip are listed in the result, not changed.

Common mistakes#

  • Setting x, scale or another property that has keyframes: the command is refused. Use keyframe.set, or keyframe.clear first.
  • A crop whose left plus right, or top plus bottom, is 1 or more: E_VALIDATION.
  • Setting a speed outside 1/4 to 4: E_VALIDATION.

Next steps#