Skip to content

Instantly share code, notes, and snippets.

@kennethklee
Created April 5, 2016 15:55
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 kennethklee/0e3661c357c29caf3a1e797db517c385 to your computer and use it in GitHub Desktop.
Save kennethklee/0e3661c357c29caf3a1e797db517c385 to your computer and use it in GitHub Desktop.
Bash script to receive an nc stream from raspivid (~100ms delay)
while true; do nc -l -p 5000 | mplayer -fps 30 -cache 512 -; sleep 2; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment