summaryrefslogtreecommitdiffstats
path: root/2021/playbook/restream-lowres.sh
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-09-21 13:57:25 -0400
committerSacha Chua <sacha@sachachua.com>2022-09-21 13:57:25 -0400
commitecae8e8ad9d9c9d6a83a51e60d190d6bd436e3c2 (patch)
tree0d7e7f381891414a39bfe6daaee91b9c64f149ec /2021/playbook/restream-lowres.sh
parentafe439ac96242cecca3d76e4108d9875284d5b2d (diff)
parent4abd64101eff010e799a243e20e30d130b5c63c3 (diff)
downloademacsconf-wiki-ecae8e8ad9d9c9d6a83a51e60d190d6bd436e3c2.tar.xz
emacsconf-wiki-ecae8e8ad9d9c9d6a83a51e60d190d6bd436e3c2.zip
Merge branch 'master' of git.emacsconf.org:emacsconf-wiki
Diffstat (limited to '2021/playbook/restream-lowres.sh')
-rw-r--r--2021/playbook/restream-lowres.sh2
1 files changed, 2 insertions, 0 deletions
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