Last active
April 30, 2018 23:39
-
-
Save onezerodigits/055dcf7e0eb834dfa083710fb725dcf6 to your computer and use it in GitHub Desktop.
Raspberry Pi Stream to Twitch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install libav-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raspivid -o - -t 0 -vf -hf -w 1640 -h 1232 -fps 40 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://live-atl.twitch.tv/app/ID_HERE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment