Name speakers
name_speakersAssign real names and optional colors to speaker labels from transcripts, rewrite TXT/SRT/VTT with those names, merge matching labels, and optionally burn named subtitles into the video.
Instructions
Give the speakers found by speech_to_text or transcribe_video real names (and optionally colors), then rewrite the txt, srt and vtt with those names. Each speaker keeps one subtitle color (srt colors, vtt voice styles). Labels given the same name are merged into one speaker. Free, works offline. Can also burn the named subtitles into the video.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transcript_path": "<transcript_path>",
"names": "<names>"
},
"name": "name_speakers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Speaker label to name, e.g. {"S1": "Riadh", "S2": "Host"}. Unlisted speakers keep their label. | |
| colors | No | Optional label or name to color: #RRGGBB or a word (amber, skyblue, green, pink, violet, yellow, teal, peach, red, orange, blue, purple, white, gold). | |
| formats | No | Files to write. Default: all three (txt, srt, vtt). A .json with full timings is always written too. | |
| subtitle_font | No | Tahoma | |
| burn_subtitles | No | Also render the source video with the named, colored subtitles drawn in. | |
| transcript_path | Yes | The .json from the transcript folder (or the folder itself). |