| Zeile 210: |
Zeile 210: |
| | ==== spca5xx/spca5xx_LE ==== | | ==== spca5xx/spca5xx_LE ==== |
| | * Installation: | | * Installation: |
| − | :Die Dateien spca5xx.o.gz oder spca5xx_lite.o.gz und spcacat.gz mit wget auf den Router laden. | + | :Die Dateien spca5xx.o.gz oder spca5xx_lite.o.gz und spcacat.gz mit wget auf den Router laden oder motion installieren. |
| | | | |
| | <pre> | | <pre> |
| Zeile 234: |
Zeile 234: |
| | gunzip spcacat.gz | | gunzip spcacat.gz |
| | chmod +x spcacat | | chmod +x spcacat |
| | + | |
| | + | # Bild- und Streamsoftware Motion |
| | + | ipkg install http://ping02.stura.uni-weimar.de/dave/libjpeg_6b-1_mipsel.ipk |
| | + | ipkg install http://ping02.stura.uni-weimar.de/dave/motion_3.2.6-1_mipsel.ipk |
| | </pre> | | </pre> |
| | | | |
| Zeile 316: |
Zeile 320: |
| | </pre> | | </pre> |
| | | | |
| − | also Driver gefunden, Webcam erkannt. | + | [[Bild:Aldicam.png|thumb|Aldi Webcam DC-3110]] |
| | + | also Driver gefunden, Webcam erkannt. Und das mit der Aldi-Cam super! |
| | + | |
| | + | Programm spcacat: |
| | + | |
| | Nun noch eine Datei anlegen für die webcam. | | Nun noch eine Datei anlegen für die webcam. |
| | + | <pre> |
| | + | vi /www/webcam.html anlegen |
| | | | |
| − | webcam.html anlegen
| |
| | | | |
| − | <pre>
| |
| | <html><head> | | <html><head> |
| | <script language="JavaScript"> | | <script language="JavaScript"> |
| Zeile 349: |
Zeile 357: |
| | cd /www | | cd /www |
| | spcacat -d /dev/video0 -g -f jpg -p 10000 -o | | spcacat -d /dev/video0 -g -f jpg -p 10000 -o |
| | + | </pre> |
| | + | |
| | + | Programm motion: |
| | + | |
| | + | Nun noch die Config-Datei für motion anlegen. |
| | + | <pre> |
| | + | vi /etc/motion.conf |
| | + | |
| | + | #Dave Beispiel motion.conf |
| | + | |
| | + | daemon on |
| | + | quiet on |
| | + | |
| | + | # You may very well need to change this (check with 'dmesg' |
| | + | # after plugging in your webcam) |
| | + | videodevice /dev/v4l/video0 |
| | + | |
| | + | # Image size in pixels (valid range is camera dependent) |
| | + | width 320 |
| | + | height 240 |
| | + | |
| | + | quality 85 |
| | + | auto_brightness on |
| | + | |
| | + | # Initial brightness, contrast, hue (NTSC), and saturation |
| | + | # 0 = disabled (valid range 0-255) |
| | + | brightness 0 |
| | + | contrast 0 |
| | + | saturation 0 |
| | + | hue 0 |
| | + | |
| | + | # Target base directory for pictures and films |
| | + | # You should probably change this (create dir beforehand) |
| | + | target_dir /tmp |
| | + | jpeg_filename bild |
| | + | |
| | + | # Define a port number (e.g. 8000) to enable the mini-http server |
| | + | # 0 = disabled |
| | + | webcam_port 8000 |
| | + | |
| | + | # Set to 'off' to allow anybody (not just localhost) to view the |
| | + | # webcam via the mini-http server (http://hostname:port) |
| | + | webcam_localhost off |
| | + | |
| | + | webcam_quality 50 |
| | + | webcam_maxrate 8 |
| | + | |
| | + | locate on |
| | + | text_changes on |
| | + | text_double on |
| | + | text_left "Dave TV" |
| | + | # text_right "-" |
| | </pre> | | </pre> |
| | | | |