Ir para o conteúdo

Comandos

caption.merge

Joins two captions of one track into one that spans both.

Última atualização:

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

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#

ArgumentTypeRequiredDescription
item_idsarray of stringyesExactly 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):

JSON
{
  "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.