Hardware Reference
In-Depth Information
Recording in Mac OS X
We're going to launch VLC from the command line to record our video:
1.
Open up a Terminal window (located in
/Applications/Utilities
) and
type in the following command to start recording the video stream to a file
called
myvideo.avi
, located on the desktop:
$ /Applications/VLC.app/Contents/MacOS/VLC http://[IP
address]:8080/?action=stream --sout='#standard{mux=avi,dst=/Users/
[username]/Desktop/myvideo.avi,access=file}'
Replace
[username]
with the name of the account you use to log in to your
Mac, or remove the directory path to write the video to the current directory.
2.
It may seem like nothing much is happening, but there should now be a
growing
myvideo.avi
recording on your desktop. To confirm that VLC
is indeed recording, we can select
Media Information
from the
Window
drop-down menu and then select the
Statistics
tab. To stop the recording,
simply close VLC.
Recording in Linux
We're going to launch VLC from the command line to record our video:
1.
Open up a Terminal and type in the following command to start recording
the video stream to a file called
myvideo.avi
, located on the desktop:
$ vlc http://[IP address]:8080/?action=stream
--sout='#standard{mux=avi,dst=/home/[username]/Desktop/myvideo.
avi,access=file}'
Replace
[username]
with your log in name, or remove the directory path to
write the video to the current directory.
2.
It may seem like nothing much is happening, but there should now be a
growing
myvideo.avi
recording on your desktop. To confirm that VLC
is indeed recording, we can select
Media Information
from the
Tools
drop-down menu and then select the
Statistics
tab. To stop the recording,
simply close VLC.
Detecting an intruder and setting off
an alarm
Let's dive right into the wonderful world of motion detection!