Motion - Support Question 2005x 09x 27x 073342

switchfilter does not work in 3.2.3

Question

I have installed the motion 3.2.3 and found that switchfilter on (or 1 or yes) does not detect any motion though the CHANGELOG file shows that this bug was fixed. With switchfilter off motion works though I'm having problems where images from one camera are sometimes beeing mixed with ones from another cameras. I reinstalled motion 3.1.19 and found that the problem occurs also(with the same config file)

part of motion.conf

############################################################
# Round Robin (multiple inputs on same video device name)
############################################################

#Number of frames to capture in each roundrobin step (default: 1)
roundrobin_frames 1

#Number of frames to skip before each roundrobin step (default: 1)
# I tried with this set to 1
roundrobin_skip 2
#Threshold for number of changed pixels in an image that
#triggers motion detection (default: 1500)
threshold 200

#Automatically tune the threshold down if possible (default: on)
threshold_tune on

#Noise threshold for the motion detection (default: 32)
noise_level 32

#Automatically tune the noise threshold (default: on)
noise_tune on

#Enables motion to adjust its detection/noise level for very dark frames
#Don't use this with noise_tune on. (default: off)
night_compensate off

#Despeckle motion image using (e)rode or (d)ilate or (l)abel (Default: not defined)
#Recommended value is EedDl. Any combination (and number of) of E, e, d, and D is valid.

#(l)abeling must only be used once and as the last letter.
#Comment out to disable
despeckle EedDl

#PGM file to use as a sensitivity mask.
#Full path name to. (Default: not defined)
; mask_file value

#Dynamically create a mask file during operation (default: 0)
#Adjust speed of mask changes from 0 (off) to 10 (fast)
smart_mask_speed 0

#Ignore sudden massive light intensity changes given as a percentage of the picture
#area that changed intensity. Valid range: 0 - 100 , default: 0 = disabled
lightswitch 50

#Picture frames must contain motion at least the specified number of frames
#in a row before they are detected as true motion. At the default of 1, all
#motion is detected. Valid range: 1 to thousands, recommended 1-10
minimum_motion_frames 1#was detected that will be output at motion detection (default: 0)
pre_capture 0

#Number of frames to capture after motion is no longer detected (default: 0)
post_capture 3

#Minimum gap between two events (seconds) (default: 60)
#An event is defined as a series of motion images taken within a short timeframe.
gap 60

#Minimum gap in seconds between the storing pictures while detecting motion.
#Default: 0 = as fast as possible (given by the camera framerate)
minimum_gap 0

#Maximum length in seconds of an mpeg movie
#When value is exceeded a new mpeg file is created. (Default: 0 = infinite)
max_mpeg_time 0

#Number of frames per second to capture when not detecting
#motion (saves CPU load) (Default: 0 = disabl#Always save images even if there was no motion (default: off)
output_all off
ed)
low_cpu 0




#Specifies the number of pre-captured (buffered) pictures from before motion

#Try to filter out noise generated by roundrobin (default: 0)
switchfilter 1


-----------------------

bash-2.05b$ motion  -n
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Unknown config option "debug_parameter": No such file or directory
[0] Processing config file /usr/local/etc/thread1.conf
[0] Processing config file /usr/local/etc/thread2.conf
[0] Processing config file /usr/local/etc/thread3.conf
[1] Thread is from /usr/local/etc/thread1.conf
[2] Thread is from /usr/local/etc/thread2.conf
[3] Thread is from /usr/local/etc/thread3.conf
[1] Thread started
[2] Thread started
[3] Thread started
[0] motion-httpd/3.2.3 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Started stream webcam server in port 15001
[2] Started stream webcam server in port 15002
[3] Started stream webcam server in port 15003

Environment

Motion version: 3.2.3
ffmpeg version: 0.4.8
Libraries: ffmpeg, mysql, postgresql
Server OS: slackware 10.0 kernel 2.4.26

-- RonaldoToledo - 27 Sep 2005

Answer

Try 3.2.4_snap2 MotionRelease3x2x4snap2

I found an old bug recently and the feature may work better now.

-- KennethLavrsen - 27 Sep 2005
Topic revision: r2 - 27 Sep 2005, KennethLavrsen
Copyright © 1999-2019 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.