summaryrefslogtreecommitdiffstats
path: root/playbook/restream-flv.sh
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2021-11-20 19:56:46 -0500
committerSacha Chua <sacha@sachachua.com>2021-11-20 19:56:46 -0500
commitfd4aa97b1f39cc0d696e382b66f01cc6bc6f9d1e (patch)
tree0040faf807828e318a0d3e52bc5d5b713fbfeaca /playbook/restream-flv.sh
parent7b87af6111e8c4ddf8ca6a9c9ff12f067f7cb705 (diff)
downloademacsconf-wiki-fd4aa97b1f39cc0d696e382b66f01cc6bc6f9d1e.tar.xz
emacsconf-wiki-fd4aa97b1f39cc0d696e382b66f01cc6bc6f9d1e.zip
Update playbook for restreaming
Diffstat (limited to 'playbook/restream-flv.sh')
-rw-r--r--playbook/restream-flv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbook/restream-flv.sh b/playbook/restream-flv.sh
new file mode 100644
index 00000000..dc632762
--- /dev/null
+++ b/playbook/restream-flv.sh
@@ -0,0 +1,2 @@
+ MOUNT=$1
+ while true; do ffmpeg -loglevel 24 -i http://localhost:8000/main.webm -cluster_size_limit 2M -cluster_time_limit 5100 -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -vcodec libx264 -acodec libmp3lame -f flv $MOUNT; done