Skip to content

Instantly share code, notes, and snippets.

@omnisonic
Created May 9, 2020 06:31
Show Gist options
  • Save omnisonic/fe2fb265255bb780bbe7964c3e21b4e4 to your computer and use it in GitHub Desktop.
Save omnisonic/fe2fb265255bb780bbe7964c3e21b4e4 to your computer and use it in GitHub Desktop.
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -f alsa -ac 1 -ar 44100 -i default -acodec pcm_s16le -f s16le -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 60 -strict experimental -f flv <destination>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment