Skip to main content

streams

Define one or more input sources. The stream type is auto-detected from the URI.

streams:
- uri: "file:///path/to/video.mp4"
source_id: 0
- uri: "rtsp://192.168.1.100:554/live"
source_id: 1
FieldTypeRequiredDefaultDescription
uristringYesInput source URI
source_idintegerYes (multi-stream)list indexUnique ID for this stream (used to map per-stream outputs)
note

When using multiple streams with per-stream outputs (mode: "multi"), you must explicitly set source_id on each stream so they can be matched to their corresponding sink entries. For a single stream, source_id can be omitted.

Supported URI formats

URI PrefixType
file:///path/to/video.mp4Local file
rtsp://host/pathRTSP stream
rtmp://host/pathRTMP stream
http:// / https://HLS stream