Page 1 of 1

motion detection

Posted: 16 May 2017 21:11
by natma
Hello, I am trying to use the motion detection. I have the logfile activated and it works. But there are still some things that are unclear to me:
1)Is there a way of obtaining the time of the motion? like a timetable there was so much movement at this time? what I only get is this:
motiondetect debug: Counted 209 moving shapes.
2)Ive found this code in a forum:

Code: Select all

vlc --video-filter=motiondetect -vvv > modec 2>&1
and it works but the second part I can't do anything with it

Code: Select all

while true : tail -n 1 modec | grep 'moving shapes'
Does anyone know how to use it? or is it perhaps not for windows? Because I would like to filter only for the time without motion

3) how often is it detected? It's more than 1 per second and not per frame, because "motiondetect debug: Counted 0 moving shapes." is also displayd when I pause the video

4) Everytime I enable motion detect I get these failures
"core warning: picture is too late to be displayed (missing 43 ms)
core debug: picture might be displayed late (missing 11 ms)"
What can I do about it?

I hope someone could help me. Thank you!

Re: motion detection

Posted: 17 May 2017 11:05
by Jean-Baptiste Kempf
1) you need to modify the code for this.

2) I don't think it is there is a simple solution for Windows, no.

3) every frame. but when paused, VLC blits the frames.

4) not much, I'm afraid. Increase the input cache, for example.

Re: motion detection

Posted: 17 May 2017 15:39
by natma
Thank you for the answer,
1) do I need to modify the code of the motion detection function or just in the command line?
Is it much that needs to be modified?

Re: motion detection

Posted: 16 Nov 2018 16:07
by daBee
Did you ever get this to work? I'm in need of relating a timestamp from the feedback log as well.

Re: motion detection

Posted: 25 Feb 2019 11:25
by peterslo
Is there a way to play a normal video until a motion is detected over stream? If it is, then switch to stream video until there is motion. Probably longshot but still

Re: motion detection

Posted: 12 Apr 2019 08:27
by vrsevertech
Did you ever get this to work? I'm in need of relating a timestamp from the feedback log as well.
Did it work out?