Skip to content

When using with wildcard, dvr-scan detects motion across two videos #134

Closed

Description

@nloui

When running dvr-scan on a folder of videos:

dvr-scan -i W:\*.mp4 -d events/ -b MOG2_CUDA --threshold 0.25 -bb

My events folder includes events that appear to be "detecting motion" by merging two clips.

Here's an example: https://www.dropbox.com/s/charmo8khq6b0xl/MP4_1580728320.DSME_0011.avi?dl=0

Activity

  1. Breakthrough commented on Feb 18, 2023

    @Breakthrough
    Owner

    All inputs to DVR-Scan are concatenated together. This is typically as people want to run the software on DVR footage which ends up being split into chunks, but the resulting motion events are contiguous across each file.

    If this is undesirable for your use case, the preferred approach is to write a for-loop to run DVR-Scan on each file that matches the path W:\*.mp4. This comes up from time to time, so I may consider adding a flag for this purpose (e.g. -n/--no-concatenate). Thoughts?

  2. Repository owner locked and limited conversation to collaborators on Mar 8, 2023
  3. converted this issue into a discussion #135 on Mar 8, 2023
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions