Commit Graph

94 Commits

Author SHA1 Message Date
Mr-DaveDev
cf1582967c Webcontrol Actions (#900)
* Update Webcontrol Actions and Resolve Compiler Warnings
2019-02-03 10:16:59 -07:00
Mr-DaveDev
dddfe9c9c1 Guide Update 2018-10-20 12:36:46 -06:00
Mr-DaveDev
0353dca523 Add threshold_maximum 2018-10-11 18:15:55 -06:00
Mr-DaveDev
0c806fec2e Add legacy webcontrol
* Add legacy webcontrol
2018-10-11 18:14:37 -06:00
Mr-DaveDev
5d863a19dc Revisions to configuration options
Revisions to configuration options.

1.  Revise config options to be `movie_` and `picture_`
2.  Revise config options to align with topic and code.
    *  motion_video_pipe, ipv6_enabled, rtsp_uses_tcp
    *  switchfilter, logfile, process_id_file
3.  Revise depreciated options to still be valid for webcontrol and config files.
4.  Revise distributed config files to only include most common options
5.  Revise sequence of config options to be arranged by topic.
6.  Revise code to use names consistent with config parms.
7.  Revise manual, guide and code to specify same default values.
8.  Update guide and manual to reflect revised option names.
2018-08-17 21:00:45 -06:00
Mr-DaveDev
3cd68cab49 Implement libmicrohttpd
Implement micro-httpd for providing webcontrol and streams

1.  Add tls support for webcontrol and streams.  aka ssl/tls, https
2.  Add functionality to provide streams on single port
3.  Add functionality for additional authentication methods of webcontrol.
4.  Add functionality for providing static images
5.  Update documentation for new functionality.
6.  Resolve issue with stream_preview_newline
7.  Add functionality for specifying camera in webcontrol and streams via camera_id
8.  Depreciated functionality to specify substream via port 
9.  Add functionality to specify substream via a URL
10.  Revise `quit` to only be available via text (programmatic) interface
11.  Added functionality for CORS header on webcontrol interface

Closes #526 
Closes #661 
Closes #709 
Closes #737 
Closes #750
2018-08-01 20:20:15 -06:00
Mr-DaveDev
74333c80f5 Add stream_grey
* Add stream_grey closes #506
2018-06-13 19:20:48 -06:00
Mr-DaveDev
189974106b Native Language Revisions
* Revise MOTION_LOG macro

* Add native_language option

* Additional languages

* Add log messages to po files
2018-06-09 14:17:02 -06:00
Mr-DaveDev
9b6297387b Replace webhttpd (#658)
Replace the webhttpd module with new webu and translation modules
2018-03-01 18:07:06 -07:00
jackxbritton
11e6339f44 Cross origin resource sharing (CORS) config parameter
* Add configuration parameter for a cross origin resource sharing on the Motion stream
2018-02-11 11:30:24 -07:00
jackxbritton
113ff690b5 Add text_scale config parameter. (#640)
Replace configuration parameter of `text_double` with `text_scale`

Closes #395
2018-02-10 17:40:27 -07:00
christophe-lohr
44c8f5911d track generic move
Add track_generic_move parameter to execute external script for moving camera

Provide environment variables that can be used by external script for tracking.
2018-02-10 07:30:13 -07:00
Christian G. Warden
a8334bc35f Fix typo in manual 2018-01-25 18:54:16 -07:00
Mr-DaveDev
999a37485e Update documentation for %{ver} specifier 2018-01-11 20:47:58 -07:00
Mr-DaveDev
b103dc08b7 Documentation Update (#534)
* Documentation Update
2017-11-07 21:02:29 -07:00
Mr-DaveDev
fbb3c2e022 Limit parameters available on webcontrol (#530)
Implement a new configuration option which allows users to specify the
type of parameters which can be accessed via the webcontrol page.  The
new option permits levels 0(none) to 3(restricted) with a default of
none.  This option is to enhance the security associated with the
application for users that may expose the webcontrol port publicly.

Close #515
2017-11-01 18:13:05 -06:00
Mr-DaveDev
ec9a5f993d Separate Timelapse Options (#528)
* Timelapse Options

1.  Revise the configuration options to have some of the timelapse options use distinct configuration values.

Closes #43

* Whitespace
2017-10-29 16:04:07 -06:00
MrDave
3f75f380c1 Add RTMP format specifier
1.  Add RTMP as a valid network camera protocol

Closes #401
2017-10-28 19:32:24 -06:00
Mr-DaveDev
69ad4fb350 High Resolution (#522)
* High Resolution

Refactor the netcam_rtsp module and associated image variables to allow for processing a dual stream from rtsp cameras.

Continue the process of segregating the functionality of the netcams into distinct modules based upon their function.
2017-10-28 17:29:16 -06:00
genius3000
c03a4f98cb Add a runtime argument to dump config options (#513)
* Add a runtime argument to dump config options

In order to simplify support requests, we can now dump all enabled
config options to the log(file), with argument 'o' for 'options'.
Any likely sensitive information will be redacted.

* Documentation update for dump config argument
2017-10-15 10:30:46 -06:00
MrDave
1c7996bdd4 SQL Event ID
Additional revisions for the change related to the sql event id
including variable names to conform with norm as well as documentation
updates.
2017-03-04 20:36:27 -07:00
MrDave
58baeb4d65 V4l2 via netcam
This commit adds functionality to use a v4l2 device via the netcam_url
option.  This will allow for more v4l2 devices since the netcam_url
uses the ffmpeg libraries which should be able to to decode and transform
the unusual pixel formats and sizes.
2017-03-04 12:37:04 -07:00
MrDave
1a41fe8ab7 v4l2 Revisions
This commit includes:
1.  Consolidate functions into appropriate modules
2.  Rename modules to reflect contents (v4l2, bktr, common)
3.  Combines v4l2 and bktr so they can be used together
4.  Implements functional prefixes
5.  Uses HAVE_V4L2, HAVE_BKTR instead of WITHOUT_
6.  Include pthread_np.h for FreeBSD
2017-02-12 16:20:27 -07:00
Mr-Dave
9276f04bb0 Merge pull request #311 from jayslovak/master
Add webp image compression support.  Closes #310  Thanks @jayslovak.
2017-02-09 18:47:24 -07:00
MrDave
2a07dd1277 Privacy Mask
This commit fully implements the privacy mask on all color components of the image.

Since activity could still be detected with just the cr/cb this change addresses
putting the mask on these color components in addition to just the y component.

It also changes the mask to black since we have to manually assign the cr/cb
to x80 to have it reflect a acceptable color for the masked area.
2017-02-02 17:06:59 -07:00
Radek Hvizdos
31364dc841 Add initial webp image compression support.
Only basic webp compression is supported (the only tunable is 0-100%
compression adjustment), without EXIF metadata.
Motion build scripts are configured to build in the support by default
and will emit an error if the needed library is missing. Suport can be
manualy disabled at configuration stage adding --without-libwebp.

Documentation update will follow in a separate commit.

Tested on x86-64 Linux only.
2017-01-26 19:06:11 +01:00
genius3000
2d262e5f49 Added on_camera_found event: for when a lost camera is found. 2017-01-08 19:47:12 -07:00
MrDave
0e0a2ca8f1 v4l2loopback cleanup
This commit cleans up some of the items for the v4l2loopback.
  Replace tabs with spaces
  Replace printf with MOTION_LOG
  Update guide to eliminate instructions for building old vloopback
  New v4l2 does not support the - option
2016-12-17 17:09:53 -07:00
Sebastiaan Lokhorst
8ba53b683b Remove SDL support 2016-11-13 20:28:15 +01:00
Ximin Luo
020fd01b76 Fix manpage typo 2016-10-23 20:40:03 +02:00
MrDave
8c686ec2b2 Add camera name format specifier 2016-10-02 18:17:08 -06:00
MrDave
2c87bf136d Additional config options for motion.1 2016-09-30 20:00:00 -06:00
MrDave
5f710c4e68 Trailing whitespace cleanup on motion.1
No changes to document except for elimination of trailing
whitespace removal.
2016-09-30 19:56:00 -06:00
MrDave
b4344e9893 Merge Infinity0 pull request #203 2016-09-28 20:03:28 -06:00
Ximin Luo
08095ad1e9 Fix some under-escaping in motion.1 manpage
Certain symbols like - and \ need to be escaped in the man format
2016-09-28 17:09:03 +02:00
Ximin Luo
8ea65f7a1f Fix spelling/grammar mistakes 2016-09-28 16:40:10 +02:00
Ximin Luo
f6ff8573f0 Fix paths in documentation
Motion already installs motion-dist.conf to @sysconfdir@/motion/, but some
documentation was not updated to reflect this yet.
2016-09-28 15:58:31 +02:00
Ximin Luo
7680f25bf8 Fix line endings for man pages
man pages are typically for UNIX systems where the line endings are LF not CRLF.
The file currently uses a mix of both, urgh.
2016-09-28 15:33:59 +02:00
Sebastiaan Lokhorst
0a7139f928 Rename option back to ipv6_enabled (now only effects localhost) 2016-09-27 01:22:53 +02:00
Sebastiaan Lokhorst
ab12095d4e Rewrite sockets to be much simpler and properly support IPv6.
Remove option ipv6_enabled (IPv6 is always enabled)
Add option localhost_ipv4 (the user must choose to listen to IPv4 and IPv6 localhost, only relevant when the localhost option is set to on)
2016-09-25 18:00:47 +02:00
MrDave
c431ecb303 Documentation Update 2016-08-25 22:16:47 -06:00
MrDave
fbba7b8f7d Timelapse revision of swf to mpg 2016-08-25 19:29:09 -06:00
MrDave
ec83f0fbda Scale movie quality/crf values based upon ffmpeg_variable_bitrate values from 0 to 100 2016-08-21 21:00:25 -06:00
momo-i
041797709d Merge remote-tracking branch 'upstream/master' 2015-09-28 17:03:02 +09:00
Mr Dave
2bd79c795b Make/configure changes 2015-09-26 21:19:06 -06:00
momo-i
e6bc27c012 HEVC testing 2015-09-25 16:17:19 +09:00
Mr Dave
bc7298aa32 Revise Sqlite3 into code standard 2015-09-13 13:52:40 -06:00
Mr Dave
320732d97b Update manual 2015-09-05 23:34:50 -06:00
tosiara
c0757d4fa9 Fix typo. EMR is not a valid log level. Should be EMG 2015-01-25 19:00:09 +02:00
Mr Dave
78ba2dae71 Merge unstable with master 2014-10-18 12:49:21 -07:00