Skip to main content

Subtitle Identification

The Subtitle Identification task detects the language of SubRip subtitle content.

This task is used by the Subtitle Detect Language flow element in the FFmpeg Builder.

Why You Would Use It

  • Identify the language of subtitle text without requiring a separate upload file.
  • Let FFmpeg Builder update subtitle language metadata automatically.
  • Reuse the same Forge subtitle detection path for text and OCR-converted subtitle streams.

Request Body

The task accepts the subtitle text directly in the request body.

{
"srtContent": "1\n00:00:01,000 --> 00:00:04,000\nBonjour tout le monde"
}

What It Returns

Forge returns the detected subtitle language code.

{
"DetectedLanguageCode": "fra"
}

Settings

SettingDescription
Concurrent TasksMaximum number of Subtitle Identification tasks that can run at the same time.