Hardware Reference
In-Depth Information
Viewing the evidence
Whenever a new file is recorded, the filename will be announced in the Motion
console log:
File of type 8 saved to: /home/pi/evidence/01-20141008194653.avi
File of type 1 saved to: /home/pi/evidence/01-20141008194653-00.jpg
To view the videos on the Pi itself, use omxplayer and specify a filename:
pi@raspberrypi ~ $ omxplayer ~/evidence/01-20141008194653.avi
Before we view the images, we need to install the Fbi IMproved ( FIM ) image viewer:
pi@raspberrypi ~ $ sudo apt-get install fim
Now we can start the fim command and point it to an individual image (by specifying
its filename) or a collection of images (by using the wildcard asterisk character):
pi@raspberrypi ~ $ fim ~/evidence/*.jpg
Press Enter to display the next image, and press Q to quit.
Hooking up more cameras
If you've got an extra webcam at home, perhaps built into a laptop, it would be a
shame not to let it help out with the motion detection mission, right?
We're going to look at how to connect more camera streams to Motion. These streams
might come from conventional IP security cameras, but the same method works
equally well for webcams on Windows and Mac computers, with some tinkering.
Preparing a webcam stream in Windows
We'll use webcamXP to add additional cams in Windows. The following are
the necessary steps:
1.
Visit http://www.webcamxp.com/download.aspx to download the latest
webcamXP free application installer ( wxpfree580.exe at the time of writing).
Free for private use, webcamXP also allows two camera streams.
2.
Install webcamXP using the installer.
3.
Launch webcamXP using the shortcut ( webcamXP 5 ) from the Start menu.
4.
Right-click on the large image frame and select your webcam from the list;
it will most likely be located under PCI / USB (WDM Driver) .
 
Search WWH ::




Custom Search