Skip to content

[FR] Stop scanning after detecting X number of motion events #261

Description

@iointerrupt

Description of Problem & Solution
Right now, I run dvr-scan in scan-only, quiet mode against pre-recorded video segments and if the result output is empty (no motion events), I delete the file. If there are any motion events returned, I keep the file.

Proposed Implementation:
A command line parameter to quit processing the files after X number of motion events: eg: --quit-after 2. This would end dvr-scan and output the result of the first 2 motion events. No further processing is required.

Since I am looking for video segments that contain even only 1 motion, I do not need to process the entire file in order to determine whether to keep it or not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions