WebVttEncodeConfiguration

Field

Type

Repeated

Description

maximum_line_length

OptionalInt

Maximum length of any line in the cue in characters

minimum_cue_length

OptionalInt

Minimum length of the overall cue in characters

maximum_num_lines

OptionalInt

Maximum number of lines in a cue.

Consider using a value of 1 and a longer max line length and allowing the player to break lines: per the WebVTT standard "In general, therefore, authors are encouraged to write cues all on one line except when a line break is definitely necessary." However if the player does not do this adequately, using the actual max line length desired and more lines, hard line breaks will be inserted. Note a maximum subtitle length of two lines is recommended (eg BBC guidance)

Member of

Message

Description

SubtitleConvertConfiguration