
Assuming I have apache2 install on my raspi and all the ports open on my router to the internet, is there a straightforward way to make this work - I'm thinking mjpeg or similar with a 1 or 2 second framerate?
AH. You found the 'spare reset switch'nicknml wrote:I'm also interested in doing the same thing. I did something similar with a USB cam in the past but it didn't work very well. I used something other than Apache.
On a side note, I almost killed my Pi and camera module in a clutz moment when the camera module made contact with the GPIO for a split second. The Pi rebooted itself and everything appears to be working ok.
Code: Select all
<?php
passthru("sudo raspistill -t 0 -o - -w 800 -h 500 -e jpg -q 70 -ex auto");
?>
Code: Select all
www-data ALL=(ALL) NOPASSWD: /usr/bin/raspistill
Code: Select all
img.src = "raspistill.php?n=" + (++imageNr);
Why low fps MJPG when you can have fast fps H264?audioscience wrote:Why not just use MJPG-Streamer?
Niceaudioscience wrote:Why not just use MJPG-Streamer?
http://sourceforge.net/projects/mjpg-streamer/
Works well for me.
http://www.theturtlepi.com