Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

Closed
nloui opened this issue Feb 16, 2023 · 1 comment
Closed

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

nloui opened this issue Feb 16, 2023 · 1 comment

Comments

@nloui
Copy link

nloui commented Feb 16, 2023

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

@Breakthrough
Copy link
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?

Repository owner locked and limited conversation to collaborators Mar 8, 2023
@Breakthrough Breakthrough converted this issue into discussion #135 Mar 8, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants