summaryrefslogtreecommitdiffstats
path: root/playbook/restream-lowres.sh
blob: 3ee7c20d4a51cd646efd3a96bdcb0b67e9ddd64c (plain) (blame)
1
2
     PASS=$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:$PASS:8000/main-480p.webm; done