diff options
Diffstat (limited to '2021/playbook/restream-flv.sh')
-rw-r--r-- | 2021/playbook/restream-flv.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/2021/playbook/restream-flv.sh b/2021/playbook/restream-flv.sh new file mode 100644 index 00000000..dc632762 --- /dev/null +++ b/2021/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 |