我在 Debian 7.5 上安装了标准 motion 3.2.12 包。我只想在检测到运动时获取快照,但它仍然每秒保存一张图片,而摄像头前没有任何活动。
我正在使用 TENVIS JPT3815W IP 摄像头
运动配置文件
这是我的配置文件
setup_mode off
target_dir /media/videos/log/webcam
netcam_url http://webcam/snapshot.cgi
netcam_tolerant_check on
netcam_userpass admin:alpha1237
# Output frames at 1 fps when no motion is detected and increase to the
# rate given by webcam_maxrate when motion is detected (default: off)
webcam_motion off
output_all off
# detection settings 1-255 default 32
noise_level 50
# Maximum framerate for webcam streams (default: 1)
webcam_maxrate 25
pre_capture 0
framerate 25
gap 30
locate on
mail [email protected]
text_right "FRONT CAMERA %Y/%m/%d - %T"
text_double on
ffmpeg_cap_new on
ffmpeg_cap_motion on
ffmpeg_video_codec mpeg4
output_motion off
snapshot_interval 0
# Quality of the jpeg (in percent) images produced (default: 50)
quality 90
# Restrict webcam connections to localhost only (default: on)
webcam_localhost off
# Limits the number of images per connection (default: 0 = unlimited)
# Number can be defined by multiplying actual webcam rate by desired number of seconds
# Actual webcam rate is the smallest of the numbers framerate and webcam_maxrate
webcam_limit 0
问题
当我启动时,几乎每秒都会将运动图像存储在 /media/videos/log/webcam 中。我只想在检测到运动时获取图像以及相应的视频剪辑
知道配置哪里失败了吗?
答案1
检查以下属性(我将显示我的值):snapshot_interval 0
,,,,,。threshold 1500
framerate 4
minimum_motion_frames 1
emulate_motion off