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#
| Argument | Type | Required | Description |
|---|---|---|---|
at | string | yes | Absolute position strictly inside the item. |
item_id | string | yes | |
new_id | string | no | The 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):
{
"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.