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 rtsp enabled (Mr-Dave) (Stefano Vigliotti)
2. Send just one file at the start of motion (alex dantart)
3. Re: Send just one file at the start of motion (?ydr?nas Urbonas)
----------------------------------------------------------------------
Message: 1
Date: Fri, 7 Aug 2015 10:11:46 +1000
From: Stefano Vigliotti <[email protected]>
Subject: Re: [Motion-user] Motion rtsp enabled (Mr-Dave)
To: Motion discussion list <[email protected]>
Message-ID:
<CAExwk3q+5Oe=i5jgzfxabdccjw9s0fvj3vq5bcgbfzr0_ja...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
thanks, ?ydr?nas. You were absolutely correct. I've made the changes to use
the 'Unofficial-Git-a5b5f13' one and all's now working very well. Thanks!
On 7 August 2015 at 06:02, ?ydr?nas Urbonas <[email protected]> wrote:
> Check your config file. You seem to use an older one.
> Just use default for testing to see if that works
> On Aug 6, 2015 6:11 AM, "Stefano Vigliotti" <[email protected]>
> wrote:
>
>> Hi all,
>> might anyone know why when i execute Motion in setup mode (motion
>> -s) I get detects and recordings, however when running in standard mode
>> nothing appears to happen? Also the CPU usage hovers at around 2-5% only (I
>> have Motion running on another raspi with 2 connected USB camera's and the
>> cpu sits at around 10% at least)
>>
>> Details of the setup mode are below:
>> pi@raspberrypi ~ $ motion -s
>> [0] [NTC] [ALL] conf_load: Processing thread 0 - config file
>> /usr/local/etc/motion/motion.conf
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "netcam_http"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "despeckle"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "gap"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "max_mpeg_time"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_all"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_normal"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "output_motion"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ppm"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_cap_new"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_cap_motion"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "locate"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "jpeg_filename"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_quality"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_motion"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_maxrate"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_localhost"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "webcam_limit"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_port"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_localhost"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "control_html_output"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_image"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_snapshot"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_mpeg"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_log_timelapse"
>> [0] [ALR] [ALL] conf_cmdparse: Unknown config option "sql_query"
>> [0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
>> [0] [NTC] [ALL] motion_startup: Motion Unofficial-Git-a5b5f13 Started
>> [0] [NTC] [ALL] motion_startup: Logging to syslog
>> [0] [NTC] [ALL] motion_startup: Using default log type (ALL)
>> [0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
>> [0] [NTC] [ENC] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3681637
>> LIBAVFORMAT_BUILD 3680356
>> [0] [NTC] [ALL] main: Motion running in setup mode.
>> [0] [NTC] [ALL] main: Thread 1 is from /usr/local/etc/motion/motion.conf
>> [0] [NTC] [ALL] main: Thread 1 is device: rtsp://
>> 172.16.0.18/user=admin_password=admin_channel=1_stream0.sdp input -1
>> [0] [NTC] [ALL] main: Stream port 0
>> [0] [NTC] [ALL] main: Waiting for threads to finish, pid: 2333
>> [1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
>> [1] [ALR] [NET] netcam_start: Network Camera thread starting... for url
>> (rtsp://172.16.0.18/user=admin_password=admin_channel=1_stream0.sdp)
>> [1] [NTC] [NET] netcam_rtsp_open_context: Using tcp transport
>> [1] [NTC] [NET] netcam_connect_rtsp: Camera connected
>> [1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
>> [1] [ALR] [NET] netcam_handler_loop: Camera handler thread [2] started
>> [1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 2 items
>> [1] [NTC] [EVT] event_new_video FPS 5
>> [1] [NTC] [ALL] motion_detected: Motion detected - starting event 1
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135616-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135616-01.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135627-04.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135628-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135632-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135632-01.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135635-04.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135636-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135639-04.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135640-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135649-04.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135650-00.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135651-03.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/01-20150806135651-04.jpg
>> [1] [NTC] [ALL] motion_loop: End of event 1
>> [1] [WRN] [NET] netcam_interrupt_rtsp: Reading picture timed out for
>> rtsp://
>> admin:[email protected]:554/user=admin_password=admin_channel=1_stream0.sdp
>> [1] [NTC] [EVT] event_new_video FPS 5
>> [1] [NTC] [ALL] motion_detected: Motion detected - starting event 2
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/02-20150806140023-02.jpg
>> [1] [NTC] [EVT] event_newfile: File of type 1 saved to:
>> /home/motion/cam1/02-20150806140023-03.jpg
>>
>> Thanks!
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
--
Stefano Vigliotti
0431 691 704
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Mon, 10 Aug 2015 19:02:09 +0200
From: alex dantart <[email protected]>
Subject: [Motion-user] Send just one file at the start of motion
To: [email protected]
Message-ID:
<CAFy3swmHMG=op13usa1rpwjqb+a3_zzulu7u41mmqzdnb-q...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi:
I've played with events on start, on end, and event_gap, but I can't do
what I need.
I'd like to trigger a perl script I have that sends the first image of a
motion to my email.
I have:
event_gap 180
output_pictures first
target_dir /home/motion/
picture_filename last
on_event_start /home/me/send_picture /home/motion/last
What I receive now is very weird:
1) Scene is still
2) There's movement in the scene
3) The movement ends in the scene
4) Scene is still again
5) There's again movement in the scene
and I receive the image from the moment of point 2)
What I suppose to receive (what I'd like) is to receive the first image
when there's motion in the scene, and then not receiving nothing at least
during 180 seconds.
Thank you !
--
Alex Dantart
http://dantart.es
http://uptimiza.com
If you want to print this email, please, click here before
<http://t.sidekickopen16.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5vfRYYVQBvXW3LyyX-Vd_V9H56dJ9Pf5-JP-802?t=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Ddeforestation%26hl%3Den%26prmd%3Dimvnsb%26source%3Dlnms%26tbm%3Disch%26ei%3DkkDvTpCnJIjm-ga50NiJAg%26sa%3DX%26oi%3Dmode_link%26ct%3Dmode%26cd%3D2%26ved%3D0CBUQ_AUoAQ%26biw%3D1280%26bih%3D952%23hl%3Den%26tbm%3Disch%26sa%3D1%26q%3Ddeforestation%26pbx%3D1%26oq%3Ddeforestation%26aq%3Df%26aqi%3Dg10%26aql%3D%26gs_sm%3De%26gs_upl%3D74829l75066l0l75130l4l3l0l1l1l0l196l196l0.1l1l0%26bav%3Don.2%2Cor.r_gc.r_pw.r_cp.%2Ccf.osb%26fp%3D531ea00e3ebe35f9%26biw%3D1280%26bih%3D952&si=5944588326404096&pi=7ada9134-22ed-44e3-feaa-5ef1103b61d8>
do it
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Mon, 10 Aug 2015 20:21:53 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] Send just one file at the start of motion
To: Motion discussion list <[email protected]>
Message-ID:
<CACHTdwRM4nAUZ8X-w=wwh+-irthl0jzo58a7hr+pfjzvkqq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
If time gap between 4) and 5) was less than "180" - then it works as
expected: the event has been triggered at 2) and has not finished yet, so
you received only first snapshot. And this is exactly what you want. Unless
I misunderstood you
On Mon, Aug 10, 2015 at 8:02 PM, alex dantart <[email protected]> wrote:
> Hi:
>
> I've played with events on start, on end, and event_gap, but I can't do
> what I need.
>
> I'd like to trigger a perl script I have that sends the first image of a
> motion to my email.
>
> I have:
>
> event_gap 180
> output_pictures first
> target_dir /home/motion/
> picture_filename last
> on_event_start /home/me/send_picture /home/motion/last
>
> What I receive now is very weird:
>
> 1) Scene is still
> 2) There's movement in the scene
> 3) The movement ends in the scene
> 4) Scene is still again
> 5) There's again movement in the scene
>
> and I receive the image from the moment of point 2)
> What I suppose to receive (what I'd like) is to receive the first image
> when there's motion in the scene, and then not receiving nothing at least
> during 180 seconds.
>
> Thank you !
>
> --
>
> Alex Dantart
> http://dantart.es
> http://uptimiza.com
>
> If you want to print this email, please, click here before
> <http://t.sidekickopen16.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs5vfRYYVQBvXW3LyyX-Vd_V9H56dJ9Pf5-JP-802?t=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Ddeforestation%26hl%3Den%26prmd%3Dimvnsb%26source%3Dlnms%26tbm%3Disch%26ei%3DkkDvTpCnJIjm-ga50NiJAg%26sa%3DX%26oi%3Dmode_link%26ct%3Dmode%26cd%3D2%26ved%3D0CBUQ_AUoAQ%26biw%3D1280%26bih%3D952%23hl%3Den%26tbm%3Disch%26sa%3D1%26q%3Ddeforestation%26pbx%3D1%26oq%3Ddeforestation%26aq%3Df%26aqi%3Dg10%26aql%3D%26gs_sm%3De%26gs_upl%3D74829l75066l0l75130l4l3l0l1l1l0l196l196l0.1l1l0%26bav%3Don.2%2Cor.r_gc.r_pw.r_cp.%2Ccf.osb%26fp%3D531ea00e3ebe35f9%26biw%3D1280%26bih%3D952&si=5944588326404096&pi=7ada9134-22ed-44e3-feaa-5ef1103b61d8>
> do it
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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...
------------------------------
------------------------------------------------------------------------------
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 111, Issue 5
*******************************************