The caption that starts first keeps its identifier, style and position and takes the words of the other; the other is removed. Captions with keyframes cannot be merged.
Arguments#
| Argument | Type | Required | Description |
|---|---|---|---|
item_ids | array of string | yes | Exactly two distinct captions of one track, in any order. |
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": "caption.merge",
"args": {
"item_ids": [
"itm_s6t7v8w9x0",
"itm_c3d4e5f6g7"
]
}
}Errors#
E_VALIDATION, E_NOT_FOUND, E_TYPE_MISMATCH, E_INVALID_STATE, E_LIMIT
Scope and phase#
Scope edit, phase alpha. Run vukem-video command:help caption.merge for the same description from the binary.