Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

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
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: stop motion detect on one camera (tosiara)
   2. RTSP stream works on Motion 4.0 but not on 4.2.2 (Matthew Jurgens)
   3. Re: RTSP stream works on Motion 4.0 but not on 4.2.2 (tosiara)
   4. Re: RTSP stream works on Motion 4.0 but not on 4.2.2
      (Matthew Jurgens)


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

Message: 1
Date: Tue, 25 Jun 2019 11:26:19 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] stop motion detect on one camera
Message-ID:
        <cachtdwrd1xlygvxscdov3j66decfa7o7vnxeidam3nyajep...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Its all here: 
https://motion-project.github.io/motion_config.html#OptDetail_Webcontrol

curl http://localhost:8080/0/detection/start

On Sun, Jun 23, 2019 at 10:26 PM Tony <ynots...@hotmail.com> wrote:
>
> Thank you, that works nicely for pausing motion detection on an outdoor
> ptz during high-wind events. Is a list of all such API commands
> available somewhere please? I'd like to know how to resume motion
> detection too.
>
> On 6/19/19 2:02 AM, tosiara wrote:
> > To pause motion detection:
> >
> > curl http://localhost:8080/0/detection/pause
> >
> > Url may change depending on your config
> >
> > On Wed, Jun 19, 2019 at 11:52 AM vector457 <vector...@gmail.com> wrote:
> >> Hi All,
> >>
> >> I must be blind I have looked thru the manual but cant see where to
> >> "turn off" motion detect on one of the cameras.
> >>
> >> Im happy with just a few triggering on motion and the others just
> >> viewable via the live feed
> >>
> >>
> >>
> >> _______________________________________________
> >> Motion-user mailing list
> >> Motion-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/motion-user
> >> https://motion-project.github.io/
> >>
> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> >
> > _______________________________________________
> > Motion-user mailing list
> > Motion-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > https://motion-project.github.io/
> >
> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



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

Message: 2
Date: Tue, 25 Jun 2019 20:17:02 +1000
From: Matthew Jurgens <mot...@edcint.co.nz>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] RTSP stream works on Motion 4.0 but not on
        4.2.2
Message-ID: <96a08860847bd19b2389df0393d40...@edcint.co.nz>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi

I have a camera connected to motion using RTSP. It works perfectly fine 
using motion 4.0 running on Ubuntu 18.04.
It also works when I access it using RTSP with VLC from a Windows 10 
machine.
However, when I use the same settings and try to connect to it from a 
machine running Fedora 28 and motion 4.2.2, it will not work.

The thread config for this camera (that works on 4.0, but not on 4.2.2) 
is:
netcam_url rtsp://user:password@host:port/onvif1
width 1920
height 1080
stream_port 8087
rtsp_uses_tcp off

A sample of the failing log output on v4.2.2 is:
[1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:07] netcam_rtsp_cleanup: Normal 
resolution: Shut down complete.
[1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:07] vid_start: Netcam RTSP failed 
to open
[1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Could not fetch 
initial image from camera
[1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Motion continues 
using width and height from config file(s)
[1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing 
pre_capture buffer to 1 items
[1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing 
pre_capture buffer to 5 items
[1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:10] mlp_retry: Retrying until 
successful connection with camera
[1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:10] vid_start: Opening Netcam 
RTSP
[1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:15] netcam_rtsp_cleanup: Normal 
resolution: Shut down complete.
[1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:15] vid_start: Netcam RTSP failed 
to open
[1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:15] motion_loop: Thread exiting
[0:motion] [NTC] [ALL] [Jun 25 19:49:16] main: Motion thread 1 restart
[0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID: 
106 is from /etc/motion/conf.d/yoosee1.conf
[0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID: 
106 Camera Name: cam1 Service: rtsp:
[1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:16] motion_init: Camera 106 
started: motion detection Enabled
[1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:16] vid_start: Opening Netcam 
RTSP
[1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:21] netcam_rtsp_cleanup: Normal 
resolution: Shut down complete.

and this just continues for a long time till I stop it.

This would seem to be a regression bug of some form.

Any ideas on how to make this work if it is not a bug?

Thanks



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

Message: 3
Date: Tue, 25 Jun 2019 13:49:54 +0300
From: tosiara <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] RTSP stream works on Motion 4.0 but not on
        4.2.2
Message-ID:
        <cachtdwrk1a3t445z+bpmvkjjxgui+lj0wdnhke_d_ku_y5c...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Can you try to change your config and test again:

netcam_url rtsp://host:port/onvif1
netcam_userpass user:password

If it still fails try starting motion with extra logging "-d 9"

On Tue, Jun 25, 2019 at 1:40 PM Matthew Jurgens <mot...@edcint.co.nz> wrote:
>
> Hi
>
> I have a camera connected to motion using RTSP. It works perfectly fine
> using motion 4.0 running on Ubuntu 18.04.
> It also works when I access it using RTSP with VLC from a Windows 10
> machine.
> However, when I use the same settings and try to connect to it from a
> machine running Fedora 28 and motion 4.2.2, it will not work.
>
> The thread config for this camera (that works on 4.0, but not on 4.2.2)
> is:
> netcam_url rtsp://user:password@host:port/onvif1
> width 1920
> height 1080
> stream_port 8087
> rtsp_uses_tcp off
>
> A sample of the failing log output on v4.2.2 is:
> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:07] netcam_rtsp_cleanup: Normal
> resolution: Shut down complete.
> [1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:07] vid_start: Netcam RTSP failed
> to open
> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Could not fetch
> initial image from camera
> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Motion continues
> using width and height from config file(s)
> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing
> pre_capture buffer to 1 items
> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing
> pre_capture buffer to 5 items
> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:10] mlp_retry: Retrying until
> successful connection with camera
> [1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:10] vid_start: Opening Netcam
> RTSP
> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:15] netcam_rtsp_cleanup: Normal
> resolution: Shut down complete.
> [1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:15] vid_start: Netcam RTSP failed
> to open
> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:15] motion_loop: Thread exiting
> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] main: Motion thread 1 restart
> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID:
> 106 is from /etc/motion/conf.d/yoosee1.conf
> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID:
> 106 Camera Name: cam1 Service: rtsp:
> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:16] motion_init: Camera 106
> started: motion detection Enabled
> [1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:16] vid_start: Opening Netcam
> RTSP
> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:21] netcam_rtsp_cleanup: Normal
> resolution: Shut down complete.
>
> and this just continues for a long time till I stop it.
>
> This would seem to be a regression bug of some form.
>
> Any ideas on how to make this work if it is not a bug?
>
> Thanks
>
>
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user



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

Message: 4
Date: Tue, 25 Jun 2019 21:34:55 +1000
From: Matthew Jurgens <mot...@edcint.co.nz>
To: Motion discussion list <motion-user@lists.sourceforge.net>,
        tosiara <tosi...@gmail.com>
Subject: Re: [Motion-user] RTSP stream works on Motion 4.0 but not on
        4.2.2
Message-ID: <ada4e44b-4fa1-cd48-a020-e7e617f38...@edcint.co.nz>
Content-Type: text/plain; charset="us-ascii"

Hi

Thanks for the suggestions.
I also took the opportunity to change 
rtsp_use_tcp off
to 
netcam_use_tcp off

Changing the parameters makes no difference.

So I ran it with debug 9. The output is rather large, so I have put it
here:
http://www.edcint.co.nz/tmp/rtsp01.txt
On 25/06/2019 8:49 pm, tosiara wrote: 

> Can you try to change your config and test again:
> 
> netcam_url rtsp://host:port/onvif1
> netcam_userpass user:password
> 
> If it still fails try starting motion with extra logging "-d 9"
> 
> On Tue, Jun 25, 2019 at 1:40 PM Matthew Jurgens <mot...@edcint.co.nz> wrote:
> 
>> Hi
>> 
>> I have a camera connected to motion using RTSP. It works perfectly fine
>> using motion 4.0 running on Ubuntu 18.04.
>> It also works when I access it using RTSP with VLC from a Windows 10
>> machine.
>> However, when I use the same settings and try to connect to it from a
>> machine running Fedora 28 and motion 4.2.2, it will not work.
>> 
>> The thread config for this camera (that works on 4.0, but not on 4.2.2)
>> is:
>> netcam_url rtsp://user:password@host:port/onvif1
>> width 1920
>> height 1080
>> stream_port 8087
>> rtsp_uses_tcp off
>> 
>> A sample of the failing log output on v4.2.2 is:
>> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:07] netcam_rtsp_cleanup: Normal
>> resolution: Shut down complete.
>> [1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:07] vid_start: Netcam RTSP failed
>> to open
>> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Could not fetch
>> initial image from camera
>> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:07] motion_init: Motion continues
>> using width and height from config file(s)
>> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing
>> pre_capture buffer to 1 items
>> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:07] image_ring_resize: Resizing
>> pre_capture buffer to 5 items
>> [1:ml1:cam1] [WRN] [ALL] [Jun 25 19:49:10] mlp_retry: Retrying until
>> successful connection with camera
>> [1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:10] vid_start: Opening Netcam
>> RTSP
>> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:15] netcam_rtsp_cleanup: Normal
>> resolution: Shut down complete.
>> [1:ml1:cam1] [ERR] [VID] [Jun 25 19:49:15] vid_start: Netcam RTSP failed
>> to open
>> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:15] motion_loop: Thread exiting
>> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] main: Motion thread 1 restart
>> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID:
>> 106 is from /etc/motion/conf.d/yoosee1.conf
>> [0:motion] [NTC] [ALL] [Jun 25 19:49:16] motion_start_thread: Camera ID:
>> 106 Camera Name: cam1 Service: rtsp:
>> [1:ml1:cam1] [NTC] [ALL] [Jun 25 19:49:16] motion_init: Camera 106
>> started: motion detection Enabled
>> [1:ml1:cam1] [NTC] [VID] [Jun 25 19:49:16] vid_start: Opening Netcam
>> RTSP
>> [1:ml1:cam1] [NTC] [NET] [Jun 25 19:49:21] netcam_rtsp_cleanup: Normal
>> resolution: Shut down complete.
>> 
>> and this just continues for a long time till I stop it.
>> 
>> This would seem to be a regression bug of some form.
>> 
>> Any ideas on how to make this work if it is not a bug?
>> 
>> Thanks
>> 
>> _______________________________________________
>> Motion-user mailing list
>> Motion-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>> 
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> 
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
> 
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...

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



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

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 156, Issue 37
********************************************

Reply via email to