motion detection

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
natma
New Cone
New Cone
Posts: 3
Joined: 16 May 2017 20:54

motion detection

Postby natma » 16 May 2017 21:11

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!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: motion detection

Postby Jean-Baptiste Kempf » 17 May 2017 11:05

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.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

natma
New Cone
New Cone
Posts: 3
Joined: 16 May 2017 20:54

Re: motion detection

Postby natma » 17 May 2017 15:39

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?

daBee
New Cone
New Cone
Posts: 2
Joined: 16 Nov 2018 15:33

Re: motion detection

Postby daBee » 16 Nov 2018 16:07

Did you ever get this to work? I'm in need of relating a timestamp from the feedback log as well.

peterslo
New Cone
New Cone
Posts: 1
Joined: 25 Feb 2019 11:21

Re: motion detection

Postby peterslo » 25 Feb 2019 11:25

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

vrsevertech
New Cone
New Cone
Posts: 4
Joined: 04 Apr 2019 13:14

Re: motion detection

Postby vrsevertech » 12 Apr 2019 08:27

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?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests