From 1dfc0a78256d9d87d928355ce2c1a631405d6887 Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Wed, 21 Sep 2022 18:01:42 +0200 Subject: Move all playbook stuff to 2021/ --- 2021/playbook/restream-youtube.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 2021/playbook/restream-youtube.sh (limited to '2021/playbook/restream-youtube.sh') diff --git a/2021/playbook/restream-youtube.sh b/2021/playbook/restream-youtube.sh new file mode 100644 index 00000000..1cc2994b --- /dev/null +++ b/2021/playbook/restream-youtube.sh @@ -0,0 +1,2 @@ + KEY=$1 + while true; do ffmpeg -loglevel 8 -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/$KEY; done -- cgit v1.2.3