Motion - Support Question 2009x 10x 22x 192609

smart_mask_speed silently kills motion

Question

This has been resolved. The config file seems to need daemon on even if started from init.d. Sorry H

I am trying to run motion with smart_mask_speed 5 set. I start it with /etc/init.d/motion restart but after a while (minutes - 1/2 hour) the process silently disappears without any mail or other message. I havent been able to see any red pixels either. If I run motion without smart_mask_speed it works excellently but - depending on weather - gives far to many events and conditions are such that mask_file is a poor option. What can I do? Any suggestions for an otherwise superb program are appreciated.

Thanks in advance and congratulation to a great piece of software.

Ps process_id_file doesn't work either.

Motion.conf:

process_id_file /home/he/motion/pid
target_dir /home/he/motion/webcam
jpeg_filename %t-e%v-f%q-d%Y%m%d%H%M%S
on_event_start /home/he/hep/obj/tohemma
threshold 1500
smart_mask_speed 5
framerate 5
#webcam_motion on
#locate on
width 640
height 480
#output_all on
thread /home/he/motion/thread1.conf
thread /home/he/motion/thread2.conf

thread1.conf:

#mask_file /home/he/motion/mask1.pgm
output_motion on
videodevice /dev/video0


thread2.conf:

#mask_file /home/he/motion/mask2.pgm
output_motion on
videodevice /dev/video1


Environment

Motion version: 3.2.9
ffmpeg version: r11872+debian_0.svn20080206-18
Libraries: ffmpeg, mysql
Server OS: Linux version 2.6.26-2-amd64 (Debian 2.6.26-19)

-- HaakanElmqvist - 22 Oct 2009

Answer

Please try to reproduce those issues in latest stable , please upgrade to 3.2.11.1 and reopen if not fixed yet.

Cheers,

-- AngelCarpintero - 15 Nov 2009
Topic revision: r3 - 15 Nov 2009, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.