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. Configuration help (Steven Haigh)


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

Message: 1
Date: Tue, 05 Apr 2022 14:34:40 +1000
From: Steven Haigh <net...@crc.id.au>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Configuration help
Message-ID: <sdnu9r.wkrh0t5t...@crc.id.au>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi all,

I'm having a hell of a time trying to do some image processing with 
motion + nodered + home assistant + deepstack.

I have motion configured as follows:
netcam_url              
rtmp://172.31.1.245/bcs/channel0_ext.bcs?channel=0&stream=2&user=x&password=x
netcam_params           framerate=30,capture_rate=30
width=896
height=672

netcam_high_url         
rtmp://172.31.1.245/bcs/channel0_main.bcs?channel=0&stream=0&user=x&password=x
netcam_high_params      framerate=15,capture_rate=15

The camera outputs match the settings above - but the resolution on 
netcam_high_url is 2560x1920.

I'm trying to output the netcam_url via the motion API url /1/stream 
and /1/current to show in the Home Assistant dashboard and feed as a 
MJPEG camera.

I'm also trying to output 1fps as a JPG to a file as /tmp/snapshot.jpg 
so that I can ingest that into deepstack via nodered and do object 
recognition.

It seems that no matter what I do, I either destroy motion by setting 
minimum_frame_time to 1, or get the 1fps output with that option - but 
destroy the stream output.

Is there a way I can ratelimit just the saving of pictures to 1 per 
second from the netcam_high_url input?

I've done every possible combination of configuration options, but just 
can't seem to get this happening.
--
Steven Haigh

? net...@crc.id.au <mailto:net...@crc.id.au>
? https://www.crc.id.au <https://www.crc.id.au/>

-------------- 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 190, Issue 2
*******************************************

Reply via email to