Interview clips from raw audio
A script turns about 9 hours of interviews into a clip list, with manual cleanup for speakers.
I built this because I was tired of scrubbing through interview files one by one to find usable moments. The script ingests raw audio, runs transcription, then marks spans that look like usable clips instead of me hunting for them at 2 a.m.
It handles about 9 hours of audio per batch. That part works fine. The annoying bit is noisy rooms: when two people overlap, the speaker labels drift, and I still have to fix them by hand before I trust the clip list.
Under the hood it’s a small pipeline, not a grand system. Transcription first, rough segmentation second, then a scoring pass that looks for quotes, topic shifts, and clean ends of sentences. I used ChatGPT mostly to prototype the rules and to rewrite the dumbest regexes I didn’t want to stare at.
The output is good enough to hand to an editor as a starting point. It’s not doing the creative part, just saving the slow part. On a good batch, I get a usable shortlist in about 25 minutes instead of a whole afternoon.
What surprised me is that the hardest part wasn’t finding highlight moments, it was making the labels honest. I still don’t know whether to keep pushing the speaker correction inside the script or just accept that a human has to touch every noisy interview. It’s probably the latter for now.
9 replies
Do you rank clips by quote density or by topic change?
Both, plus a penalty if the segment starts or ends mid-sentence. Quote density alone was too noisy.
Same here. In interviews with crosstalk, the labels are always the first thing to rot.
Nine hours per batch is fine, but cache the embeddings or you’ll pay the transcription cost twice on reruns.
If you still fix speaker labels by hand, isn’t the automation saving less than it sounds?
It’s still worth it because I only touch the bad 15–20%. The clean recordings are basically done for me.
手动清 speaker 的时候,你是先按静音段切,还是先按说话人聚类?
9 小时音频我一般先跑一遍粗切,哪怕漏掉一点,后面人工修起来也比整段拖拽快。
我现在是先按停顿和重叠切,再做说话人聚类。聚类结果很乱的时候,我就直接跳过那批,不硬修。