On this page
Overview
Every video can have subtitles in several languages – one file per language. Viewers pick the language in the player’s subtitle menu. There are two kinds:
Subtitles
The spoken text, for example as a translation for an international audience.
Captions for the hard of hearing („Für Hörgeschädigte“)
Spoken text plus sounds, music and speaker labels – such as [Applause] or ANNA: …
Set up languages
Under „Verwaltung → Untertitel“ (Administration → Subtitles) you define which languages your organization offers subtitles in. Pick a language from the list or enter a language code – for example de-CH, or de-x-simple for plain language.
The name you give it appears exactly like that in the player menu – ideally in the language itself, such as “Français”. You can change the name later, but not the code. A language that is still used by videos cannot be deleted.
Add subtitles
- 1
Open the video and go to the „Untertitel“ (Subtitles) card.
- 2
Click „Untertitel hinzufügen“ (Add subtitles) and choose language and kind.
- 3
Choose an SRT or WebVTT file (up to 2 MB). Optional: „Automatisch einblenden“ (Show automatically) – the player then starts with these subtitles.
- 4
Done – the player shows the language immediately, including in videos that are already embedded.
Files in UTF-8, UTF-16 or Windows-1252 (older SRT tools) are detected. Formatting that a player cannot display reliably is removed; faulty cues are skipped and reported to you. A new file for the same language replaces the old one at the same address.
Subtitles from the video file
If your uploaded file already contains subtitle tracks (MKV, MP4, MOV, or captions from camera and TV material), VideoOptimizer adopts them automatically for your languages. Tracks in other languages are offered on the video page under „In der Videodatei gefunden“ (Found in the video file). Separately uploaded files always take precedence; image-based subtitles from DVD or Blu-ray cannot be adopted as text.
Review in the editor
With „Im Editor bearbeiten“ (Edit in editor) you correct the text and timing of every cue right next to the video – with a preview in the player. Without a file, you can also create subtitles from scratch there. The editor points out passages that are hard to read:
Readable subtitles
- At most two lines of 42 characters each.
- At most 20 characters per second – otherwise viewers cannot keep up.
- Between 0.8 and 7 seconds on screen per cue.
- Cues do not overlap.
Player & embedding
The player shows a subtitles button as soon as a video has subtitles – in the embedded iFrame, in the inline code and, on iPhone and iPad, in full screen too. Parameters on the embed address control how it starts:
API
Via the API you create languages, upload subtitles, read them and delete them. The player configuration contains the tracks for your own players.
curl -H "Authorization: Bearer vp_…" \
-F language=de -F kind=captions -F file=@untertitel.srt \
https://api.videooptimizer.eu/api/v1/videos/{uuid}/subtitles
FAQ
Which formats are supported?
SRT and WebVTT. Both are delivered as WebVTT – the format every browser understands.
Can subtitles be generated automatically?
Not yet. Subtitle tracks from your video files are, however, adopted automatically.
What happens when I replace the video?
Uploaded subtitles and subtitles edited in the editor remain. Tracks adopted from the old video file are replaced by the tracks of the new file.
How do I fix a typo?
In the editor on the video page, or by uploading a corrected file for the same language. The address of the subtitles stays the same, and embedded videos show the correction automatically.
Who may edit subtitles?
Anyone who may edit videos may upload and edit subtitles. The organization’s languages are managed by anyone who may edit libraries.