Subtitle Source Language
video-subtitle-lang
Beta Feature
This feature is currently in beta. To request access, please contact your account manager or email support@imgix.com.
Forces a specific source language for AI transcription instead of using automatic language detection.
By default, video-generate-subtitles automatically detects the spoken language in the audio. Use video-subtitle-lang to override this and specify the language explicitly.
video-subtitle-lang accepts a valid ISO 639-1 or ISO 639-2 language code.
https://assets.imgix.net/video.mp4?fm=hls&video-generate-subtitles=true&video-subtitle-lang=esForcing the source language is useful when:
- Auto-detection produces inaccurate results for a specific language or accent
- The audio contains a single known language and you want to skip the detection step
- The language has limited auto-detection support in the transcription engine
This parameter requires video-generate-subtitles to be set. It controls the transcription source language, not the output language. To deliver subtitles in other languages, use video-subtitle-translations.