ass_get_clips
Extract every \clip and \iclip tag from an ASS subtitle line or raw text, returning tag type, coordinates, scale, and normalized bounding boxes for inspection or QC.
Instructions
List every \clip / \iclip tag on a line (or in raw text).
Each entry has tag ("clip"/"iclip"), inverse, raw
argument, kind ("rect" or "vector"), the explicit scale
(None when omitted) and the effective_scale actually used, plus
coords as authored in the clip's scale space and normalised
coordinates converted to script resolution (multiplied by
2 ** (1 - effective_scale)). bbox is the box in scale space and
normalised_bbox the same box in script resolution.
Returns {source, doc_id, index, line_scale, count, clips: [...]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| index | No | ||
| doc_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||