Skip to content

Instantly share code, notes, and snippets.

@onezerodigits
Created May 4, 2018 01:03
Show Gist options
  • Select an option

  • Save onezerodigits/e9fee11057f0716b9f1a755a7fbe5780 to your computer and use it in GitHub Desktop.

Select an option

Save onezerodigits/e9fee11057f0716b9f1a755a7fbe5780 to your computer and use it in GitHub Desktop.

Revisions

  1. onezerodigits created this gist May 4, 2018.
    3 changes: 3 additions & 0 deletions showstart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash

    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/UPDATE_KEY_HERE