Questions tagged [motion-detection]
19 questions
25
votes
1 answer
ffmpeg remove parts without motion
I have an IP security camera (192.168.0.8) which able to broadcast rtsp content over network.
I'm able to save that (RAW) content without changes using next ffmpeg command from my computer:
ffmpeg -i "rtsp://192.168.0.8/stream=0.sdp" -acodec copy…
rfedorov
- 353
11
votes
2 answers
Extracting all the still images from a movie
I have a large number of paper sheets to scan. Instead of an autofeed or flatbed scanner, I'd like to use my photo camera. After a while, it occurred to me that instead of making a photo for each page, I could install the camera on a tripod, set it…
Aaron Digulla
- 7,235
6
votes
4 answers
How to run webcam software only when I am not home (phone is not on the LAN)?
Currently I've got my user cron starting Motion on a timer when I typically leave for work, and then killing it when I typically get home, so I can watch my cat/burglars/etc:
0 9 * * * killall motion ; motion
30 18 * * * killall motion
The config…
endolith
- 7,704
4
votes
2 answers
How to schedule Motion detection
I've just discovered Motion and it works like a charm.. My only problem is that I'd like it to be active only during night-time, but there's no parameter for scheduling..
I think I could write a program that would control Motion via its "HTTP API",…
Joril
- 2,035
3
votes
3 answers
Motion detection software
I have a WMV file that's 5 hours long. It's mostly just a camera focused on the entry door.
Is there any software where I can throw this file at it and it would find time segments where there is actual movement?
AngryHacker
- 19,327
3
votes
0 answers
ffmpeg remove parts without motion and cut the video
I am an Artist and I do very long drawing timelapses. I want to collapse my timelapses and cut everywhere where I don't move.
I want to shrink a 5 hour video to a few minutes video without speeding up the video.
I tried using this command
ffmpeg -i…
Ziva lamif
- 31
2
votes
3 answers
Please suggest a spy camera for in-home use
This is a bit creepy. I have been locking my door because my roommate likes to come in when I am not at home and just look at my stuff. I have started to lock the door, but I think he found a way to open that. He denies doing anything like that, but…
Fantomas
- 389
2
votes
1 answer
Macbook screen switch off when moved
When moving my macbook it sometimes switch off unexpectedly (black screen) and switch on again after several seconds.
I remember solving the problem several month ago by changing a internal MacOS X settings with such a command:
defaults write…
Martin Delille
- 1,321
2
votes
1 answer
Logitech webcam motion detection, wake on motion possible?
My Logitech C270 appears to be capable of motion detection, but the only thing the software can do is record when motion is picked up.
If possible I would like my computer in sleep mode to wake up as I sit down at my desk, if the camera detects…
JL.
- 5,818
2
votes
2 answers
How to extrack motion vector data without decoding the whole video
I want to extract the motion vector from the encoded h264 stream without performing a full decode of the frame.
I'm using the FFmpeg library and am aware of extracting the information using the av_frame_get_side_data. Unfortunately, it does a full…
M.Akyuzlu
- 123
2
votes
1 answer
OSX webcam program that takes screenshots when it detects movement
I'm looking for a webcam program for OSX that will detect when the computer is idle for more than a certain amount of time (say, 5 minutes), then turn on the webcam and take an image every time it detects movement. Does anyone know of a program that…
Daniel T.
- 1,013
2
votes
1 answer
reducing noise in scene select logic in ffmpeg
From this answer I am using this command to extract only components of a (mostly unchanging) video feed which have motion in them:
ffmpeg -i input.mp4 -vf "select=gt(scene\,0.0001),setpts=N/(25*TB)" output.mp4
However, I have found that under…
Michael
- 2,824
2
votes
0 answers
FFMPEG motion compensation and search
I'm trying to modify the motion detection part of FFMPEG. What I want to do is to extend the search space, so that whenever the macroblock hits the rightmost edge of the frame, I need it to still move the block towards the leftmost as if they are…
Tina J
- 579
1
vote
2 answers
Phone Direction Detection
I know that for a gyroscope, you can detect pitch, roll, and yaw, but how does a phone (or other machine) know what direction the phone is facing (north, east, south, west)?
Jaboyc
- 123
1
vote
1 answer
How to start/stop motion on screen lock/unlock?
I installed motion in Fedora 17, and I want it to start when I lock the screen with control + alt + l, and stop when I unlock it.
I found this to run/stop a script on screen lock:…
ChocoDeveloper
- 2,877