Skip to content
CueNorm Public Validator

Text layout

MAX_LINES

Limits the number of lines a single subtitle may display.

What it checks

A subtitle with more lines than the profile allows produces one issue for that subtitle.

How it is measured

CueNorm counts the lines of the subtitle as parsed from the source file: explicit line breaks (\N in ASS, new lines in SRT, <br/> in TTML, the line separator in EBU-STL) start a new line. Automatic wrapping by a player is not simulated.

Parameters

Parameter Type Meaning
max positive integer Maximum number of lines per subtitle

Example

With max: 2, this subtitle is reported as 3 lines (max 2).:

I told you already.
We are not going back.
Not tonight.

The profiles shipped with CueNorm declare this rule as an error: a subtitle with too many lines hides the picture and often breaks the destination's layout. A profile that tolerates extra lines declares the rule again with severity: warning; the file is then delivered with the extra lines (in EBU-STL, the subtitle is raised by one line height per extra line).

How to fix

  • Merge short lines when the result respects the characters-per-line limit. When the profile allows it, the REFLOW transformation does this automatically, without rewriting any word: three short lines become two whenever the text fits.
  • Split the subtitle into two consecutive subtitles, keeping each on screen long enough to be read.
  • Condense the text.

Profiles using this rule

ProfileSeverityParameters
Apple iTunes Subtitles (iTT) apple-itunes-subtitle-itt error max=2
ARTE SME German arte-sme-de error max=2
ARTE SME French arte-sme-fr error max=2
ARTE VOST German arte-vost-de error max=2
ARTE VOST French arte-vost-fr error max=2
BBC Subtitles English (UK), EBU-STL bbc-subtitle-en-gb-ebustl warning max=2
BBC Subtitles English (UK), EBU-TT Part 1 bbc-subtitle-en-gb-ebutt warning max=2
BBC Subtitles English (UK), EBU-TT-D bbc-subtitle-en-gb-ebuttd warning max=2
Channel 5 SDH English (UK), EBU-STL channel5-sdh-en-gb-ebustl error max=3
Disney+ SDH English (US) disney-plus-sdh-en-us error max=2
Disney+ Subtitles English (US) disney-plus-subtitle-en-us error max=2
Disney+ Subtitles French (France) disney-plus-subtitle-fr-fr error max=2
French broadcasters SME (RT-040) fr-broadcast-sme-fr error max=2
French broadcasters VOST (RT-040) fr-broadcast-vost-fr error max=2
France Télévisions SME French francetv-sme-fr error max=2
France Télévisions VOST French francetv-vost-fr error max=2
Max Subtitles (SMPTE-TT) max-subtitle-smptett error max=3
Netflix SDH English netflix-sdh-en error max=2
Netflix SDH French (France) netflix-sdh-fr-fr error max=2
Netflix Subtitles English — Children netflix-subtitle-children-en error max=2
Netflix Subtitles French (France) — Children netflix-subtitle-children-fr-fr error max=2
Netflix Subtitles English netflix-subtitle-en error max=2
Netflix Subtitles French (Canada) netflix-subtitle-fr-ca error max=2
Netflix Subtitles French (France) netflix-subtitle-fr-fr error max=2
Prime Video SDH French (France) prime-video-sdh-fr-fr error max=2
Prime Video Subtitles English prime-video-subtitle-en error max=2
Prime Video Subtitles French (France) prime-video-subtitle-fr-fr error max=2
TF1 SME French tf1-sme-fr error max=2
TF1 VM French tf1-vost-fr error max=2