Changes between Version 1 and Version 2 of RaspberryPiSurveillanceMonitor


Ignore:
Timestamp:
12/01/16 11:24:12 (6 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RaspberryPiSurveillanceMonitor

    v1 v2  
    33
    44= Getting started =
    5 * Install the standard debian Raspberry Pi and make sure to select console mode. We do need any GUI, since we will be using omxplayer to
     5Install the standard debian Raspberry Pi and make sure to select console mode. We do need any GUI, since we will be using omxplayer to display the camera feeds. Also find out your RTSP streaming URLs.
     6
     7
     8= Display camera images =
     9I use the [http://cr.yp.to/daemontools.html daemontools] framework, since it provides me with logging, monitoring, restarting out-of-the-box. I also like the way his way of thinking, to avoid reinventing the wheel everytime you need to write an deamon.
     10
     11/etc/motd:
     12{{{
     13WWW: http://rickvanderzwet.nl - webcampi @ rustdam
     14
     15/etc/service/camera1    =       Hooiberg (via 'Rustdam Stal') - Main View
     16/etc/service/camera2    =       Receptie (via wired and proxied on rustdam2.gw) - Left bottom
     17/etc/service/camera3    =       Stal    (wireless connected to rustdam.wleiden.net - rdr at rustdam2.gw)
     18}}}
     19
     20
     21/etc/service/camera1/run:
     22{{{
     23#!/bin/sh
     24exec 2>&1
     25exec omxplayer --threshold 0 --win 0,0,1280,720 --live 'rtsp://USER:PASSWORD@IP:PORT/videoMain'
     26}}}
     27
     28/etc/service/camera2/run:
     29{{{
     30#!/bin/sh
     31exec 2>&1
     32exec omxplayer --threshold 0 --win 739,720,1280,1024 --layer 10 --live 'rtsp://USER:PASSWORD@IP:PORT/videoMain'
     33}}}
     34
     35/etc/service/camera3/run:
     36{{{
     37#!/bin/sh
     38exec 2>&1
     39exec omxplayer --threshold 0 --win 0,720,540,1024 --layer 10 --live 'rtsp://USER:PASSWORD@IP:PORT/videoMain'
     40}}}
     41
    642
    743