Project

General

Profile

Actions

Feature #745

open

Add webcam recordings

Added by Hammel almost 5 years ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Category:
Systems
Target version:
Start date:
01 Mar 2020
Due date:
% Done:

10%

Estimated time:
Severity:
01 - Critical

Description

This should be allowed both by manual request and via motion detection.
There should be a playback option for all recordings as well.

Actions #1

Updated by Hammel over 4 years ago

  • Priority changed from High to Immediate
Actions #2

Updated by Hammel over 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Recordings from mjpeg-streamer can be done with this command:

  ffmpeg -i //<IP-address>:8085 <file name>.avi

So I just need a keyboard command to run it from picam. Motion detection would do the same thing but that's in RM #744.

Actions #3

Updated by Hammel over 4 years ago

General Design

  1. Config option: "-r <file>", recordfile; specifies file to save to; default = picam-<timestamp>.avi
  2. Config option: "-R <dir>", recorddir; specifies directory to save to; default = /media/mmcblk0p3/home/recordings
  3. Config option: "-m <max>", recordmax; specifies maximum number of recordings to save; default = 5
  4. Keyboard control
    1. r = start recording
    2. s = stop recording
  5. Recording setup
    1. Test if stream exists
    2. Make recording directory
    3. Check if recording file exists
      1. Yes: rotate recordings up to max recordings
  6. Start recording
  7. Stop recording
Actions #4

Updated by Hammel almost 3 years ago

  • Priority changed from Immediate to Urgent
  • Severity changed from 03 - Medium to 01 - Critical
Actions #5

Updated by Hammel over 1 year ago

  • Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Actions #6

Updated by Hammel about 1 year ago

PiStore needs to add option to designate drivers/directories for PiSentry. This will require the addition of a web interface (yuck).

PiSentry needs to create a directory on a PiStore mount using a hash. The hash needs to be saved on PiSentry to be matched up on IronMan servers. A web UI can be used to regenerate the hash and show and manage files from PiSentry.

Actions

Also available in: Atom PDF