40 Commits

Author SHA1 Message Date
MrDave
8bc22601e0 Add movie number specifier 2025-10-09 09:44:55 -07:00
MrDave
65d5c39879 Update documentation with new defaults 2025-09-26 15:48:30 -07:00
MrDave
38f9d446ae Align configuration defaults across files 2025-09-26 12:14:50 -07:00
Mr-Dave
a055ad340e Add functionality for movie_all_frames 2025-03-14 14:47:01 -06:00
Mr-Dave
cf4e903d95 Add functionality for additional webcontrol pages 2025-02-24 11:49:44 -07:00
Mr-Dave
72a1001931 Clean merge from 5.0 2025-02-04 19:06:18 -07:00
Mr-Dave
d488dc7221 Merge branch '5.0' 2025-02-04 16:32:33 -07:00
Mr-Dave
cfc9246e48 Revise naming from Motionplus back to Motion 2025-02-04 15:59:45 -07:00
Mr-Dave
11e5ca73df Revise specifier %fps to %{fps} 2024-03-21 18:52:30 -06:00
Mr-Dave
fe5cc9666f Remove dead link in documentation 2024-03-01 15:13:19 -07:00
Mr-Dave
61aa33ddad Update doc 2024-01-15 15:44:39 -07:00
Mr-Dave
e2472c7bfe Update Documentation 2023-11-11 18:27:56 -07:00
Peter Parkkali
c28d41b2f7 Update docs with details on using libcamerify and multiple cameras on Raspberry Pi 2023-04-16 08:06:45 -06:00
Mr-Dave
db94a8939e Update documentation 2022-10-24 19:56:44 -06:00
Mr-Dave
0eea79f8ac Replace dbeventid 2022-06-26 20:13:25 -06:00
Mr-Dave
ae63db8eb8 Update PI camera instructions 2022-06-12 16:42:26 -06:00
Mr-Dave
abe15aad60 Update message on concurrent connections 2022-06-12 14:07:35 -06:00
m2scared
2296b7df85 Add doc about number of simultaneous streams (#1466)
Browsers may limit the number of simultaneous streams. The value of
maximum persistent connections needs to be adjusted to be greater than
the number of camera streams.
2022-04-27 20:53:50 -06:00
MrDave
5c5293691f Version 4.4.0 2021-10-23 19:55:10 -06:00
Mr-DaveDev
d670829161 Add lock out for failed authentications
Add Failed Authentication Lockout
2021-08-18 20:23:04 -06:00
Mr-DaveDev
615a3b690b Additional Parameters
* Add timeout parameters
* Revise to use noise_level as tune parameter
* Update documents

Co-authored-by: flya320 <flya320@users.noreply.github.com>
2021-08-05 20:46:26 -06:00
Mr-DaveDev
38e48e363c Update documentation 2021-08-02 19:15:24 -06:00
Mr-DaveDev
da22cb48ed User Specified Webcontrol and Stream Headers
Adjust the parse routines to allow for both quoted names and quoted values.

Transition webcontrol_cors_header to webcontrol_header_params

Transition stream_cors_header to stream_header_parms

Closes #1330
2021-08-01 20:16:24 -06:00
Mr-DaveDev
42c0c1e0a5 Update docs 2021-07-31 11:46:10 -06:00
Mr-DaveDev
1c1d88a03a Remove restrictions on network camera protocols (#1368)
* Revision to allow different camera protocols

* Update documentation
2021-07-28 20:22:30 -06:00
Mr-DaveDev
876c043be5 Revise default for processing http cameras 2021-07-26 19:21:42 -06:00
tosiara
586e60eac0 Added a note that mask_file PGM must be 8-bit (#1361) 2021-07-25 15:31:08 -06:00
Bill Clay
116c333983 Dbeventid (#1310)
* Implement %{dbeventid} for PostgreSQL and SQLite3.

dbse.c: Add %{dbeventid} support for PostgreSQL and SQLite3.
Make PostgreSQL session recovery asynchronous to avoid blocking
image capture during DBMS session reestablishment. Includes
minor mods to dbse.h, motion.c, motion.h, util.c and util.h.

doc/motion_config.html: Edit sections OptDetail_Database,
database_*, and sql_query* for clarity, consistency, and
coverage of new database support.

man/motion.1: Update descriptions of configuration options
database_* and sql_query*, including Postgresql and SQLite3
%{dbeventid} support.

* issue 1284, dbse.c: clarify confusing DB close message

1. clarify closure message wording: MySQL and/or MariaDB library closure
2. issue closure messages only for DBMSs in use (not simply compiled-in)
3. standardize spelling and case of DBMS names in all messages issued by dbse.c

Includes minor supporting changes in dbse.h and motion.c.

* po/dbeventid.pot furnished for merge into po/motion.pot when opportune

Includes all end-user messages (i.e., no debug messages) from modules
modfied for issues 1306, 1307, and 1284: dbse.c and util.c.

(These modules are not yet covered by po/POTFILES.in or po/motion.pot.)
2021-06-13 20:28:03 -06:00
MrDave
dd24b56922 Change to be MotionPlus 2021-03-21 16:23:51 -06:00
Mr-DaveDev
43bb7787b2 Autotools (#1011)
* Revise directory structure

* Update translation files and mmal

* Test for sys/videoio.h

* Revise sysconfdir specification

* Update defines to match configure

* v4l2 configure, translations

* Update travis

* Updated tests for travis

* Updated 16.04 and fewer checks

* Update travis for Mac

* Move CODE_STANDARD and delete test_builds.sh

* Update documentation
2021-03-13 13:01:20 -07:00
hansmi
c568a40666 Add HTTP endpoints with camera status information (#1058)
This change introduces new HTTP endpoints in the stream web server returning
status information regarding a particular or all cameras as a JSON object.
These are useful in implementing system monitoring, e.g. via Nagios or Icinga.

"{IP}:{port0}/cameras.json": JSON object with IDs and names of all cameras,
e.g.:

  $ curl -s http://127.0.0.1:8081/cameras.json | jq -rMC .
  {
    "cameras": [
      {
        "id": 1,
        "name": "Lobby"
      },
      {
        "id": 3,
        "name": "Lobby"
      }
    ]
  }

"{IP}:{port0}/{camid}/status.json": JSON object with information about a single
camera, e.g.:

  $ curl -s http://127.0.0.1:8081/3/status.json | jq -rMC .
  {
    "id": 3,
    "name": "Lobby",
    "image_width": 640,
    "image_height": 480,
    "fps": 15,
    "missing_frame_counter": 1561,
    "running": 1,
    "lost_connection": 1,
    "currenttime": 1573400729,
    "currenttime_iso8601": "2019-11-10T15:45:29+0000",
    "lasttime": 0,
    "lasttime_iso8601": null,
    "lasttime_elapsed": null,
    "eventtime": 0,
    "eventtime_iso8601": null,
    "eventtime_elapsed": null,
    "connectionlosttime": 1573400614,
    "connectionlosttime_iso8601": "2019-11-10T15:43:34+0000",
    "connectionlosttime_elapsed": 115
  }

Additional endpoints:

- "{IP}:{port0}/status.json": JSON object with information about all cameras
- "{IP}:{portX}/status.json": JSON object with information about the camera
  running on port {portX}

Signed-off-by: Michael Hanselmann <public@hansmi.ch>

Co-authored-by: Mr-Dave <motionmrdave@gmail.com>
2020-12-24 22:20:17 -07:00
Mr-DaveDev
82b3a9f741 Add picture type grey option (#1281)
* Add picture type grey option
2020-12-12 11:03:22 -07:00
Mr-DaveDev
a2e7f0dae6 Update documentation (#1275) 2020-12-06 22:48:51 -07:00
Mr-DaveDev
0faf44fefb Parameters Update
Add netcam_params and netcam_high_params options.
        Allow user specification of any additional options to netcams.
    Implement a standard set of routines for parsing parameters provided for both video devices and netcams.
    Revise option names for consistency
        vid_control_params => video_params
        mmalcam_control_params => mmalcam_params
        videodevice => video_device
        tunerdevice => tuner_device
        netcam_highres => netcam_high_url
    Conversion to use video_params for the following:
        v4l2_palette => video_params option of palette
        input => video_params option of input
        frequency => video_params option of frequency
        norm => video_params option of norm
    Conversion to use netcam_params for the following:
        netcam_rate => netcam_params option of capture_rate
        netcam_decoder => netcam_params option of decoder
        netcam_use_tcp => netcam_params option of rtsp_transport
        netcam_proxy => netcam_params option of proxy
        netcam_keepalive => netcam_params option of keepalive
        netcam_tolerant_check => netcam_params option of tolerant_check

Closes #927
2020-10-25 10:35:16 -06:00
Mr-DaveDev
5b937a78d5 Enhance netcam_decoder 2020-09-19 17:56:55 -06:00
Mr-DaveDev
d9e6ad197b Add netcam_ratehigh parameter 2020-09-19 12:54:53 -06:00
Mr-DaveDev
55a0869e4c Add parameter for user specified netcam capture rate
* Add configuration option netcam_rate to control capture FPS for netcams
2020-08-30 19:05:14 -06:00
Mr-DaveDev
d4b9c01e32 Guide update for version 4.3
Revision for 4.3 and also closes #1138
2020-04-12 18:35:59 -06:00
Mr-DaveDev
5d88fe68bb Add User Requested Decoder
Add user option for decoder
2019-10-28 22:30:30 -06:00
Mr-DaveDev
0dc2ae9372 Autotools (#1011)
* Revise directory structure

* Update translation files and mmal

* Test for sys/videoio.h

* Revise sysconfdir specification

* Update defines to match configure

* v4l2 configure, translations

* Update travis

* Updated tests for travis

* Updated 16.04 and fewer checks

* Update travis for Mac

* Move CODE_STANDARD and delete test_builds.sh

* Update documentation
2019-09-21 21:15:08 -06:00