Video Assembly Label
video-assembly-label
Burns an auto-timed caption over a specific segment in the assembled timeline — Imgix calculates the timing so the label appears exactly while that segment is on screen.
video-assembly-label[N] accepts a UTF-8 string up to 200 characters. A Base64 twin video-assembly-label64[N] is also available for strings with reserved characters.
The label fades in after the transition into the segment and fades out before the transition out. Imgix performs the timeline math automatically — you do not need to compute video-txt-start/-end pairs.
Label style parameters
All labels share a single set of style parameters. Style them once with video-assembly-label-* — per-label styling is deliberately not available.
| Parameter | Default | Description |
|---|---|---|
video-assembly-label-font | Helvetica | Font family |
video-assembly-label-size | 0.04 | Font size — whole numbers are pixels, decimals below 1 are a fraction of the frame height. The default is 4% of the frame height, so labels scale with the output size |
video-assembly-label-weight | Unset | Font weight — normal, bold, or a number (600 and above rounds to bold, below it to normal). Left unset, the font renders in its regular face |
video-assembly-label-color | FFFFFF | Text color (hex or CSS color name) |
video-assembly-label-bg | 88000000 | Pill background color (none or transparent = no pill) |
video-assembly-label-pad | 16 | Padding between text and pill edge — pixels, or a fraction of the frame |
video-assembly-label-radius | 6 | Pill border radius in pixels |
video-assembly-label-align | bottom,left | Text alignment within the frame |
video-assembly-label-x | 0.04 | Horizontal offset from the aligned edge — pixels, or a fraction of the frame |
video-assembly-label-y | 0.06 | Vertical offset from the aligned edge — pixels, or a fraction of the frame |
video-assembly-label-transition | fade | Entrance and exit animation |
video-assembly-label-transition-dur | 0.4 | Transition duration in seconds, clamped to 0–60 |
Colors are AARRGGBB. As everywhere in Imgix, an 8-digit color puts alpha first: the default 88000000 is roughly 53% black, and cc000000 is a darker 80% scrim. A CSS-ordered value such as 000000cc is read as alpha 00 and the pill disappears entirely.
The style grammar follows the txt-* parameter family. Labels use the same 20-layer text overlay budget — labels past the limit are dropped with a warning, and the per-segment timing is still tracked correctly for those that remain.
Labels are reported in X-Imgix-Video-Operations under the txt token.