summaryrefslogtreecommitdiffstats
path: root/playbook/restream-youtube.sh
blob: 1cc2994bf575874adc5b1d830a1c77b794ad32b7 (plain) (blame)
1
2
     KEY=$1
     while true; do ffmpeg -loglevel 8 -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/$KEY; done