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.

ParameterDefaultDescription
video-assembly-label-fontHelveticaFont family
video-assembly-label-size0.04Font 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-weightUnsetFont 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-colorFFFFFFText color (hex or CSS color name)
video-assembly-label-bg88000000Pill background color (none or transparent = no pill)
video-assembly-label-pad16Padding between text and pill edge — pixels, or a fraction of the frame
video-assembly-label-radius6Pill border radius in pixels
video-assembly-label-alignbottom,leftText alignment within the frame
video-assembly-label-x0.04Horizontal offset from the aligned edge — pixels, or a fraction of the frame
video-assembly-label-y0.06Vertical offset from the aligned edge — pixels, or a fraction of the frame
video-assembly-label-transitionfadeEntrance and exit animation
video-assembly-label-transition-dur0.4Transition 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.