LiveClip
Live-follow auto clipping for streamers. Claude picks moments from the running transcript, and clips are cut, tight-edited and QA-checked while the stream is still live.
Python · ffmpeg · Claude · Bailian / SenseVoice ASR

LiveClip turns livestreams and long talking-head videos into vertical short clips. It was extracted from a pipeline that clipped a real creator’s daily streams in production. Prompts and on-screen text are Chinese; the code is platform-agnostic Python and ffmpeg.
record → transcribe → pick → hook → cut → tight edit → QA → covers & captions
- Live follow. A recording server uploads 5-minute segments. Every 20 minutes of transcript, Claude picks clips from a sliding window and defers anything too close to “now”, so it can compete again next round.
- Tight edit. Fillers, stutters and false starts are removed using word-level ASR timestamps, but a negation is never deleted unless it’s repeated.
- QA for what “plays fine locally” misses: a face cut off, a title over a face, mid-sentence cuts, A/V offset measured on both tracks, AAC packet spacing, and a full decode.
Every paid model call is cached and written to a cost ledger. The lessons doc records each production bug and the code that now prevents it.

Screenshots use synthetic demo data.