summaryrefslogblamecommitdiffstats
path: root/playbook/restream-youtube.sh
blob: c1fee46c77f5b35b37be4984e68a1fedb9c2c06f (plain) (tree)
1
2

                                                                                                                                                                                           
     KEY=$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/$KEY; done