A node that generates subtitles, using any input event with a Text attribute.
Parameters
name |
description | default |
|---|---|---|
| Character Limit Per Line | The maximum number of characters that are visible in one line of the subtitle | 40 |
| Subtitle Display Buffer Time (Msec) | Buffer time increases the time subtitles are displayed on screen | 0 |
Inputs
Audio:
none
Events:
| name | description | known nodes that generate this event |
|---|---|---|
| * | all events containing a 'Text' field | SR Http, SR WebSocket, Translate, ... |
Outputs
Audio:
none
Events:
| name | description |
|---|---|
| Subtitle Generated | Contains the text, formatted into a subtitle file .srt format, in Data.Text field. |
Remarks
Project Structure
The node expects events that have the Text field. Which means the node can be used with any and all SR nodes. A minimum viable project that utilizes Subtitle Generator node can be built as such:

Taking this a step further, one can construct a project with Translator Node and Subtitle Generator Node to create subtitles in any desired language:

Another project that manipulates the SR output so that is translated, punctuated, filtered, normalized then formatted into a Subtitle Format.

Important Note
Using Subtitle Generator with an SR Http Node that has the Produce Recognized Words parameter enabled results in significantly better and more in-sync results.
Supported flow types
Batch
