Subtitle line wrapper

By the Potok teamUpdated ~1 min read

The subtitle line wrapper wraps long subtitle lines to a character limit without splitting words. A line of 81 characters wrapped at 42 becomes 2 lines. It is useful when a subtitle line is longer than the player shows. The table below shows the calculated rows.

Get the text of your recording

In Telegram, write to @potok_now_bot and add your file. The finished text appears in the conversation when recognition ends.

Go to @potok_now_bot in Telegram

Up to 2 GB per file · speaker labels and timestamps · six export formats · about 30 languages

Facts that matter here

  • Formula: put as many whole words on a line as fit into the limit, applied to the numbers in the table below.
  • Assumption: the limit counts spaces, and a word longer than the limit stays on its own line.
  • Check the wrapped text once: a break in front of a short word can look awkward.
  • Every number in the table follows from the formula above; none was measured on a real recording.

Calculation and example

Formula: put as many whole words on a line as fit into the limit

One long line (81 characters)

The quarterly review will cover sales, hiring plans and the budget for next year.

Wrapped at 42 characters

The quarterly review will cover sales,
hiring plans and the budget for next year.

A line of 81 characters wrapped at 42 becomes 2 lines.

What Potok can do
OptionWhat it means
Size limitFiles up to 2 GB
Output formatsTXT, MD, DOCX and PDF for text; SRT and VTT for subtitles
DictationA separate Potok desktop app lets you dictate text into any program; it recognises Russian speech
Where it worksIn Telegram, through @potok_now_bot; the bot's mini app takes large files
DigestThe result message has a summary button for a digest of the text

From the table to your numbers

The table is a reference, not a verdict. Use it to see the order of magnitude, then repeat the rule for your exact case. When the margin is small, calculate twice with slightly worse inputs and decide on the worse answer.

More

Terms used here are explained in the glossary. Handy helpers live in tools; apps are on the download page.

Common questions

How does the subtitle line wrapper work?

It applies one rule: put as many whole words on a line as fit into the limit. A line of 81 characters wrapped at 42 becomes 2 lines.

What does the subtitle line wrapper assume?

It assumes that the limit counts spaces, and a word longer than the limit stays on its own line. When the conditions differ, recalculate with your values by the same formula.

What does the table of the subtitle line wrapper show?

It shows: One long line (81 characters), Wrapped at 42 characters. Values: One long line (81 characters): The quarterly review will cover sales, hiring plans and the budget for next year.; Wrapped at 42 characters: The quarterly review will cover sales, / hiring plans and the budget for next year..

Where do the definitions behind the subtitle line wrapper come from?

Units, formats and rules are described in the sources listed at the bottom of this page. The numbers in the table are calculated here by the formula above and are not copied from those sources.

How do I avoid a mistake with the subtitle line wrapper?

Check the wrapped text once: a break in front of a short word can look awkward. Use it when a subtitle line is longer than the player shows.

Sources

Each source was opened by hand on the date shown. Pages change, so open the source if a detail matters to you.

  1. Subtitle (Wikipedia), Wikipedia · checked
  2. Closed captioning (Wikipedia), Wikipedia · checked

Try it on your own recording

In Telegram, write to @potok_now_bot and add your file. The finished text appears in the conversation when recognition ends.

Write to @potok_now_bot in Telegram