Introduction
This page describes how Alexis Huxley sets up a couple of webcams at Christmas.
Procedure
- Ubuntu users download and install the DEB from here.
- Run:
mjpg_streamer -i "input_uvc.so -d /dev/video0 -f 1" -o "output_http.so -p 9000" & mjpg_streamer -i "input_uvc.so -d /dev/video1 -f 1" -o "output_http.so -p 9001" &
- Add the following to Apache configuration:
# Webcams <Location "/webcam0/"> Order allow,deny ProxyPass http://fiori.pasta.net:9000/ AuthType Basic Allow from all </Location> <Location "/webcam1/"> Order allow,deny ProxyPass http://fiori.pasta.net:9001/ AuthType Basic Allow from all </Location>
See also
- MJPG homepage
- Computing