Send Motion-user mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Unexpected behavier of the Watchdog (Fritz Wettstein)
2. Lorex Camera (Harlan Daneker)
----------------------------------------------------------------------
Message: 1
Date: Sun, 17 Dec 2023 16:42:24 +0100
From: Fritz Wettstein <[email protected]>
To: [email protected]
Subject: [Motion-user] Unexpected behavier of the Watchdog
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Pi 5 4GB, Boockworm, Pi HQ-Camera.Motion 4.6.0 After start it runs for a
while then
|[1:ml1] [NTC] [ALL] [Dec 16 14:15:15] motion_detected: Motion detected
- starting event 2. [1:ml1] [INF] [EVT] [Dec 16 14:15:15]
event_ffmpeg_newfile: Source FPS 30 [1:ml1] [INF] [ENC] [Dec 16
14:15:15] ffmpeg_set_quality: libx264 codec vbr/crf/bit_rate: 10 [1:ml1]
[NTC] [EVT] [Dec 16 14:15:15] event_newfile: Writing movie to file:
/home/swe/motion/motion-20231216-141515.mp4 [1:ml1] [NTC] [ALL] [Dec 16
14:15:26] mlp_actions: End of event 2 [1:ml1] [NTC] [ALL] [Dec 16
14:15:27] motion_detected: Motion detected - starting event 3. [1:ml1]
[INF] [EVT] [Dec 16 14:15:27] event_ffmpeg_newfile: Source FPS 30
[1:ml1] [INF] [ENC] [Dec 16 14:15:27] ffmpeg_set_quality: libx264 codec
vbr/crf/bit_rate: 10 [1:ml1] [NTC] [EVT] [Dec 16 14:15:27]
event_newfile: Writing movie to file:
/home/swe/motion/motion-20231216-141527.mp4 [0:motion] [ERR] [ALL] [Dec
16 14:16:05] motion_watchdog: Thread 1 - Watchdog timeout. Trying to do
a graceful restart [0:motion] [ERR] [ALL] [Dec 16 14:16:15]
motion_watchdog: Thread 1 - Watchdog timeout did NOT restart, killing
it! [0:st0] [INF] [ALL] [Dec 16 14:36:00] webu_answer_strm: Connection
from: 192.168.1.14 |I think I've found a solution:
||I think it is due to the resolution of the recordings. Because before
the watchdog process died, a file with the movie should have been
written. Then I remembered that I had changed the resolution. With the
format set at the beginning of the tests with the new version of motion
there was a green stripe on the right edge. Then I set an acceptable
width. Then I gradually lowered the height. Now I am at a format of
2048x1456 and it seems to work||
--
Fritz Wettstein-Bossard
Gubelstrasse 14
6300 Zug
Switzerland
--
Phone: +41 41 720 0557
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
# Rename this distribution example file to motion.conf
#
# This config file was generated by motion 4.4.0
# Documentation: /usr/share/doc/motion/motion_guide.html
#
# This file contains only the basic configuration options to get a
# system working. There are many more options available. Please
# consult the documentation for the complete list of all options.
#
############################################################
# Image Processing configuration parameters
############################################################
# mask_file motion/mask1.pgm
mask_file /home/swe/motion/Terrasse.pgm
native_language off
# Parameters to control video device. See motion_guide.html
# video_params "Gain, Automatic"=1,ID09963795=50, brightness=127,
saturation=50,contrast=100
# Threshold for number of changed pixels that triggers motion.
threshold 1500
# Image wide
; width 1792
; height 1344
;width 1920
;height 1440
; width 1600
;width 1600
; height 1152
; width 2028 # green strip at right edge
;width 1698
;height 1520
;width 2032
;height 1520
;width 2048
;height 1520
width 2048
height 1456
############################################################
# System control configuration parameters
############################################################
# Start in daemon (background) mode and release terminal.
daemon on
# Start in Setup-Mode, daemon disabled.
setup_mode off
# File to store the process ID.
pid_file /home/swe/motion/pid
# File to write logs messages into. If not defined stderr and syslog is used.
log_file /home/swe/motion/log
# Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL).
log_level 7
# Target directory for pictures, snapshots and movies
target_dir /home/swe/motion
# Video device (e.g. /dev/video0) to be used for capturing.
video_device /dev/video0
# The full URL of the network camera stream.
; netcam_url value
# Name of mmal camera (e.g. vc.ril.camera for pi camera).
; mmalcam_name value
# Camera control parameters (see raspivid/raspistill tool documentation)
; mmalcam_control_params value
# Maximum number of frames to be captured per second.
framerate 30
# Text to be overlayed in the lower left corner of images
text_left Camera1
# Text to be overlayed in the lower right corner of images.
text_right %Y-%m-%d\n%T
text_scale 2
############################################################
# Motion detection configuration parameters
############################################################
# Always save pictures and movies even if there was no motion.
emulate_motion off
# Threshold for number of changed pixels that triggers motion.
# threshold 750
# Noise threshold for the motion detection.
; noise_level 32
# Number of images that must contain motion to trigger an event.
minimum_motion_frames 1
# Gap in seconds of no motion detected that triggers the end of an event.
event_gap 3
# The number of pre-captured (buffered) pictures from before motion.
pre_capture 1
# Number of frames to capture after motion is no longer detected.
post_capture 5
############################################################
# Script execution configuration parameters
############################################################
# Command to be executed when an event starts.
; on_event_start value
# Command to be executed when an event ends.
; on_event_end value
# Command to be executed when a movie file is closed.
; on_movie_end value
############################################################
# Picture output configuration parameters
############################################################
# Output pictures when motion is detected
picture_output off
# File name(without extension) for pictures relative to target directory
picture_filename %Y%m%d%H%M%S-%q
############################################################
# Movie output configuration parameters
############################################################
# Create movies of motion events.
movie_output on
# Maximum length of movie in seconds.
movie_max_time 300
# The encoding quality of the movie. (0=use bitrate. 1=worst quality, 100=best)
movie_quality 0
movie_bps 2000000
# Container/Codec to used for the movie. See motion_guide.html
movie_codec mp4
# File name(without extension) for movies relative to target directory
movie_filename motion-%Y%m%d-%H%M%S
############################################################
# Webcontrol configuration parameters
############################################################
webcontrol_interface 0
# Port number used for the webcontrol.
webcontrol_port 8080
# Restrict webcontrol connections to the localhost.
; webcontrol_localhost on
# Type of configuration options to allow via the webcontrol.
; webcontrol_parms 0
############################################################
# Live stream configuration parameters
############################################################
# The port number for the live stream.
stream_port 8081
# Restrict stream connections to the localhost.
stream_localhost off
##############################################################
# Camera config files - One for each camera.
##############################################################
; camera /usr/etc/motion/camera1.conf
; camera /usr/etc/motion/camera2.conf
; camera /usr/etc/motion/camera3.conf
; camera /usr/etc/motion/camera4.conf
##############################################################
# Directory to read '.conf' files for cameras.
##############################################################
; camera_dir /usr/etc/motion/conf.d
------------------------------
Message: 2
Date: Sun, 17 Dec 2023 22:02:03 -0500
From: Harlan Daneker <[email protected]>
To: Motion discussion list <[email protected]>
Subject: [Motion-user] Lorex Camera
Message-ID:
<cac1wkitprryxs+yzjdqo0a_arbsxcxriczywroofcij88zh...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi;
Has anybody tried Lorex cameras? I thought I would ask before I buy one.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 208, Issue 4
*******************************************