Skip to content

Instantly share code, notes, and snippets.

@jonatas
Created March 20, 2014 21:38
Show Gist options
  • Save jonatas/9674466 to your computer and use it in GitHub Desktop.
Save jonatas/9674466 to your computer and use it in GitHub Desktop.
raspberry pi cam stuff
mkdir /tmp/stream
cd /tmp/stream
raspistill -w 640 -h 480 -q 5 -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 &
cd ~/code/mjpg-streamer
LD_LIBRARY_PATH=./ mjpg_streamer -i "input_file.so -f /tmp/stream" -o "output_http.so -w ./www"
folder=~/timelapses/`date +%y%m%d%H%M`
mkdir $folder
cd $folder
raspistill -o img_%d.png -tl 5000 -t 10000000 &
@jonatas
Copy link
Author

jonatas commented Mar 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment