Designed to split a OBS stream and re-stream it to multiple youtube live streams
- Clone this respository
cp nginx.example.conf nginx.conf
- Edit
nginx.conf
and edit/add as manypush
directives as you want - Run the container
docker-compose up
(or in the background withdocker-compose up -d
)
Thos article describes the setup and usage in detail: https://lukashermann.dev/writing/splitting-an-obs-stream-to-multiple-destinations/
Stream a video from your computer with this command:
ffmpeg -stream_loop -1 -re -i 1080p-sync-test.mp4 -f flv rtmp://localhost/restream
Test video credits: https://www.youtube.com/watch?v=ucZl6vQ_8Uo