Skip to content
alwi edited this page Jan 13, 2017 · 39 revisions

playstreamation

A Raspberry Pi based video monitoring system for multiple IP cameras.


This is a Python/Bash based system that can be loaded and used on Raspbian / Raspberry Pi (tested on version 2 and 3).

Installation instructions


NOTE: For camera streams playback and video decoding it uses popcornmix/omxplayer so it may be considered an 'omxplayer wrapper'.


Main playstreamation system (value added) features:

  • Changes Raspberry Pi (with HDMI screen) into a security monitor showing RTSP streams from IP cameras
  • Launches on system startup
    • hides the OS; clean splash screen
  • Configuration of 1 up to 4 IP cameras through webpage:
    • camera address
    • RTSP port
    • RTSP stream authentication data (dependant on camera RTSP implementation) - supported IP camera types regarding authenticated streams:
      • Haso KG-1
      • Samsung SNZ-5200
      • LevelOne FCS-1091
  • Displaying information panel with current configuration and cameras connectivity:
    • checked by periodic ICMP ping request sent to each configured camera
    • contains graphical/branding logo (that can be easily replaced)
  • Display of image from IP cameras in 3 different modes:
    • single camera image - one at a time - switching between cameras manually
    • cyclic, automatic switching between configured cameras with configurable time interval
    • showing all 4 streams at once in split screen
  • Support of external physical buttons (if connected - OPTIONAL):
    • handling events from 6 buttons (connected to Raspberry Pi GPIO pins) allow:
      • ESC = exit to system information window
      • UP = system reboot
      • DOWN = changing cyclic switching interval (if applicable in selected mode)
      • LEFT = view stream from next camera (if applicable in selected mode)
      • RIGHT = view stream from next camera (if applicable in selected mode)
      • ENTER = enter viewing streams
  • Software watchdog for displayed video streams:
    • periodically checks if stream-display processes are running and restarts them if hang or down, gives reliable surveillance system
  • Support for external hardware watchdog (if connected - OPTIONAL):
    • hardware watchdog may use board reset pin to reboot whole device when system hangs
    • thus can be used in embedded systems / devices with limited controllers (no keyboard, no mouse)

Clone this wiki locally