Hardware Reference
In-Depth Information
4. From the
Media
drop-down menu, select
Open Network Stream…
.
5. Enter the direct stream URL we learned from the MJPG-streamer demo
pages (
http://[IP address]:8080/?action=stream
), and click on the
Play
button.
6. (Optional) You can add live audio monitoring from the webcam by opening
up a command prompt window and typing in the command line you learned
from the
Listening in on conversations from a distance
section in
Chapter 2
,
Audio Antics
:
C:\ "C:\Program Files (x86)\PuTTY\plink" pi@[IP address] -pw
[password] sox -t alsa plughw:1 -t sox - | "C:\Program Files
(x86)\sox-14-4-1\sox" -q -t sox - -d
Viewing in Mac OS X
Let's install VLC and open up the camera stream:
VLC installer package (
vlc-2.1.5.dmg
, at the time of writing).
2. Double-click on the VLC disk image and drag the VLC icon to the
Applications
folder.
3. Launch VLC from the
Applications
folder.
4. From the
File
drop-down menu, select
Open Network…
.
5. Enter the direct stream URL you learned from the MJPG-streamer demo
pages (
http://[IP address]:8080/?action=stream
) and click on the
Open
button.
6. (Optional) You can add live audio monitoring from the webcam by opening
up a
Terminal
window (located in
/Applications/Utilities
) and typing
in the command line you learned from the
Listening in on conversations from a
distance
section in
Chapter 2
,
Audio Antics
:
$ ssh pi@[IP address] sox -t alsa plughw:1 -t sox - | sox -q -t
sox - -d
Viewing in Linux
Let's install VLC or MPlayer and open up the camera stream:
1.
Use your distribution's package manager to add the
vlc
or
mplayer
package.
2.
For VLC, either use the GUI to open a network stream or launch it from the
command line with this command:
$ vlc http://[IP address]:8080/?action=stream