diff options
author | Sacha Chua <sacha@sachachua.com> | 2021-11-18 00:40:31 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2021-11-18 00:40:31 -0500 |
commit | 2e41189258df30746e6e240f66e7d5321891596c (patch) | |
tree | 9765c17fcac0fd5af426910c079d51d44a3b083a /playbook | |
parent | 384dafa18987dd03b4c47806418e9ed69cc40a71 (diff) | |
download | emacsconf-wiki-2e41189258df30746e6e240f66e7d5321891596c.tar.xz emacsconf-wiki-2e41189258df30746e6e240f66e7d5321891596c.zip |
Starting the playbook
Diffstat (limited to 'playbook')
-rw-r--r-- | playbook/restream-lowres.sh | 1 | ||||
-rw-r--r-- | playbook/restream-youtube.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/playbook/restream-lowres.sh b/playbook/restream-lowres.sh new file mode 100644 index 00000000..6312b9eb --- /dev/null +++ b/playbook/restream-lowres.sh @@ -0,0 +1 @@ + while true; do ffmpeg -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:${1}:8000/main-480p.webm; done 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 |