Required Input Characteristics
Your SRT or HLS input should meet the following requirements:Network / Connectivity
Each task is ingested by a dedicated worker. Forsrt_listener, the srt_url
returned by create-task contains the per-task host and encryption passphrase —
stream to it exactly as returned. For hls_pull, Narrative reads the manifest
from source_url; no inbound URL is returned. HLS EVENT manifests may retain
substantial history, so choose source_start.mode: "live_edge" when processing
should begin with newly published media. See
HLS Start Position for
offset and program-date-time starts.
Configure your encoder as follows:
Sport-Specific Notes
MMA
MMA broadcasts have a few characteristics that are worth accounting for when you stream:- Long walkouts. Each fighter’s walkout sequence — announcer call, entrance music, commentator discussion — can run 60–120 seconds or more. These are detected as first-class events (
fighter_walkout) and kept as full clips rather than trimmed. Don’t cut away during walkouts if you want them captured. - Multi-fight cards. A single stream often contains an entire promotion event (5+ fights). Fights are delineated automatically based on walkouts and finishes — no configuration needed. See Multi-Fight Cards for the resulting metadata.
- Ring announcer vs commentary audio. The formal post-fight declaration (“the winner by knockout…”) and judges’ scorecards are ring-announcer audio, distinct from color commentary. Both should be audible in the mix for reliable finish-event detection.
- Finish signal required for
tko/knockout. A takedown or knockdown by itself is not a TKO; the commentary or ring announcer must make the stoppage explicit (ref waves it off, doctor stops it, etc.). This keeps mid-fight action from being mis-categorized as a finish. - 1:1 square variant. Every rendered MMA highlight also produces a square (1:1) crop alongside the existing 9:16 portrait, using the same fighter-tracking trajectory. Other sports remain 16:9 + 9:16 only.
Recommended FFmpeg Mapping
Use explicit stream mapping so the ingest receives the primary video and audio tracks:Explicit mapping also avoids accidentally muxing embedded thumbnail streams (for example MJPEG cover art).

