Restream one video source to Twitch, YouTube, Owncast, PeerTube, and other platforms at the same time.
Stream Sprout receives a single RTMP stream from OBS Studio (or any RTMP encoder) through FFmpeg and forwards it to multiple destinations without transcoding. It runs beside OBS Studio on Linux or macOS without root privileges, third-party relay fees, or a separate web server.
- Restream one broadcast to Twitch, YouTube, Owncast, PeerTube, and any
rtmp://orrtmps://destination. - Copy video and audio tracks without transcoding, so extra destinations add no extra encoding load.
- Keep active destinations live when one destination fails through FFmpeg's
onfail=ignoretee option. - Save an optional local Matroska (
.mkv) archive of each broadcast with a timestamped filename. - Manage all server and destination settings in one
stream-sprout.yamlfile that reloads between broadcasts.
| Platform | Repository | |
|---|---|---|
| Debian and Ubuntu | apt.wimpys.world | |
| Fedora and openSUSE | rpm.wimpys.world | |
| Arch Linux | pkg.wimpys.world | |
| Alpine Linux | apk.wimpys.world | |
| Nix and NixOS | nix.wimpys.world |
Each repository is signed, and its page gives the setup steps and keeps Stream Sprout up to date.
Images are published to the GitHub Container Registry for linux/amd64 and linux/arm64.
Pull the latest image:
docker pull ghcr.io/wimpysworld/stream-sprout:latest-alpineMount the directory that holds stream-sprout.yaml and expose the RTMP port:
docker run -p 1935:1935 -it -v "$PWD:/data" \
ghcr.io/wimpysworld/stream-sprout:latest-alpine \
--config /data/stream-sprout.yaml-p 1935:1935exposes the RTMP server port1935on the host. Change it whenstream-sprout.yamlsets a different port.-itruns the container interactively.-v "$PWD:/data"mounts the current directory as/datainside the container.
Build the container image locally:
docker build -f Containerfile -t stream-sprout .Stream Sprout requires Bash 5.0 or later and FFmpeg on PATH.
git clone https://github.com/wimpysworld/stream-sprout.git
cd stream-sproutCreate stream-sprout.yaml in your working directory (or copy stream-sprout.yaml.example):
server:
ip: 127.0.0.1
port: 1935
app: sprout
key: replace_with_uuidgen_key
archive_stream: false
archive_path: ~/Streams
services:
twitch:
enabled: true
rtmp_server: rtmp://live.twitch.tv/app/
key: your_twitch_stream_key
youtube:
enabled: true
rtmp_server: rtmp://a.rtmp.youtube.com/live2/
key: your_youtube_stream_keyStart Stream Sprout:
stream-sproutIn OBS Studio, open Settings > Stream, choose Custom, enter rtmp://127.0.0.1:1935/sprout as the Server, paste your server.key value into Stream Key, and click Start Streaming. Press Ctrl+C in the terminal to stop stream-sprout.
| Option | Description |
|---|---|
--config <path> |
Load a configuration file from a custom path. |
--info |
Print operating system, container runtime, awk, bash, and ffmpeg versions for bug reports. |
--version |
Print the Stream Sprout and FFmpeg versions. |
--help |
Display usage help and exit. |
Warning
FFmpeg does not enforce the app or key path on its incoming RTMP listener and accepts any stream on the configured port. Do not expose the RTMP port to untrusted networks without a VPN, SSH tunnel, or firewall. Read Security and limitations before listening on a non-loopback address.
- Configuration - Config search paths,
server:options, local stream archiving, and Twitch, YouTube, Owncast, PeerTube, and RTMPS targets. - OBS Studio - OBS Studio setup walkthrough and remote-host connection notes.
- Security and limitations - FFmpeg RTMP key enforcement caveat, VPN, SSH tunnel, and firewall hardening, and upload bandwidth limits.
- References - Upstream FFmpeg, OBS Studio, and container references plus
stream-sprout --infobug-report guidance.
