Open ghost opened 7 years ago
The error messages are coming from the external motion process and I think they are occuring during start up of the motion process which happens turning motion detection on occurs and it reads its config file (/etc/motion/motion.conf. It sounds like this config file may be out of sync with the motion version maybe because the motion version has been updated. You could check the motion.conf file for both a missing line terminator at the end of the file and also for that config value sdl_threadnr. You could also attach the motion.conf file here so I could look at it.
You could also switch to using the internal motion detect process (under camera settings). I use this myself exclusively. It uses vector data from the camera and avoids running the motion process altogether so these errors associated with motion wouldn't occur.
The second capture in the log looks fairly normal. The 7 second video is converted to mp4 quite quickly. There is, however, a delay of a few seconds in starting the conversion (box) process which I don't understand at the moment. In my logs from Pi Zero cameras the box operation starts within a second of end of capture. Have you got other stuff running on the Pi?
The sdl_threadnr config parameter seems to be a new upcoming feature for the external motion process. See http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionSdlThreadnr
For some reason the base conf file that motion is now creating includes the parameter even though that version of motion does not support it. That is what triggers the error message. It is quite harmless and can be ignored. If you want to get rid of it then find the line with sdl_threadnr in the /etc/motion/motion.conf file and delete it.
As I say I use internal motion detection and so do not see this error message anyway.
Hi !
I've an issue when motion detect a movement, the detection is OK, it starts to record the file (as per the button status, but once finished I got the below message :
The video is finally saved (take a few times, probably due to my Pi0)
Any idea? Everything's is up to date, lateste raspbian lite.
find below the lastest lines in scheduleLog.txt