Skip to content

Instantly share code, notes, and snippets.

@pizzimenti
Created October 14, 2018 22:48
Show Gist options
  • Save pizzimenti/5b9c474a9ef1c749a7fa04018bd35887 to your computer and use it in GitHub Desktop.
Save pizzimenti/5b9c474a9ef1c749a7fa04018bd35887 to your computer and use it in GitHub Desktop.

Revisions

  1. Brad Pizzimenti created this gist Oct 14, 2018.
    1 change: 1 addition & 0 deletions piCast.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    raspivid -o - -t 0 -b 3000000 | 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://[insert Youtube RTMP broadcast addresss here]