I'm trying to record a video using Motion, but it only records when a motion detected. Is there any option to use it as an ordinary video capture software?
I found the answer. As stated here, we have the command 'output_all'; which makes the exact thing that I wanted - allowing you to create continuous film:
- Type: Boolean
- Range / Valid values: on, off
- Default: off
- Option Topic
Picture are saved continuously as if motion was detected all the time.
This feature is not meant to be the normal mode of operation. Especially not if you have the output_normal or output_motion features enabled since it will keep on saving pictures on the disk and you will soon run out of disk space. So be careful with this command.
If your frame rate is 10 pictures per second motion will save 10 new picture pr second until the disk is full.
It does all the normal actions that are done when motion is detected. It saves pictures on the harddisk, execute external scripts, etc as fast as the frame rate of the camera. So it is probably a good idea to run with a low framerate when using this feature and to not use activate all the features that saves files on the disk.
The idea of this feature is that you can turn the feature on and off for a short period of time to test or to generate continuous mpeg films when needed.
if you need an application to do such matter please visit here. It is an
Ubuntu tutorial but it works the same on
But I highly Recommend you to try Home surveillance and motion detection with the Raspberry Pi, Python, OpenCV, and Dropbox tutorial. It is a greate post about
OpenCV. it has great details and every body, with no
OpenCV or even a
linux knowledge can follow the steps and learn a lot.