Myth check, tested

What are SDH subtitles, and how do you write and check them?

Updated Tested November 21, 2026One 19-second synthetic scene7 cues, 7 injected faults

A video screen with a caption strip containing square-bracket sound labels beside a checker panel showing red error marks.

Short answer

Many people think SDH is ordinary subtitles with a few sound words added. It is a caption file that also tells you who is speaking and what you would hear, in square brackets, such as [knocking at the door] or [Mara]. Netflix's guide says to use brackets for speaker IDs and sound effects, and WCAG expects captions to identify speakers and meaningful sounds. Keep to two lines of at most 42 characters, and label only what the picture does not show.

Subtitle checker: cues, longest line, reading speed (free, in your browser)

Key takeaways

  • In our 7-cue test file, 3 cues are only a sound label and 4 carry a speaker ID with dialogue. Take the labels away and the file is a normal subtitle file.
  • Our lint script found all 7 faults injected into a copy. Six of its nine checks apply Netflix section I rules; the NAME:, italics and overlap checks are our additions. The Koldflux subtitle checker saw two of them: the 67-character line and the overlap.
  • The Koldflux transcript tool kept every [label] and joined two-line cues into one line, so it does not give you a plain transcript from an SDH file.
  • Seven cue windows measured between -12.9 and -28.5 dB, and two windows with nothing placed measured -91.0 dB. The labels sat on real sound in the test track.
  • The same SDH file went into a soft MP4 track flagged hearing_impaired and into a burned-in copy. ffprobe showed the flag. No player was tested.

Is SDH just subtitles with the sound words added?

Close, but the difference is in what the file promises. Ordinary subtitles give a hearing viewer the dialogue they may not understand. SDH, short for subtitles for the deaf and hard of hearing, assumes the viewer cannot hear anything. So it adds the parts of the soundtrack that carry the story: who is talking when you cannot tell, and the sounds that matter.

WCAG puts the same idea in one sentence. Its explanation of the captions criterion says captions "identify who is speaking and include non-speech information conveyed through sound, including meaningful sound effects". Netflix publishes detailed public rules for English SDH. It says to "use brackets [ ] to enclose speaker IDs or sound effects".

The rules can also tell you to leave something out. Netflix says to "only use speaker IDs or sound effects when they cannot be visually identified". If the person who knocks is on screen knocking, the label is noise.

ConventionExample from our fileSource
Sound effect in square brackets[phone ringing]Netflix I.16, WCAG 1.2.2 explanation
Speaker ID in brackets, ideally on the same line as the dialogue[Mara] Come in, it is open.Netflix I.16
Two speakers in one cue: hyphen with no space, one speaker per line-[Mara] Did you bring the files?Netflix I.6
At most two lines, 42 characters per linelongest line in the file: 32Netflix I.2, I.10
Single ellipsis character rather than three dotsnone needed in the good fileNetflix I.3

Netflix = English Timed Text Style Guide, section I.

Reading speed is the one limit that gets harder, not easier. A bracket label is text someone has to read, and a short one can run too fast (more on that below).

What does a correct SDH file look like?

Here is the whole file we built. It has seven cues for a 19-second scene: a knock, two people talking, a phone ringing and a humming tone. The voices are synthetic (text-to-speech), and the names Mara and Joel belong to the scene, not to real people.

Three details are easy to get wrong. In cue 3 the speaker ID appears once, because one person is talking even though the text runs over two lines. In cue 4 each line starts with a hyphen and the ID comes after it. And the sound labels sit in their own cues, with their own time, instead of being squeezed into a dialogue cue.

In a real video you would drop [Mara] and [Joel] wherever the viewer can see who is speaking. Our scene is a moving fractal with no people in it, so nothing on screen identifies anyone and every label earns its place.

1
00:00:00,500 --> 00:00:01,900
[knocking at the door]

2
00:00:02,000 --> 00:00:03,960
[Mara] Come in, it is open.

3
00:00:04,200 --> 00:00:07,265
[Joel] Sorry I am late.
The traffic was awful.

4
00:00:08,000 --> 00:00:10,931
-[Mara] Did you bring the files?
-[Joel] Right here.

5
00:00:12,000 --> 00:00:13,600
[phone ringing]

6
00:00:13,600 --> 00:00:16,600
[soft humming tone plays]

7
00:00:16,800 --> 00:00:18,410
[Joel] Let me answer that.
sdh.srt, the whole test file. Cue 3 is one speaker on two lines, so it gets no hyphens. Cue 4 is two speakers, so each line gets one.

Can a script catch the mistakes, or do you have to read every cue?

A script catches the mechanical ones. sdh-lint.py runs nine checks. Six apply the Netflix section I rules in the table above: more than two lines (I.10), a line over 42 characters (I.2), a label in parentheses instead of brackets (I.16), a hyphen followed by a space and a two-line cue with only one hyphen (I.6), and three dots instead of the ellipsis character (I.3). Three are our own additions, not Netflix rules: a NAME: label, a label in italics and a cue that starts before the previous one ends. bad.srt is a copy of the good file with seven faults, each one a typical slip: parentheses instead of brackets, a NAME: label, a 67-character line, a hyphen followed by a space, a label in italics, three dots instead of an ellipsis, and a cue that starts before the previous one ends.

The clean file produced "no findings" and exit 0. The broken one produced seven findings and exit 1, one per fault, each with the cue number. That is the control for the claim: the script is silent on the good file and not on the bad one.

Both files also went through the Koldflux subtitle checker. It does not look at brackets at all, so on the bad file it reported only what it measures: a longest line of 67 characters, 1 overlapping cue and 2 cues faster than 20 characters a second. Five of the seven faults are invisible to it. Use it for line length, overlaps and speed, and use a lint like ours, or your eyes, for the SDH conventions.

The checker also showed something about labels. With the first cue, [knocking at the door], cut from 1.4 to 1.0 second, its speed went from 15.7 to 22 characters a second, and the checker counted one fast cue where the good file has none. A short sound label can trip the speed warning, so give it enough time instead of ignoring the warning.

python3 sdh-lint.py sdh.srt
python3 sdh-lint.py bad.srt
The lint on the good file and on the copy with seven faults. Output is in commands.log: no findings with exit=0, then seven findings with exit=1.

What do the Koldflux tools show on an SDH file?

The subtitle checker read all seven cues, 39 words and 213 characters, with an average of 13.7 characters a second, a longest line of 32 characters, no overlaps and no fast cues. Nothing is uploaded; the file is read in your browser tab.

The subtitle to transcript tool gave a different answer from the one you might expect. It returned the labels as text, joined the two lines of cue 3 into one, and kept the hyphens of cue 4 in the middle of a line: "-[Mara] Did you bring the files? -[Joel] Right here." If you want a transcript with no sound descriptions, it will not remove them for you.

For that there is sdh-to-plain.py. It drops cues that are only a [label], strips a leading [Speaker] and keeps the dialogue: seven cues became four. It does not remove a label in the middle of a line. On an edge file, a sung line "♪ [Joel singing] La la la ♪" kept its label, so check the output of that case by eye.

The Koldflux subtitle checker after loading sdh.srt: 7 cues, 39 words, 213 characters, 13.7 chars/sec, longest line 32 chars, 0 overlapping cues, last cue ends at 00:00:18,410 and 0 cues faster than 20 chars/sec
The Koldflux subtitle checker on our SDH test file, on koldflux.com.

Do the labels match the sound?

In this file they do, but the test is weaker than it sounds. The soundtrack was built for the test, so the start of each sound is known. ffmpeg measured the mean volume inside each cue window, and two windows with nothing placed served as controls: the gap before cue 3, and 11.0 to 11.9 seconds.

All seven windows held sound, between -12.9 dB (the humming tone) and -28.5 dB (the phone). The two silent windows measured -91.0 dB. That shows the labels sit on the sound that was placed there. It does not show that the words in the label describe the sound well, or that real cue times from a real recording would line up; for that someone has to listen.

Bar chart of mean volume in decibels for the seven cue windows of the SDH test file, from minus 12.9 to minus 28.5 dB, against two silent control windows at minus 91.0 dB
Mean volume inside each cue window (our measurement). The two grey bars are windows where we placed no sound.

Burned in, soft track or plain text: which output do you need?

It depends on who controls the viewing. A burned-in caption is part of the picture and cannot be switched off. A soft track can be turned on and off, and can carry a flag marking it as the hearing-impaired version. A plain-text version serves people who want to read the dialogue only.

Each of the four commands ran on the test file and on one edge input. The edge input is named next to each, because each of these commands has a way of doing nothing, or doing something different, without an error.

  • ffmpeg -i sdh.srt sdh.vtt: converts to WebVTT. The edge file had a byte-order mark, Windows line endings, a ♪ and a curly apostrophe, and the labels came through intact.
  • burned.mp4: -c:a copy only copies an audio stream if there is one. On a copy of the demo with the audio removed, the command still exited 0 and wrote a file with video only, so check that your input has sound before you trust the output has it.
  • sdh-soft.mp4: -c copy re-encodes nothing, which means it cannot fix a bad stream either. -map 0 brings every stream of the video, and -map 1 brings the subtitle file. Only MP4 (with mov_text) and MKV (with srt) were run; other containers are untested. With no audio in the input, the output had video and subtitles only and no warning.
  • sdh-to-plain.py: works on cues that are entirely a label. On the edge file, the [coughs] label came off a cue that also has dialogue, the lone [door slams] cue was dropped and the sung line kept its label, so two of three cues remained.

ffprobe showed the soft MP4 track as subtitle, language eng and disposition hearing_impaired=1, and the same flag in the MKV copy. That is what the file says about itself. No player was opened, so how YouTube, a TV or a phone treat that flag is unknown.

ffmpeg -i sdh.srt sdh.vtt
ffmpeg -i demo.mp4 -vf "subtitles=sdh.srt" -c:a copy burned.mp4
ffmpeg -i demo.mp4 -i sdh.srt -map 0 -map 1 -c copy -c:s mov_text -metadata:s:s:0 language=eng -disposition:s:0 +hearing_impaired sdh-soft.mp4
python3 sdh-to-plain.py sdh.srt plain.srt
The four commands from commands.log. Each ran with exit 0 on the test file and on the edge input listed below.
A frame of the 640 by 360 test video at 9.5 seconds with a burned-in two-line caption at the bottom: -[Mara] Did you bring the files? and -[Joel] Right here.
Frame at 9.5 seconds of burned.mp4: cue 4, two speakers, one hyphen per line.

Limits: what this test does not show

The scene, the voices and the cue times are synthetic. A real film has overlapping speech, music and off-screen sound that this file does not have. The lint covers the Netflix section I rules named above plus three checks of our own (NAME:, italics, overlap); a different broadcaster may want something else, and only the overview of the BBC subtitle guidelines was read. No platform was tested with an SDH file, and no deaf or hard-of-hearing viewer checked whether the labels read well.

What the test does support: the conventions above are written down by Netflix and WCAG, a script can enforce the mechanical ones, and the common tools in this guide behave as described on this file.

Do it in your browser

Free Koldflux tools, no account needed.

Subtitle checker: cues, longest line, reading speed (free, in your browser)Subtitle to transcript (SRT or VTT to plain text)SRT to VTT converter

Questions people ask

What does SDH stand for?

Subtitles for the deaf and hard of hearing. Netflix uses that name in section I of its English Timed Text Style Guide. The file is a normal subtitle file that also describes speakers and sounds.

Are SDH subtitles the same as closed captions?

The content is similar, because both carry dialogue, speaker IDs and meaningful sounds. WCAG calls the thing captions, Netflix calls it SDH. The comparison here is between two documents, not delivery formats, so how a given platform treats each is not covered.

How do I write a sound effect in SDH?

Put it in square brackets in its own cue, for example [phone ringing]. Netflix says to describe the sound, use lowercase except for proper nouns, and add sound effects only when the picture does not show them.

How do I show two speakers in one subtitle?

Use a hyphen with no space at the start of each line, one speaker per line, and put the ID after the hyphen: -[Mara] Did you bring the files? That is the Netflix rule, and our lint flags a hyphen followed by a space.

How long can an SDH line be?

Netflix sets 42 characters per line and a maximum of two lines. The longest line in the test file is 32 characters. Check the limit of the platform you deliver to.

How do I get a transcript without the [sound labels]?

The Koldflux subtitle to transcript tool keeps them. The sdh-to-plain.py script drops label-only cues and leading speaker IDs, but not labels inside a line, so look at the result.

Does the hearing_impaired flag make a player show the SDH track?

Unknown. ffprobe showed the flag on the MP4 and MKV tracks of the test file, so the file says what it is. No player or platform was tested.

Related

More guides on this topic

Sources and how we checked

  1. Koldflux subtitle checker (our own tool, run November 21, 2026) (checked 2026-11-21)
  2. Koldflux subtitle to transcript tool (our own tool, run November 21, 2026) (checked 2026-11-21)
  3. Koldflux test log: the good file, seven injected faults, audio windows with controls, tool runs and ffprobe output (our measurement, November 21, 2026) (checked 2026-11-21)
  4. commands.log: the published commands, each run on the test file and on an edge input (Koldflux) (checked 2026-11-21)
  5. How to rerun every test (Koldflux, shell script) (checked 2026-11-21)
  6. sdh-lint.py: the rule checker, six checks from Netflix section I rules plus three of ours (Koldflux, Python 3) (checked 2026-11-21)
  7. edge-mixed.srt: the edge-case input (BOM, CRLF, music note, curly apostrophe) behind the ffmpeg and sdh-to-plain.py edge runs (Koldflux) (checked 2026-11-21)
  8. sdh-to-plain.py: drops label-only cues and leading speaker IDs (Koldflux, Python 3) (checked 2026-11-21)
  9. audio-check.py: mean volume per cue window (Koldflux, Python 3 and ffmpeg) (checked 2026-11-21)
  10. gen.py: builds the synthetic scene and the good SDH file (Koldflux, Python 3 and ffmpeg) (checked 2026-11-21)
  11. The test file sdh.srt and the broken copy bad.srt (Koldflux) (checked 2026-11-21)
  12. Netflix Partner Help Center: English Timed Text Style Guide, section I, subtitles for the deaf and hard of hearing (checked 2026-11-21)
  13. W3C: Understanding Success Criterion 1.2.2, Captions (Prerecorded), WCAG 2.2 (checked 2026-11-21)
  14. BBC: subtitle guidelines, overview page only (checked 2026-11-21)

We built a 19-second synthetic scene with ffmpeg and Python 3 (two text-to-speech voices and three generated sounds), wrote the SDH file for it and a copy with seven injected faults, and wrote our own lint (nine checks: six from Netflix section I rules, three of our own). We measured the audio of each cue window with ffmpeg volumedetect against two silent control windows, ran the live Koldflux subtitle checker and subtitle to transcript tool with Playwright Chromium on Node.js 24, and ran four ffmpeg and Python commands on the test file and on an edge input, reading the output with ffprobe. Everything ran on Ubuntu with ffmpeg 6.1.1 and Python 3.12.3 on November 21, 2026. The convention text comes from the Netflix English Timed Text Style Guide and the W3C WCAG 2.2 Understanding document, both read on that date.