Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg "recorder" and mog2 #833

Open
superkekko opened this issue Nov 13, 2024 · 1 comment
Open

ffmpeg "recorder" and mog2 #833

superkekko opened this issue Nov 13, 2024 · 1 comment

Comments

@superkekko
Copy link

superkekko commented Nov 13, 2024

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants