Individual skill

evo-speaker-diarization-subtitles

End-to-end speaker diarization and subtitle generation pipeline for video/audio files. Extracts audio via ffmpeg, performs VAD (silero-vad), extracts ECAPA-TDNN speaker embeddings (speechbrain), clusters speakers (agglomerative clustering with cosine distance), transcribes with OpenAI Whisper, aligns transcripts to speakers via IoU overlap, and outputs RTTM, ASS subtitles, and a JSON report.

tasks-evolved/speaker-diarization-subtitles/environment/skills/evo-speaker-diarization-subtitles/SKILL.md

Read pinned source

Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
99
Repository last updated
Sep 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# evo-speaker-diarization-subtitles

End-to-end speaker diarization and subtitle generation pipeline for video/audio files.

## Pipeline
1. **Audio extraction**: ffmpeg → 16kHz mono 16-bit PCM WAV
2. **Voice Activity Detection**: silero-vad (with fallback to torch.hub if direct import unavailable)
3. **Speaker embedding extraction**: SpeechBrain ECAPA-TDNN (`spkrec-ecapa-voxceleb`)
4. **Speaker clustering**: Agglomerative clustering with cosine distance + silhouette-based speaker count selection
5. **Transcription**: OpenAI Whisper with word-level timestamps
6. **Alignment**: Word-level IoU overlap mapping from Whisper words to diarized speaker segments
7. **Output generation**: RTTM (pyannote.core or manual), ASS subtitles, JSON report

## Usage