Engine / library

Brynse

Python Streaming Segmentation

An independent boundary-driven continuous-stream segmentation engine, designed to consume data incrementally and produce bounded segments without depending on source-specific semantics.

01 / Overview

Segment streams without knowing their domain

Brynse incrementally consumes encoded streams, retains only the data required for analysis, resolves pluggable boundary signals and materializes bounded segments. The engine remains generic while integrations provide domain-specific semantics.

02 / Model

Segmentation model

01
Streaming Incremental

Ingestion

Data is consumed progressively without requiring the complete stream to be available in memory.

02
Memory Disk spool

Retention

A bounded ring retains working analysis data while reclaimable encoded content can be temporarily spooled to disk for segment materialization.

03
Providers Evidence Policy

Boundary resolution

Fixed, manual and external boundary providers generate candidates that are resolved through evidence and segmentation policy.

04
MP3 AAC M4A

Materialization

Once a boundary is resolved, Brynse plans byte ranges and materializes final segments aligned with the encoded format.

03 / Integration

Radio integration

The first-party radio integration adds domain-specific semantics on top of the generic engine without changing its segmentation model.

ICY metadata

Incremental ICY metadata parsing and semantic tracking of track transitions.

Acoustic evidence

Candidate selection using acoustic signals and bounded analysis windows.

Transition routing

A router classifies transitions and delegates temporal geometry to dedicated specialists.

Specialists

Hard cut, fade, interstitial and bounded insert specialists handle different transition phenomena.

Conservative fallback

Ambiguous transitions use a conservative fallback rather than forcing an acoustic classification.

Atomic persistence

Finalized tracks are written incrementally and persisted as transitions become settled.

04 / API

Machine API

Python API JSON Automation

Structured segmentation

Brynse exposes a structured API for embedding the engine in applications, automation and agent-oriented workflows. SegmentRequest defines the request contract while safe entry points return either results or structured errors.