roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.77k stars 179 forks source link

ffmpeg "recorder" and mog2 #833

Open superkekko opened 1 week ago

superkekko commented 1 week ago

Hi,

I've setup the "recorder" feature in the ffmpeg part but I don't understand how these are merged with the mog2 part

ffmpeg: recorder: lookback: 10 idle_timeout: 10 retain: 3 mog2: fps: 1 trigger_recorder: true recorder_keepalive: true area: 0 threshold: 0 learning_rate: -1

Do I need both?

roflcoopter commented 4 days ago

Can you paste your config according to this so it preserves the formatting?

They are linked together by the camera identifier:

ffmpeg:
  camera:
    camera_1: This is the camera identifier

mog2:
  motion_detector:
    cameras:
      camera_1: Same identifier as above