Skip to content

Instantly share code, notes, and snippets.

@onezerodigits
Last active April 30, 2018 23:39
Show Gist options
  • Save onezerodigits/055dcf7e0eb834dfa083710fb725dcf6 to your computer and use it in GitHub Desktop.
Save onezerodigits/055dcf7e0eb834dfa083710fb725dcf6 to your computer and use it in GitHub Desktop.

Revisions

  1. onezerodigits revised this gist Apr 30, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Install AVCONF
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    sudo apt-get update
    sudo apt-get install libav-tools
  2. onezerodigits created this gist Apr 24, 2018.
    1 change: 1 addition & 0 deletions twitchstream
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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