From 2e41189258df30746e6e240f66e7d5321891596c Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 18 Nov 2021 00:40:31 -0500 Subject: Starting the playbook --- playbook/restream-youtube.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 playbook/restream-youtube.sh (limited to 'playbook/restream-youtube.sh') 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 -- cgit v1.2.3