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. movie passthrough FPS (csspcmotion)
   2. Cannot use TLS Key (Neorealist)
   3. Re: Cannot use TLS Key (Joris)
   4.  stream all camera in one port (Deivid Nastri)


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

Message: 1
Date: Wed, 1 Apr 2020 11:09:59 -0400
From: csspcmotion <[email protected]>
To: [email protected]
Subject: [Motion-user] movie passthrough FPS
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

I am using the netcam_highres option with movie_passthrough on.

My cameras are set to 10 FPS and during some weathers conditions would 
like to slow the collection to much slower collection perhaps 4 FPS ... 
although attempting this with a lower framerate does not reflect this 
new framerate on the movie_passthrough created movies and motion ends up 
syncing to match the higher fps (10) which is not what I want during 
such weather or related (crazy motion) which can change in a matter of 
minutes.

Is there a way to change that collection rate without restarting the 
given motion's affected camera(s) which has situation of lost frames and 
other related context data during a restart, while at the same time not 
requiring to change the FPS within the camera itself?

I have looked at the code but don?t yet recognize a good spot to make 
such needed movie_passthrough/ffmpeg alterations. It may also be 
acceptable to just toss any frames beyond the lower framerate ? at least 
disk space can be minimized.





-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Thu, 02 Apr 2020 03:00:53 +0000
From: Neorealist <[email protected]>
To: "[email protected]"
        <[email protected]>
Subject: [Motion-user] Cannot use TLS Key
Message-ID:
        
<RIlLkcL3ptVUFxgx9qryjAw99ikc5eG5sbqqi9Izyomf4Mq-HusimbwCRm2NEu8KrD_eLGjS9K4gS4lsO6WDbbn1W0fDDfq00Lmxn4mbN5Q=@protonmail.com>
        
Content-Type: text/plain; charset="utf-8"

Specs
Raspberry pi 0
pi_buster_motion_4.2.2-1_armhf.deb

motion.conf
# This parameter establishes the username and password to use for the stream
webcontrol_authentication XXXX:XXXX

# This option specifies whether to enable SSL/TLS for the webcontrol port.
# a webcontrol_cert and webcontrol_key file must also be specified.
webcontrol_tls on

# Full path to the key file for SSL/TLS support
webcontrol_key /etc/motion/motion.key

# Full path to the certification file for SSL/TLS support
webcontrol_cert /etc/motion/motion.pem

############################################################
# Live stream configuration parameters
############################################################

# The port number for the live stream.
stream_port 8081

# Restrict stream connections to the localhost.
stream_localhost off

stream_auth_method 2

stream_authentication XXXX:XXXX
stream_tls on

stream_quality 100

stream_maxrate 20

# Limit the framerate to 1 frame per second when there is no motion
# increase it to the stream_maxrate when there is motion.
stream_motion on

Confusion
The logs look clear, except:

[0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
[0:motion] [NTC] [STR] webu_mhd_checktls: SSL/TLS requested but no key file 
provided.  SSL/TLS disabled

Ive created a self signed key and cert, as another user on 
[github](https://github.com/Motion-Project/motion/issues/971#issuecomment-506977302)
 recommended. What's confusing me is if I move my key and cert into a folder on 
my home directory the error message will also include: "SSL/TLS requested but 
no certificate"

Can anyone tell me if there is a deeper log I can look into to see whats 
happening? Running [-d 9 -k STR ] options just isn't enough to help solve this 
problem

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 3
Date: Thu, 2 Apr 2020 05:27:19 +0200
From: Joris <[email protected]>
To: Neorealist <[email protected]>,  Motion discussion list
        <[email protected]>
Subject: Re: [Motion-user] Cannot use TLS Key
Message-ID:
        <cal_dzsmjcyxlx8neyfsdwrfduhhjtw6ymek6v34frhzabt0...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Neo,

The first idea is to check file permissions of the keyfile.

Since you asked, the thermonuclear option to get more output is strace.
strace -f -e trace=file -o /tmp/motionstrace.log [command you use to launch
motion]
This will show you (in painfully great detail) where the cert is searched
for and where it is eventually read from.

Kind regards, J

Op do 2 apr. 2020 om 05:03 schreef Neorealist via Motion-user <
[email protected]>:

> *Specs*
> Raspberry pi 0
> pi_buster_motion_4.2.2-1_armhf.deb
>
> *motion.conf*
> # This parameter establishes the username and password to use for the
> stream
> webcontrol_authentication XXXX:XXXX
>
> # This option specifies whether to enable SSL/TLS for the webcontrol port.
> # a webcontrol_cert and webcontrol_key file must also be specified.
> webcontrol_tls on
>
> # Full path to the key file for SSL/TLS support
> webcontrol_key /etc/motion/motion.key
>
> # Full path to the certification file for SSL/TLS support
> webcontrol_cert /etc/motion/motion.pem
>
> ############################################################
> # Live stream configuration parameters
> ############################################################
>
> # The port number for the live stream.
> stream_port 8081
>
> # Restrict stream connections to the localhost.
> stream_localhost off
>
> stream_auth_method 2
>
> stream_authentication XXXX:XXXX
> stream_tls on
>
> stream_quality 100
>
> stream_maxrate 20
>
> # Limit the framerate to 1 frame per second when there is no motion
> # increase it to the stream_maxrate when there is motion.
> stream_motion on
>
> *Confusion*
> The logs look clear, except:
>
> [0:motion] [DBG] [STR] webu_mhd_features_tls: SSL/TLS: available
> [0:motion] [NTC] [STR] webu_mhd_checktls: SSL/TLS requested but no key
> file provided.  SSL/TLS disabled
>
> Ive created a self signed key and cert, as another user on github
> <https://github.com/Motion-Project/motion/issues/971#issuecomment-506977302>
> recommended. What's confusing me is if I move my key and cert into a folder
> on my home directory the error message will also include: "SSL/TLS
> requested but no certificate"
>
> Can anyone tell me if there is a deeper log I can look into to see whats
> happening? Running [-d 9 -k STR ] options just isn't enough to help solve
> this problem
>
> Thanks.
>
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> 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...

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

Message: 4
Date: Thu, 2 Apr 2020 01:17:21 -0300
From: "Deivid Nastri" <[email protected]>
To: "'Motion discussion list'" <[email protected]>
Subject: [Motion-user]  stream all camera in one port
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hi, i'm new to Motion.

 

I managed to get images from my cameras using the rtsp protocol, and stream 
each camera on a port successfully.

I would like to use the same port for the stream as stated in 
https://motion-project.github.io/motion_config.html#OptDetail_Stream could you 
help me?

I put the stream_port parameter only in the motion.conf file and it didn't 
work, I also tried to set the files in the cameras * .conf with the same port 
and it didn't work.

In all cases it shows the same image when I access:

 

http: // xxxxxxxxxxxxxx: 8788/1 / stream

http: // xxxxxxxxxxxxxx: 8788/2 / stream

 

Best regards.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...

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



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

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 166, Issue 1
*******************************************

Reply via email to