Ir para o conteúdo

Comandos

item.split

Splits an item into two at a timeline frame.

Última atualização:

Esta referência é gerada a partir do programa e está em inglês.

The original item keeps its id and becomes the left part; a new item is the right part. Transitions, fades, keyframes and caption words are divided so that the motion is unchanged.

Arguments#

ArgumentTypeRequiredDescription
atstringyesAbsolute position strictly inside the item.
item_idstringyes
new_idstringnoThe id of the right part.

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": "item.split",
  "args": {
    "at": "97f",
    "item_id": "itm_m1n2p3q4r5",
    "new_id": "itm_s6t7v8w9x0"
  }
}

Errors#

E_VALIDATION, E_INVALID_TIME, E_NOT_FOUND, E_INVALID_STATE, E_ID_EXISTS, E_LIMIT

Scope and phase#

Scope edit, phase prototype. Run vukem-video command:help item.split for the same description from the binary.