Hardware Reference
In-Depth Information
webcam_localhost : You'll need to change this setting to off , because we'll
be monitoring the webcam from another computer and not from the Pi.
control_port : This value needs to be changed to 7070 (or any number you
like, above 1024 ) because it's currently conflicting with the port we're using
for MJPG-streamer.
control_localhost : This value also needs to be changed to off as we'll be
accessing Motion from another computer and not from the Pi.
on_event_start : Uncomment and change the line to read:
on_event_start speaker-test -c1 -t sine -f 1000 -l 1
This is our temporary alarm sound. Don't worry, we'll find something better
in a minute.
That's it for now, press Ctrl + X to exit, press y when prompted to save the modified
buffer, and then press Enter to confirm the filename to write to.
Initial Motion setup configuration
Trying out Motion
All right, let's take our Motion system out for a spin by following this procedure:
1. First, make sure that MJPG-streamer is running. You can run it in the
background by applying the -b flag, as shown in the following command:
pi@raspberrypi ~ $ mjpg_streamer -b -i "input_uvc.so -r 640x480 -f
30" -o "output_http.so -w /usr/www"
 
Search WWH ::




Custom Search