-
Notifications
You must be signed in to change notification settings - Fork 0
Camera
Ollie Bennett edited this page Aug 14, 2015
·
2 revisions
Run sudo raspi-config
and check the "Enable Camera" option is ticked. Restart if needed.
Loosely based on this and other sources.
Install dependencies:
sudo apt-get install -y cmake libjpeg62-dev
Clone project:
git clone https://github.com/jacksonliam/mjpg-streamer.git
Build it!
cd mjpg-streamer/mjpg-streamer-experimental
make clean all
Run it!
export LD_LIBRARY_PATH=.
./mjpg_streamer -o "output_http.so -w ./www" -i "input_raspicam.so -x 640 -y 480 -fps 30"
View it!