Edit command

trimClip

Drags one edge of a clip.

Fields

  • clipIdstringrequired

    The clip to trim.

  • deltanumberrequired

    Signed seconds of timeline the edge moves: positive drags the head right (shortening) or the tail right (lengthening).

  • edgeTrimEdgerequired

    Which edge is being dragged.

  • ripplebooloptional · default false

    When true the lane closes up behind the trim - the magnetic timeline. A tail trim moves every later clip on the track by the change in length. A head trim keeps the clip where it was (the in-point moves, the start does not) and moves every later clip by what was cut or restored, so the trimmed clip and the one behind it stay touching. False trims the clip alone. https://github.com/jub0t/Concat/issues/106

How the edges differ:

  • start moves the in-point with the edge (scaled by speed), so the remaining frames stay where they were.
  • end only lengthens or shortens.
  • Either edge stops at the 1/60 s minimum duration.