Skip to content

Commands

timeline.close_gap

Closes the empty range that contains a given frame on a track.

Last updated:

Moves the items after the gap earlier by the length of the gap: those of the track (ripple track, the default) or those of every track (ripple all).

Arguments#

ArgumentTypeRequiredDescription
atstringyesAbsolute frame inside the gap.
rippletrack, allnotrack (default) or all: all moves later items of every track.
track_idstringyesThe track with the gap.

Example#

As one operation of an edit batch (the edit tool of MCP, vukem-video edit --ops, or POST /api/v1/projects/{id}/edit):

JSON
{
  "op": "timeline.close_gap",
  "args": {
    "at": "70f",
    "track_id": "trk_f6g7h8j9k0"
  }
}

Errors#

E_VALIDATION, E_INVALID_TIME, E_NOT_FOUND, E_INVALID_STATE, E_OVERLAP

Scope and phase#

Scope edit, phase alpha. Run vukem-video command:help timeline.close_gap for the same description from the binary.