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: Replay scenes -- network_url file://
      (manu.kemppai...@yahoo.com)
   2. Re: Replay scenes -- network_url file:// (ptm5...@blackfoot.net)
   3. Re: Replay scenes -- network_url file:// (Rainer Dorsch)
   4. Re: Replay scenes -- network_url file://
      (manu.kemppai...@yahoo.com)


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

Message: 1
Date: Wed, 26 Feb 2020 19:27:32 +0200
From: "manu.kemppai...@yahoo.com" <manu.kemppai...@yahoo.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Replay scenes -- network_url file://
Message-ID:
        
<-60ocfmwixcih1jefm0-eiesvnjfmkab-6g8bto-d2rj1koadsa2-u2yl5e-ne6nlz-8mmuy2-tb1bgg-3wzc96i463jx-o1p2n6a1ijzw-za98ow1x4u96plnxgp-27n08ygrnycjnm5g0grcxyh4-k0gcjk.1582738052...@email.android.com>
        
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...

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

Message: 2
Date: Wed, 26 Feb 2020 10:26:25 -0700
From: ptm5...@blackfoot.net
To: Rainer Dorsch via Motion-user <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Replay scenes -- network_url file://
Message-ID: <d71acabc-cc28-721e-3759-2fda4fa00...@blackfoot.net>
Content-Type: text/plain; charset=utf-8; format=flowed

Motion detected: I use one of the script options (on_motion_detected, 
on_picture_save, etc.) to good effect. In my case, a free account with 
"pushbullet" works well for notifications over my cell phone. You can 
also set up a script to send an email, etc. HTH

On 2/26/20 2:57 AM, Rainer Dorsch via Motion-user wrote:
> Hi,
>
> a quick question for network_url file:///
>
> is there a way to make motion exiting if the file ends?
>
> rd@master:~/Motion$ motion -c /home/rd/Motion/motion/motion.conf -d 9 -n
>
> does not return unfortunately :-/
>
> Also is there a better way to find out if there was an event detected than to
> grep the log file for motion_detected?
>
> Thanks
> Rainer
>
> On Dienstag, 25. Februar 2020 20:32:56 CET Rainer Dorsch via Motion-user
> wrote:
>> Hi,
>>
>> in order to optimize parameters, I would be quite beneficial to be able to
>> replay some scenes or even just a few days of video material. I found the
>> file:// input of netcam_url, which looks very promising.
>>
>> I thought that capturing the camera stream with ffmpeg is best to get a good
>> one-to-one correspondence of running on the file:// replay and running on
>> the camera stream rtsp:// itself.
>>
>> I am struggling somewhat with the sentence
>>
>> "Note that since the file may have been created using a different framerate
>> than specified in the Motion config file, the file may be processed at
>> either a faster or slower rate than real time."
>>
>> Does "processed" mean just CPU utilization or does it mean that the replay
>> will not work properly on time based options (e.g. event_gap) or even worse
>> on frame based options?
>>
>> Thanks
>> Rainer
>>
>>
>>
>>
>> _______________________________________________
>> 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: 3
Date: Wed, 26 Feb 2020 19:41:13 +0100
From: Rainer Dorsch <m...@bokomoko.de>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Replay scenes -- network_url file://
Message-ID: <1860009.xQnzySdmQP@nanette>
Content-Type: text/plain; charset="iso-8859-1"

No, I do not see that, but I see "Reconnecting with camera". Can I abort 
instead of reconnecting with camera?

I think it replays the file forever, I see entries like this one in the log

[2:nc2:Cam0-replay] [INF] [NET] [Feb 26 19:35:30] netcam_rtsp_read_image: 
Normal resolution: av_read_frame: End of file ,Interrupt: False
[2:nc2:Cam0-replay] [ERR] [NET] [Feb 26 19:35:30] 
netcam_rtsp_handler_reconnect: Normal resolution: Reconnecting with camera....
[2:nc2:Cam0-replay] [INF] [NET] [Feb 26 19:35:30] netcam_rtsp_set_file: Normal 
resolution: Setting attributes to read file
[2:nc2:Cam0-replay] [INF] [NET] [Feb 26 19:35:30] netcam_rtsp_open_context: 
Normal resolution: Opened camera(Cam0-replay)
[2:nc2:Cam0-replay] [NTC] [NET] [Feb 26 19:35:30] netcam_rtsp_connect: Normal 
resolution: Camera (Cam0-replay) connected
[1:ml1:Cam0-replay] [INF] [ALL] [Feb 26 19:35:31] mlp_setupmode: Raw changes:   
210 - changes after 'EedDl':   128 - labels:   1 - noise level: 21


I put a logfile here:

http://scw.bokomoko.de/~rd/motion/manual-replay.log

Thanks
Rainer


On Mittwoch, 26. Februar 2020 18:27:32 CET manu.kemppainen--- via Motion-user 
wrote:
> For stopping motion in the end of file check if motion calls trigger
> on_camera_lost. I haven't used the file: input for motion so I don't know
> if on_camera_lost is called but since there are no frames coming I would
> assume so.
> 
> 
> --
> Manu
> 
> 
> -------- Alkuper?inen viesti --------
> L?hett?j?: tosiara <tosi...@gmail.com>
> P?iv?m??r?: ke 26. helmik. 2020 klo 12.12
> Vastaanottaja: Motion discussion list <motion-user@lists.sourceforge.net>
> Aihe: Re: [Motion-user] Replay scenes -- network_url file://
> 
> For motion detection you can use scripts:
> https://motion-project.github.io/motion_config.html#on_motion_detected
> 
> 
> On Wed, Feb 26, 2020 at 11:55 AM Rainer Dorsch via Motion-user
> <motion-user@lists.sourceforge.net> wrote:
> 
> Hi,
> 
> a quick question for network_url file:///
> 
> is there a way to make motion exiting if the file ends?
> 
> rd@master:~/Motion$ motion -c /home/rd/Motion/motion/motion.conf -d 9 -n
> 
> does not return unfortunately :-/
> 
> Also is there a better way to find out if there was an event detected than
> to grep the log file for motion_detected?
> 
> Thanks
> Rainer
> 
> On Dienstag, 25. Februar 2020 20:32:56 CET Rainer Dorsch via Motion-user
> 
> wrote:
> > Hi,
> > 
> > in order to optimize parameters, I would be quite beneficial to be able to
> > replay some scenes or even just a few days of video material. I found the
> > file:// input of netcam_url, which looks very promising.
> > 
> > I thought that capturing the camera stream with ffmpeg is best to get a
> > good one-to-one correspondence of running on the file:// replay and
> > running on the camera stream rtsp:// itself.
> > 
> > I am struggling somewhat with the sentence
> > 
> > "Note that since the file may have been created using a different
> > framerate
> > than specified in the Motion config file, the file may be processed at
> > either a faster or slower rate than real time."
> > 
> > Does "processed" mean just CPU utilization or does it mean that the replay
> > will not work properly on time based options (e.g. event_gap) or even
> > worse
> > on frame based options?
> > 
> > Thanks
> > Rainer
> > 
> > 
> > 
> > 
> > _______________________________________________
> > 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: 4
Date: Wed, 26 Feb 2020 22:19:53 +0200
From: "manu.kemppai...@yahoo.com" <manu.kemppai...@yahoo.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Replay scenes -- network_url file://
Message-ID:
        
<-sp1c0y-ajup4vwlej091u8w1req7rhv-cnscfe6j3qy48gouzo-319p2ax7px9uq805y0y8u67d-mb4t10an0leb-82qz3h-9ausu-t14pkk-ris17nv8o2z2tolfewq2wyvk-5zpbxg-lhe8uq-o33i9f.1582748393...@email.android.com>
        
Content-Type: text/plain; charset="us-ascii"

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 164, Issue 40
********************************************

Reply via email to