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-lowres.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 2021/playbook/restream-lowres.sh (limited to '2021/playbook/restream-lowres.sh') diff --git a/2021/playbook/restream-lowres.sh b/2021/playbook/restream-lowres.sh new file mode 100644 index 00000000..bd6f5bfb --- /dev/null +++ b/2021/playbook/restream-lowres.sh @@ -0,0 +1,2 @@ + PASS=$1 + while true; do ffmpeg -loglevel 24 -f webm -reconnect_at_eof 1 -reconnect_streamed 1 -re -i http://localhost:8000/main.webm -vf scale=854:480 -f webm -c:a copy -b:v 500k -maxrate 1M -bufsize 1M -content_type video/webm -c:v libvpx icecast://ec2020main480pmu:$PASS@localhost:8000/main-480p.webm; done -- cgit v1.2.3