Replies: 2 comments 3 replies
-
This is the intended purpose for the Thanks for the diagram, it's definitely helpful, but I'm having trouble understanding why the parameters for time before/post events can't be tuned to achieve the desired result.
This is what the Taking a step back, it seems like your issue is having too many events with really low values of pre/post event durations. Would this still be an issue if DVR-Scan produced the output in XML/FCPXML format? P.S. Thanks for the kind words, it means a lot ❤️ |
Beta Was this translation helpful? Give feedback.
-
Yes correct - that is how things should work, but does not yet as per #72. This is most likely what you're seeing unfortunately. I'll make sure to prioritize that for an upcoming release.
Thanks for refreshing my memory on that. Could you file a feature request for this in the DVR-Scan repo? Would be happy to add a new option called "merge-window" or something to allow this to be specified.
Will do. I don't think there's an open issue for tracking XML support either - feel free to submit a new one for that as well. Regarding the kernel size thing:
I'm unable to reproduce this on my end, my changes to kernel size seem to work okay. Could you share your config file and the DVR-Scan command you're using? |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you so much for this amazing software!
Love it but would appreciate some help.
I switched from Auto-editor python script because I could never get the settings right for my case and DVR-scan seemed to work out of the box. I'm trying to cut out motionless parts of my drawing videos. I use scan only mode and subsequently process cmd output event data in a spreadsheet to get it into a video editor (Resolve). I've been trying to get the settings right but if I get an acceptable result, the number of motion events that gets output is really high which is cumbersome to work with through the spreadsheet. Many "cut positions" - end of previous to start of a new event - are adjacent to each-other (practically have the same time. So inside the editor I get many clips with continuous source frame count with a redundant cut in-between) or very near in the source footage and I would like to eliminate those and have a continuous event if a pause between motion is shorter than some small specified value. Having a bigger "time before" and "time after" event setting seems to lower the number of output events the most but that defeats my purpose of removing smaller (but not too small) motionless parts from the lengthier motion parts.
I realize that my case scenario is somewhat different from the intended use (e.g. lightning videos...) where you look for motion events in a mostly static video and I'm kinda inverting the logic, but still...
Can you recommend some settings that would "leave out" most of the motionless parts from a video but not produce many events?
Ideally there would be a setting where I could specify an amount of time below which the motionless part wouldn't be treated as such and would be ignored and the motion event before and after it would output as a single event. Similar to "minimum event length" but for no-motion. Something like: if no-motion duration is under x frames, ignore and don't end the event.
I hope this makes sense.
Maybe this has something to do with my issue, IDK.
I should mention that when I change the kernel size to different odd values in the cfg file, it always says default 3 on MOG2 in the cmd initialisation output (I'm downscaling with 2 a 1080i video). I don't know if that is just default info or are my kernel changes really not working. Other .cfg settings are propagating fine it seems.
Also I was reading some discussions about exporting to editors (I think issue #116 and #156 in PySceneDetect and another one I can't find).
If that is still relevant, maybe you can look into Auto-editor. They have the output for XML and FCPXML, that also works in Resolve, figured out. I had to modify one of their .py to make it work for my older Resolve 17 but the export is working well for me.
I'm not sure where to post this. Hope here is fine.
Beta Was this translation helpful? Give feedback.
All reactions