Created
January 23, 2020 21:49
-
-
Save RobCranfill/e0e5279b3d6dffb132b6212689387897 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# livestream the livingroom cam? | |
raspivid -o - -t 0 -fps 30 -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://a.rtmp.youtube.com/live2/YOUTUBE-THINGY-HERE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment