Skip to content

Instantly share code, notes, and snippets.

@lucabelluccini
Created October 14, 2014 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucabelluccini/7bb953a3cb88cf3abaae to your computer and use it in GitHub Desktop.
Save lucabelluccini/7bb953a3cb88cf3abaae to your computer and use it in GitHub Desktop.
Video streaming on RaspberryPi
# Server receiving
nc <raspberry ip> <port> | mplayer -fps <fps> -demuxer h264es -
# Raspberry
raspivid -hf -w <width> -h <height> -n -t 0 -fps <fps> -b <bitrate> -o - | nc -l -p <port>
# My settings -> width: 640 height: 480 fps: 30 bitrate: 5000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment