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. Re: Motion Version 4.01 process end (6745th)
----------------------------------------------------------------------
Message: 1
Date: Sat, 05 Nov 2016 21:32:44 +0100
From: 6745th <[email protected]>
Subject: Re: [Motion-user] Motion Version 4.01 process end
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
I start my motion ?at boot via crontab:@reboot ? sudo -u pi /usr/bin/motion -c
/home/pi/motion/motion.conf 2> /dev/null > /dev/null&
-------- Urspr?ngliche Nachricht --------
Von: Riccardo Stronati <[email protected]>
Datum: 05.11.2016 18:12 (GMT+01:00)
An: Motion discussion list <[email protected]>
Betreff: Re: [Motion-user] Motion Version 4.01 process end
Hi this is the syslog output:
Nov? 5 17:51:22 raspberrypi systemd[1]: Starting Motion daemon...
Nov? 5 17:51:22 raspberrypi systemd[1]: Started Motion daemon.
Nov? 5 17:51:22 raspberrypi motion: [0:motion] [NTC] [ALL] conf_load:
Processing thread 0 - config file /etc/motion/motion.conf
Nov? 5 17:51:22 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
Motion 4.0.1 Started
Nov? 5 17:51:22 raspberrypi motion: [0:motion] [NTC] [ALL] motion_startup:
Logging to file (/tmp/motion.log)
Nov? 5 17:52:52 raspberrypi systemd[1]: motion.service stop-sigterm timed out.
Killing.
Nov? 5 17:52:52 raspberrypi rsyslogd-2007: action 'action 17' suspended, next
retry is Sat Nov? 5 17:54:22 2016 [try http://www.rsyslog.com/e/2007 ]
Nov? 5 17:52:52 raspberrypi systemd[1]: Unit motion.service entered failed
state.
and this is the motion.log
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] motion_startup: Using log type (ALL)
log level (NTC)
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] become_daemon: Motion going to daemon
mode
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] become_daemon: Created process id file
/var/run/motion/motion.pid. Process ID is 10088
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] motion_startup: Motion running as
daemon process
[0:motion] [NTC] [ENC] [Nov 05 17:51:22] ffmpeg_init: ffmpeg libavcodec version
56.1.0 libavformat version 56.1.0
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] main: Camera 0 is from
/etc/motion/motion.conf
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] main: Camera 0 is device: /dev/video0
input -1
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] main: Stream port 8081
[1:ml1] [NTC] [ALL] [Nov 05 17:51:22] motion_init: Camera 0 started: motion
detection Enabled
[0:motion] [NTC] [ALL] [Nov 05 17:51:22] main: Waiting for threads to finish,
pid: 10088
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] vid_v4lx_start: Using videodevice
/dev/video0 and input -1
[0:web_control] [NTC] [STR] [Nov 05 17:51:22] http_bindsock: listening on any
IPv4/IPv6 address port 8082
[0:web_control] [NTC] [STR] [Nov 05 17:51:22] httpd_run: Started motion-httpd
server on port 8082 (auth Disabled)
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "Trust Webcam"
cap.bus_info: "usb-3f980000.usb-1.3"
cap.capabilities=0x84200001
------------------------
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_get_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_get_capability: - STREAMING
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_select_input: name = "Camera 1",
type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_select_input: - CAMERA
[1:ml1] [WRN] [VID] [Nov 05 17:51:22] v4l2_select_input: Device doesn't support
VIDIOC_G_STD
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_set_pix_format: Config palette index
17 (YU12) doesn't work.
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_set_pix_format: Supported palettes:
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_set_pix_format: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_set_pix_format: 0 - YUYV 4:2:2
(compressed : 0) (0x56595559)
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_set_pix_format Selected palette YUYV
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_do_set_pix_format: Testing palette
YUYV (352x288)
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_do_set_pix_format: Using palette
YUYV (352x288) bytesperlines 704 sizeimage 202752 colorspace 00000008
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980900, "Brightness", range -64,64
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Brightness",
default -8193, current -5
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980901, "Contrast", range 0,64
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Contrast",
default 57343, current 36
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980902, "Saturation", range 1,128
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Saturation",
default 57343, current 72
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980903, "Hue", range -40,40
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Hue", default
-8193, current -5
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980918, "Power Line Frequency", range 0,2
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Power Line
Frequency", default 1, current 1
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980910, "Gamma", range 72,500
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Gamma", default
57343, current 85
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: found control
0x00980913, "Gain", range 0,100
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] v4l2_scan_controls: ??? "Gain", default
57343, current 0
[1:ml1] [NTC] [VID] [Nov 05 17:51:22] vid_v4lx_start: Using V4L2
[1:ml1] [NTC] [ALL] [Nov 05 17:51:22] image_ring_resize: Resizing pre_capture
buffer to 1 items
[0:web_control] [NTC] [STR] [Nov 05 17:51:23] httpd_run: motion-httpd -
Finishing
[0:web_control] [NTC] [STR] [Nov 05 17:51:23] httpd_run: motion-httpd Closing
[0:web_control] [NTC] [STR] [Nov 05 17:51:23] motion_web_control: motion-httpd
thread exit
[1:ml1] [NTC] [STR] [Nov 05 17:51:24] http_bindsock: listening on any IPv4/IPv6
address port 8081
[1:ml1] [NTC] [ALL] [Nov 05 17:51:24] motion_init: Started motion-stream server
on port 8081 (auth Enabled)
[1:ml1] [NTC] [ALL] [Nov 05 17:51:24] motion_loop: Thread exiting
[1:ml1] [NTC] [STR] [Nov 05 17:51:24] stream_stop: Closing motion-stream listen
socket & active motion-stream sockets
[1:ml1] [NTC] [STR] [Nov 05 17:51:24] stream_stop: Closed motion-stream listen
socket & active motion-stream sockets
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] vid_close: Closing video device
/dev/video0
[0:motion] [NTC] [ALL] [Nov 05 17:51:24] main: Motion thread 1 restart
[1:ml1] [NTC] [ALL] [Nov 05 17:51:24] motion_init: Camera 0 started: motion
detection Enabled
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] vid_v4lx_start: Using videodevice
/dev/video0 and input -1
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "Trust Webcam"
cap.bus_info: "usb-3f980000.usb-1.3"
cap.capabilities=0x84200001
------------------------
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_get_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_get_capability: - STREAMING
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_select_input: name = "Camera 1",
type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_select_input: - CAMERA
[1:ml1] [WRN] [VID] [Nov 05 17:51:24] v4l2_select_input: Device doesn't support
VIDIOC_G_STD
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_set_pix_format: Config palette index
17 (YU12) doesn't work.
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_set_pix_format: Supported palettes:
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_set_pix_format: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_set_pix_format: 0 - YUYV 4:2:2
(compressed : 0) (0x56595559)
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_set_pix_format Selected palette YUYV
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_do_set_pix_format: Testing palette
YUYV (352x288)
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_do_set_pix_format: Using palette
YUYV (352x288) bytesperlines 704 sizeimage 202752 colorspace 00000008
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980900, "Brightness", range -64,64
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Brightness",
default -8193, current -5
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980901, "Contrast", range 0,64
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Contrast",
default 57343, current 36
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980902, "Saturation", range 1,128
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Saturation",
default 57343, current 72
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980903, "Hue", range -40,40
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Hue", default
-8193, current -5
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980918, "Power Line Frequency", range 0,2
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Power Line
Frequency", default 1, current 1
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980910, "Gamma", range 72,500
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Gamma", default
57343, current 85
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: found control
0x00980913, "Gain", range 0,100
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] v4l2_scan_controls: ??? "Gain", default
57343, current 0
[1:ml1] [NTC] [VID] [Nov 05 17:51:24] vid_v4lx_start: Using V4L2
[1:ml1] [NTC] [ALL] [Nov 05 17:51:24] image_ring_resize: Resizing pre_capture
buffer to 1 items
[1:ml1] [NTC] [STR] [Nov 05 17:51:26] http_bindsock: listening on any IPv4/IPv6
address port 8081
[1:ml1] [NTC] [ALL] [Nov 05 17:51:26] motion_init: Started motion-stream server
on port 8081 (auth Enabled)
[1:ml1] [NTC] [ALL] [Nov 05 17:51:26] image_ring_resize: Resizing pre_capture
buffer to 7 items
[1:ml1] [NTC] [EVT] [Nov 05 17:51:27] event_ffmpeg_timelapse: Timelapse using
mpeg4 codec.
[1:ml1] [NTC] [EVT] [Nov 05 17:51:27] event_ffmpeg_timelapse: Events will be
trigger new files
[1:ml1] [NTC] [ENC] [Nov 05 17:51:27] ffmpeg_open Selected Output FPS 2
[1:ml1] [NTC] [EVT] [Nov 05 17:51:27] event_newfile: File of type 32 saved to:
/home/pi/motion/20161105-17-timelapse.avi
[1:ml1] [NTC] [EVT] [Nov 05 17:51:47] event_new_video Source FPS 2
[1:ml1] [NTC] [ALL] [Nov 05 17:51:47] motion_detected: Motion detected -
starting event 1
[1:ml1] [NTC] [EVT] [Nov 05 17:51:47] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175144-01-0-16-0-0-0-0-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:47] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175145-00-0-16-0-0-0-0-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:48] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175145-01-0-16-0-0-0-0-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:48] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175146-00-0-16-0-0-0-0-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:48] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175146-01-36-16-0-0-0-0-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:48] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175147-00-4285-16-224-110-36-220-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:49] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175147-01-50352-16-111-117-222-234-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:49] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175148-00-47623-16-116-114-224-228-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:49] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175148-01-30291-16-118-92-252-184-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:49] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175149-00-58741-16-138-122-278-244-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:50] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175149-01-63159-16-142-121-286-242-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:50] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175150-00-49012-16-114-111-228-222-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:51] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175150-01-42157-16-116-109-228-218-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:51] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175151-00-41401-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:52] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175151-01-41144-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:52] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175152-00-40929-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:53] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175152-01-40815-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:53] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175153-00-40582-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:54] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175153-01-40501-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:54] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175154-00-40444-16-116-108-228-216-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:55] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175154-01-40378-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:55] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175155-00-40324-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:56] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175155-01-40292-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:56] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175156-00-40230-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:57] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175156-01-40140-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:57] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175157-00-39990-16-116-107-228-214-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:58] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175157-01-35197-16-109-110-210-220-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:58] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175158-00-10424-16-129-136-202-272-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:59] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175158-01-9838-16-128-136-204-272-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:51:59] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175159-00-5036-16-143-178-162-64-01-rpi2-motionv4.jpg
[1:ml1] [NTC] [EVT] [Nov 05 17:52:00] event_newfile: File of type 1 saved to:
/home/pi/motion/20161105-175159-01-5031-16-143-178-162-64-01-rpi2-motionv4.jpg
2016-11-05 17:20 GMT+01:00 Colin Law <[email protected]>:
On 5 November 2016 at 15:58, Riccardo Stronati <[email protected]> wrote:
Thanks fo your replay.
the AC adapter can supplay 2,5A and should be enought.
I notice that the process dies only if lunch it as "/etc/init.d/motion start"
or by "systemctl motion start" while there are no problems if I lunch, as you
suggested, sudo motion.
What do you see in syslog and the motion log when it stops?
Colin
?
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 126, Issue 5
*******************************************