Pov

From RevSpace
Revision as of 18:38, 3 September 2017 by Luteijn (talk | contribs) (→‎cameras)
Jump to navigation Jump to search

what is it

POV is the (virtual) server managing the webcams. It stores video files of all webcams over the last 2 days.


OS specifications

  • debian stretch
  • 32b
  • virtual machine with 2 cores
  • 1GB ram
  • 10GB root filesystem
  • 100GB storage for camera files


software


motion

  • motion is installed from the debian repository
  • configuration files are under /etc/motion
  • main configuration is motion.conf which includes cam*.conf
  • as by the design of motion, all its cameras (6 + 11) are monitored from 1 process


constatus

  • installed from the github repository https://github.com/flok99/constatus
  • installed under /usr/local/constatus
  • started (currently, 20170903) from /etc/rc.local
  • each camera has its own constatus process - the idea is that if something crashes, that not all cameras will go down
  • video archive can be viewed under http://10.42.19.84:port/ where port is 8101 for camera 1, 8102 for camera 2 and so on

The configuration files are JSON files. They consist of 2 or more sections: general, source and then optional sections. Every other section (apart from video loopback) have an array of entries for their data. E.g.

recording specificaions

  • 5 FPS video files
  • 2 FPS HTTP web interface


cameras

number port protocol of physical dev where
CAM 1 8084 RTSP hanging above the 3D printer
  • CAM 2: 8085, MJPEG, cantine
  • CAM 3: 8086, MJPEG, back side of klusruimte
  • CAM 4: 8087, MJPEG, front side of klusruimte
  • CAM 5: 8088, RTSP, houtbewerkingsruimte
  • CAM 6: broken
  • CAM 7/8/9/10: 8090/8091/8092/8093, MJPEG, source is Verint Nextiva. these produce an RTP stream which are converted to MJPEG by scripting running on the shell server, see https://github.com/Peetz0r/revcaminfra.