VOLLENDATA
Randall Vollen

Type to search titles, summaries and topics.

Studio · November 17, 2026

A listening agent for stream clips

A listening agent for streamer clips. Sound events, loudness, spoken words and chat go into one score, the strongest moments become remix kits, and a person approves each one. The approved kit becomes a finished Short. Nothing is uploaded by the system.

· 9 min read · Randall Vollen

A two-row flow of eight stages: allow-list, watch, record and chat replay on the top row, then listen, kits, approve and finished Short on the bottom row, with the allow-list and the approval step highlighted
Drawn from this article's pipeline. Not a video frame.

In short

The listening agent watches streamers who have given permission, scores every moment in the audio and the chat, and builds a remix kit for each of the five strongest. One command runs the whole chain, and a phone ping says the kits are ready. A person approves a kit, and the system turns it into a finished vertical Short with captions, a hook line and the streamer credit. Nothing is posted by the system. The creator uploads the Short by hand.

Permission comes before the first frame

Every streamer sits in one allow-list file with a platform, a channel, a status, dated proof, and the conditions that streamer set. Only verified status with one dated proof opens the gate, and the watcher, the recorder, and the kit builder all refuse anyone else.

The room is listened to as well as the stream

Four signals share one score: sound events, loudness jumps, spoken hype words, and chat rate. The chat signal changed the ranking in the one test, because the viewers agreed with the audio at the top moments. Two kits never repeat the same moment: a kit that overlaps a stronger one by more than half is dropped.

From kit to finished Short

Each kit brings the clip, a vertical copy, the word-timed transcript, the credit line, three hook lines taken from what was said, and the signals that fired. A person approves on a phone page or through the MCP server. The approval burns in word captions, the chosen hook and the credit, and the finished Short lands in a hand-off folder for upload by hand.

Where the idea came from

A 142-second talking-head video on TikTok described a clipping system for a game stream. It polled platform APIs every couple of minutes for live streamers, recorded with Streamlink in 10-minute chunks, found moments by laughter, chat spikes, and emoji spikes, cut 35 to 45 seconds of lead-in, sent each clip to a chat channel, and left a human to approve before a posting service did the upload. The video put the build at a couple of hours, and quoted $10 a month for 1,000 posts.

That description was enough to build against. The permission check at the front, a human approval before publication, and a posting step that stays a person’s job all carried over.

Architecture

Every stage sits downstream of one gate, and the gate is the allow-list.

The pipeline runs from a permission check to a hand-off folder, and each stage hands the next one a file. One command, run, drives the first half: it checks the allow-list, watches for the stream to go live, records it, fetches the chat replay, listens, builds the kits and sends a phone notice that they are ready to review. The second half starts when a person approves a kit.

Flow diagram in three rows read in a snake: allow-list, live check, recorder; then listening agent, scoring, remix kits; then review page and MCP, finished Short in the hand-off folder, creator uploads by hand.
From the permission check to the hand-off folder. The review page and the Model Context Protocol (MCP) server do the same work in two places, and both can approve a kit. No stage in this chain posts.
ComponentWhat it doesBuilt on
Allow-listLists every streamer the system may act on, with status, dated proof, and the conditions that streamer setOne configuration file, read by the code
Live watcherPolls live status for allowed streamers, default every 120 s, writes an event log, and can push to a phoneKick, Twitch, and YouTube adapters
RecorderRecords with Streamlink into 600 s segments, stops at a 200 GB disk budget, and refuses anyone not allowedStreamlink into ffmpeg
Listening agentRuns sound events, loudness, transcript, and chat over one 0.5 s gridPANNs AudioSet tagger, ffmpeg’s EBU R128 meter, faster-whisper small.en
ScorerAdds each signal’s peak inside a ±2 s window, merges close peaks, and keeps the top 5Python, no model
Run commandOne command that checks the allow-list, watches, records, fetches the chat replay, listens, builds the kits and sends a notice. It can also start from a recording already on diskPython, with the recorder, listener and kit builder as parts
Kit builderCuts the clip and the vertical copy, then writes the transcript, credit, hooks, and signals. Drops any kit that overlaps a stronger one by more than halfffmpeg with libx264 video and AAC audio
FinisherOn approval, burns in word captions in groups of three, the chosen hook at the top and the credit line, and writes a 1080 by 1920 Shortffmpeg with ASS subtitles
Review pageA phone-first page for approve, reject, trim, and crop, with every decision logged. Approve makes the finished ShortA small web server on the author’s own machine
MCP serverThe same functions as the page and the command line, returning paths and numbers but never mediaThe official MCP SDK over stdio
Hand-off folderKeeps the finished Short and its caption until a person uploads themA folder under the run data

The watcher, the recorder, and the kit builder ask the same allow-list file the same question, and each one refuses a name that is not allowed.

The automated suite passes 174 tests, and no test calls a streaming platform.

The MCP server exposes the same nine functions as the command line and the page, and approve builds the finished Short just as the page does: list_streamers, listen, make_kits, list_kits, get_kit, approve, reject, trim, and handoff_list. Every answer returns paths and numbers, and no media comes back over the protocol.

How the listening works

Four signals run over one 0.5 s grid, and a moment scores as the sum of each signal’s peak inside a ±2 s window.

SignalWhat it measuresHow much it counts
Sound eventsPANNs labels drawn from 527 AudioSet classesLaughter 3.0, cheering 2.0, a shout 1.0. Music counts against the score above 0.5, because a copyrighted track in a stream is a claim risk
LoudnessMomentary loudness from ffmpeg’s EBU (European Broadcasting Union) R128 meter, against a rolling 60 s baseline of the stream’s own levelThe size of the jump over that baseline sets the value
TranscriptHype words from a faster-whisper small.en transcript, run on the CPUEach hype word that lands in the window counts
ChatMessages per 10 s, measured against the chat’s own paceFull weight at twice the usual rate for that stream. Optional

A candidate has to reach 1.0 to count, peaks within 20 s of each other are merged into one moment, and the five highest scores are kept.

The kit is source material for a remix, and the finished Short is made from it only after a person approves. Each kit contains a 47 s clip, 35 s before the peak and 12 s after, a vertical 9:16 copy at 1080 by 1920, the transcript with word timings, the credit line the creator has to use, three hook lines, the signals that fired, and a JSON record of the kit.

The hooks come from the transcript. The first is the words spoken at the peak. The second says that chat lost it when those words were said. The third states the signals that fired, such as a loudness jump in loudness units and the number of chat messages at the spike. A person picks one when approving.

The first measurements came from the author’s own videos. A 242 s test video was listened to in 38 s: 4.5 s for sound events, 30.3 s for the transcript, and 3.2 s for loudness. A 212 s video took 35 s. Building the kits ran 11 to 55 s per run, and the test clips came out at 47 s. The transcript is the expensive part of a run.

What the audience told us

Twenty minutes of a popular IRL streamer who pays a clipper network produced 7,701 chat messages, about 6 a second, with a median of 62 per 10 s.

Past streams keep their chat replay, and it can be fetched by timestamp. The listener can then read the room as well as the audio.

MeasureWithout the chat signalWith the chat signal
Moments found in 20 minutes55
What set the rankingspoken “oh my god” hitschat rate, with loudness and words agreeing
Chat messages per 10 s at the top momentsnot used96 to 137
Chat messages per 10 s across the streamnot used62 (median)
Reactions at the top momentsnot used35 to 88

Without the chat signal, the five moments were mostly the spoken exclamation. With the chat in the score, the top moments moved to where the chat ran above its own pace, and the loudness and the spoken words agreed with it. The chat signal is relative to that stream’s own pace: twice the usual rate scores full weight. Reaction emotes and words count as whole tokens.

Listening those 20 minutes took 2 min 41 s on the CPU, of which 128 s was the transcript. Building the five kits took 2 min 19 s.

The clip came from a one-clip test that was authorised for the purpose, and nothing was posted. No streamer footage was used before a permission was on file.

Permission first

The allow-list holds two entries today. One streamer, whose team pays a network of clippers, is allowed for a single authorised test clip until his clipping-program brief is on file. The other has no public clipping policy to point at, so the agent will not touch him.

Each entry lists a platform, a channel, a status, proof, and the conditions the streamer sets: how to credit them, whether a clip may be monetised, and what content is banned. Being listed is not enough. Only verified status with at least one dated proof opens the gate, and the watcher polls no one else, the recorder refuses to start, and the kit builder will not cut a clip.

The one-clip test was authorised by name, and the source and the date it was checked went into the same file beside it.

The standing route is the same for every streamer: join their clipping programme, and their brief becomes the proof.

A working example

The whole chain has now run once on a real recording: a 20-minute stretch of a stream that pays a clipper network, with its chat replay from a staged file. One command did it, with no hand steps, on the CPU. It took 10 minutes and finished with five kits. The phone notice for five kits ready to review was sent.

The five scores ran from 3.97 down to 3.00. The kit windows are 47 s long. The largest overlap between two kits was 11 s of 47, which is 23 percent, so none was dropped. Every hook line carried a chat spike of between 96 and 134 messages, and two also carried a loudness jump of 3.4 to 3.6 loudness units.

One kit, the top-ranked one, was approved with its first hook. The finished Short is 1080 by 1920, 47.04 s long, about 41 MB, with the stream’s audio. Burned in are word captions in groups of three, the hook as a line at the top, and the streamer’s credit. The caption file next to it holds the hook and the credit line.

Nobody has watched that Short. The checks so far are on the numbers and the files, so caption timing and legibility are unchecked by eye.

Running it

One streamer runs on an ordinary 8-core, 16 GB machine with no GPU.

Listening ran about 7 times faster than real time on a 20-core CPU, and a GPU makes the transcript about 10 times faster. Recording at 720p costs about 1.4 GB an hour.

Only the cut clips are kept. The recording lands in 600 s segments under a 200 GB disk budget, and once the clips are cut the recording is moved to the trash with a line in the log.

Until the clips are cut, the whole stream sits on disk, and the budget is what stops a long stream filling the machine.

What is not done yet

The chain from recording to finished Short is built and has run end to end on a recorded file. It has never run against a live stream, and the score of 1.0 is a working number rather than a tuned one.

  • The live path has not run. The live check, the recording and the chat fetch are built and tested with stand-ins, but none has run against a real stream. The example used a recording and a chat file already on disk.
  • The Short has not been watched. Caption timing, legibility, the hook line and the credit are untested by eye.
  • The hooks are mechanical. They are cut from the transcript, so some end mid-phrase or repeat a word, and the third is not trimmed to a set length.
  • The thresholds are provisional. No hand-labelled set of moments exists to set the score against. The cut of 1.0 is a working number.
  • The vertical crop is centred, not face-aware. The finished Short uses the centre crop. A slider on the review page moves it sideways, and nothing tracks a face.
  • The AI self reacting to the clip is not built. Commentary from an AI stand-in was planned for later, and needs a GPU.

One limit showed up in the one-clip test. Sound events alone missed the laughter and the crowd on that IRL stream, because the streamer’s voice masks them. Only music and one crowd hit cleared the bar, even at a lower cut. The fix is to split the voice out first, then tag the laughter on the voice stem, the same track rule the sound finder uses.

Those steps sit with the author. The voice split comes first, because a moment the listener cannot hear is a moment it cannot score. A first live run, a look at the finished Short and the hand-labelled set follow. Nothing has been pushed or posted.

One more thing

Sources

  1. StreamClipper: the code for this articleRandall Vollen. (2026). Retrieved 2026-11-17.