Skip to main content

RTSP Output

Streams video with overlays to an RTSP server.

Single output

All streams tiled into one RTSP stream:

- type: "rtsp"
url: "rtsp://localhost:8554/stream"
codec: "h264"
bitrate: 4000000
encoder: "gpu"

Per-stream output

One RTSP stream per input:

- type: "rtsp"
mode: "multi"
codec: "h264"
bitrate: 4000000
encoder: "gpu"
streams:
- source_id: 0
url: "rtsp://localhost:8554/cam0"
- source_id: 1
url: "rtsp://localhost:8554/cam1"

Fields

FieldTypeDefaultDescription
urlstringRTSP endpoint URL (required when mode is single)
modestring"single""single" = one tiled stream, "multi" = per-stream output
codecstring"h264"Video codec: h264 or h265
bitrateinteger4000000Target bitrate in bits/sec
encoderstring"gpu"Encoder backend: gpu or cpu
streamslistPer-stream output mappings (required when mode is multi)