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
- Checks that subtitle streams are available in the FFmpeg Builder model.
- Selects the best subtitle track to translate.
- Extracts the selected subtitle track to temporary SRT content.
- Sends the SRT content to Forge for translation.
- Writes the translated SRT to a temporary input file.
- Adds the translated SRT as a new subtitle stream with the target language metadata.
- 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:
- A text subtitle track matching the configured source language.
- Any subtitle track matching the configured source language.
- The first available text subtitle track.
- 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
- A subtitle track was translated and added to the FFmpeg Builder model.
- No subtitle track was translated or added.