Subtitle Generator
  • 13 Feb 2025
  • 1 Minute to read
  • Contributors
  • PDF

Subtitle Generator

  • PDF

Article summary

A node that generates subtitles, using any input event with a Text attribute.

Parameters:

name
description
default
Character Limit Per LineThe maximum number of characters that are visible in one line of the subtitle40
Subtitle Display Buffer Time (Msec)Buffer time increases the time subtitles are displayed on screen0

Inputs

Audio:
none

Events:

namedescriptionknown nodes that generate this event
*all events containing a 'Text' fieldSR Http, SR WebSocket, Translate, ...

Outputs

Audio:
none

Events:

namedescription
Subtitle GeneratedContains 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:

image.png

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

image.png

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

image.png

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


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.