Why video captions should stay on one line (and how to make sure they do)
Article by Pedro Henrique Lahr
Captions should stay on one line because that way they are read at a glance, they do not push text up onto the face and they do not change height with every phrase. To make sure of it, the caption phrase has to be cut by the width it takes in the real font, not by «four words at a time». In Kodecz, the caption block does that math, and the check flags any frame where the caption wrapped.
What goes wrong with two-line captions?
Three things. The eye has to drop and come back, which nobody scrolling a feed will do. The caption box doubles in height and climbs the screen, often above the speaker's chin. And the height changes from phrase to phrase, so the caption keeps jumping.
In vertical video it is worse, because the screen is narrow. A phrase that fits easily in 16:9 wraps in 9:16. That was one of the 27 real defects behind the Kodecz Bench: «whole-sentence caption wrapping onto two lines in 9:16».
Why doesn't counting words work?
Because words do not have a fixed size. «Salt» and «accountability» are one word each. A four-words-at-a-time rule fits «salt in the water» and overflows on «municipal fiscal accountability requirements».
In Konecz's video skill, rule G17 says it plainly: captions always on one line, in both formats, with phrases built from each format's width, never from a fixed number of words, and every punctuation mark closes the phrase.
How does Kodecz build the caption?
The caption block (H01) works like this:
- Measures every word in the brand's font file, at the size and weight that will appear. Without the file, it uses a per-letter estimate.
- Adds words until the allowed width is full: 78% of the frame in 16:9; in 9:16, the frame minus the side safe area.
- Cuts at punctuation and pauses. Every comma, period or question mark closes a caption phrase. A phrase that still does not fit is cut at a pause in the speech of at least 0.15 seconds.
- Shows it word by word: only the word being spoken is highlighted, lighting up 0.03 seconds before it.
- Grows in from the bottom, from 94% to 100% of its size in 0.12 seconds, in a box the color of the background.
In 9:16, the caption sits by default at 60% of the height, just under the chin, and the default font, if the brand says nothing else, is weight 800 at 54 pixels.
How does the check know the caption wrapped?
It looks at every frame where the caption is visible and takes the box of each line of text, with the motion already applied. Two boxes are on the same line when they overlap vertically by more than half of the smaller height. More than one line is a failure: «caption on N lines».
It also flags «caption cut off»: when part of the line leaves the frame, or when the text is wider than its box and is being clipped or replaced by an ellipsis.
The answer gives the frame, the text and a suggested fix: shorten the phrase or reduce the caption width. The agent adjusts and runs it again.
What about the same video in two formats?
Each format is its own composition, with the same audio and the same content, and the caption is rebuilt for each width. The Konecz portfolio has a direct example of this: «China fez história 16:9» and «China fez história 9:16», from the Lahrs profile. The caption phrases are not the same in both, because the width is not the same.
The check takes several folder and composition pairs in one call, precisely so both formats are checked together.
What is the right text size?
The Kodecz motion brief asks for captions at least 5% of the frame height, and supporting text at least 3%. On a 9:16 frame 1,920 pixels tall, that is about 96 pixels of caption height. Color is enforced too: a caption without enough contrast against the real background is a failure, not just a warning.
Frequently asked questions
Don't word-by-word captions go too fast? They can, if each block changes before there is time to read it. That is why the phrase, not the word, is the unit: the phrase stays on screen and only the spoken word changes color.
Is a two-line caption ever fine? For text that is not a caption, like a title or a title card, the rule prefers one line; if it wraps, the lines should be of similar width with no word left alone at the end.
Does the caption need the timing of every word? Yes. The caption is tied to the speech: each word lights up when it is said.
Does it work in any language? The measurement is by real width, so it works for any language with spaces between words.
More on the method in the summary of the paper on AI agents making video. To see the caption in use, watch the videos in the Konecz portfolio.