summaryrefslogtreecommitdiffstats
path: root/playbook/restream-youtube.sh
diff options
context:
space:
mode:
Diffstat (limited to 'playbook/restream-youtube.sh')
-rw-r--r--playbook/restream-youtube.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbook/restream-youtube.sh b/playbook/restream-youtube.sh
new file mode 100644
index 00000000..7609305e
--- /dev/null
+++ b/playbook/restream-youtube.sh
@@ -0,0 +1 @@
+ while true; do ffmpeg -f webm -reconnect_at_eof 1 -reconnect_streamed 1 -re -i http://localhost:8000/main.webm -f webm -c:a copy -c:v copy rtmp://a.rtmp.youtube.com/live2/$1; done