Skip to content

Instantly share code, notes, and snippets.

@dvas0004
Created March 15, 2014 19:02
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 dvas0004/9572179 to your computer and use it in GitHub Desktop.
Save dvas0004/9572179 to your computer and use it in GitHub Desktop.
#!/bin/bash
mkdir /tmp/mjpg
raspistill -tl 500 -t 0 -vf -w 640 -h 480 -o /tmp/mjpg/test.jpg -n -q 50 & > /dev/null 2>&1
LD_LIBRARY_PATH=/usr/local/lib mjpg_streamer -i "input_file.so -f /tmp/mjpg -n test.jpg" -o "output_http.so -w /usr/local/www" -b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment