Page 1 of 1
Raspberry Pi motion web camera
Posted: Wed Jan 18, 2017 1:55 pm
by Amaterasu
I just got my first raspberry pi so I am a noob. I am following this guide
http://www.techradar.com/how-to/computi ... me-1314466 to use the motion package. I have got it to record and I can stream it on the browser with my IP. When it senses motion it stops recording. Stupid question but Is that suppose to happen? I thought it waits for motion and then starts recording in a better framerate. If it stops on motion, then isn't that redundant? Thanks for the help!
Re: Raspberry Pi motion web camera
Posted: Wed Jan 18, 2017 9:13 pm
by randomhero
I didn't read the guide you posted. But I use motion and a USB camera to capture events. It's all in the config (default location is /etc/motion/motion.conf). That config file contains everything, it seems daunting to look through it, but once you go through it a couple times, read things, try changing things one at a time, you'll start to understand how things are setup and how they work together.
Mine only records upon motion sensing a set pixel change rate that I defined. Mine then dumps files to a directory and emails me the images as well. Pretty cool stuff. Good luck!
Re: Raspberry Pi motion web camera
Posted: Wed Jan 18, 2017 9:42 pm
by Amaterasu
I have read through the config file a few times and I have tweaked stuff that I understand. However my question is, is it suppose to stop recording as soon as it sees movement? Isn't that redundant since if someone was to open my door for example, it would stop recording instantly so I wouldn't capture anything useful.
Re: Raspberry Pi motion web camera
Posted: Thu Jan 19, 2017 2:51 am
by 4LULZ
Do you recall setting 2 different frame rate values within the config file? There are separate flags for the capture rate while the software is 'idling' as opposed to when it detects motion. I used to run mine at 1 frame every 3 seconds while 'idling' and when movement was detected this would increate to 30fps.
Re: Raspberry Pi motion web camera
Posted: Fri Sep 22, 2017 4:53 pm
by lupa18
I have problems because motion cant read motion.conf file if runs as a service, ie:
So it try to save files in any folder and with default options.
But, if I run it simply with:
then it runs perfectly and I can fine tune all options
Debian_version: 9.1
Motion version: 4
Re: Raspberry Pi motion web camera
Posted: Sat Sep 23, 2017 9:15 am
by KLL
yes, had a similar problem!
following something like this:
mkdir .motion
sudo cp /etc/motion/motion.conf ~/.motion/motion.conf
sudo nano ~/.motion/motion.conf
and then start with
sudo motion
my problem was that MY motion.conf was only used when i start
with "sudo motion" from this .motion subdir,
or when i start with "motion" but then it fails about the logfile creation....
so, i just deleted all that .motion again and just edit
sudo nano /etc/motion/motion.conf