Skip to main content

Subtitle Translator

FFmpeg Builder: Subtitle Translator

The Subtitle Translator translates an existing subtitle track from a source language into a target language, then adds the translated SRT as a new subtitle stream in the active FFmpeg Builder model.

It uses FileFlows Forge for subtitle translation.

note

This flow element requires FileFlows Forge to be configured and available.


How It Works

  1. Checks that subtitle streams are available in the FFmpeg Builder model.
  2. Selects the best subtitle track to translate.
  3. Extracts the selected subtitle track to temporary SRT content.
  4. Sends the SRT content to Forge for translation.
  5. Writes the translated SRT to a temporary input file.
  6. Adds the translated SRT as a new subtitle stream with the target language metadata.
  7. Marks the FFmpeg Builder model for forced encoding so the new subtitle stream is included in the output.

Track Selection

The flow element prefers text-based subtitle tracks over image-based subtitle tracks.

Selection order:

  1. A text subtitle track matching the configured source language.
  2. Any subtitle track matching the configured source language.
  3. The first available text subtitle track.
  4. The first available subtitle track.

If the source and target languages are the same, the flow element exits without translating.


Configuration

Source Language

The language of the subtitle track to translate.

Supported options:

  • English (eng)
  • German (deu)
  • French (fra)
  • Spanish (spa)
  • Italian (ita)
  • Russian (rus)
  • Japanese (jpn)
  • Chinese (zho)
  • Korean (kor)
  • Portuguese (por)
  • Arabic (ara)
  • Hindi (hin)

Target Language

The language to translate the subtitle track into.

The same language options are available for the target language.


Outputs

  1. A subtitle track was translated and added to the FFmpeg Builder model.
  2. No subtitle track was translated or added.