Commit Graph

1232 Commits

Author SHA1 Message Date
Mr-DaveDev
4b72282855 Version Update for 4.2 release-4.2 2018-10-28 09:59:59 -06:00
Mr-DaveDev
b48f782cf7 Legacy interface revisions 2018-10-28 08:44:10 -06:00
Mr-DaveDev
32379332a5 Guide update 2018-10-27 18:20:18 -06:00
Mr-DaveDev
8cb19b1be6 Update CHANGELOG 2018-10-26 18:50:54 -06:00
Mr-DaveDev
6298716a56 Revise defines for HAVE_STDLIB_H 2018-10-22 21:03:39 -06:00
Mr-DaveDev
0afea9cc4e Update to guide for mjpeg passthrough
Closes #773
2018-10-20 17:02:51 -06:00
Mr-DaveDev
dddfe9c9c1 Guide Update 2018-10-20 12:36:46 -06:00
Mr-DaveDev
5beca99591 Cross thread and timing issues with streams 2018-10-14 12:03:34 -06:00
Mr-DaveDev
a4fb0d0a74 Update Translations 2018-10-14 12:01:47 -06:00
Mr-DaveDev
a7690141c2 Update travis for debian 2018-10-11 21:04:41 -06:00
Mr-DaveDev
49936ad373 Config write 2018-10-11 19:18:35 -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
ecfb537359 Remove legacy substream 2018-10-11 18:13:46 -06:00
Mr-DaveDev
fa974d799c Revert mjpeg and static processing 2018-10-11 18:12:55 -06:00
Mr-DaveDev
062a3286ab Prefix header with boundary string 2018-10-02 17:24:41 -06:00
Mr-DaveDev
b8aa3819fa Fix ffmpeg keyframe interval
Closes #794
2018-09-10 17:59:40 -06:00
Mr-DaveDev
5c95ed8fe2 Add eventstart and eventend for webcontrol
1.  Add eventstart/eventend as options for webcontrol api.
2.  Revise action names on webcontrol html.
3.  Revise variable name in code from makemovie to event_stop.
4.  Revise some code indentation for code-folding in IDE

Closes #796
2018-09-08 19:28:02 -06:00
Mr-DaveDev
b02691bc63 Eliminate message on failed retry
Closes #779
2018-09-08 15:10:23 -06:00
Mr-DaveDev
15288b362f Allow conversion specifiers for track_generic_move
closes #792
2018-09-08 15:07:06 -06:00
Mr-DaveDev
af75ad570b Netcam Handler Loop
* Netcam Handler Loop

1.  Add a wait based upon framerate or netcam source.
2.  Put reconnect processing into separate function.

closes #789
2018-08-26 21:20:21 -06:00
Mr-DaveDev
219a36e568 Generic Tracking
1.  Maintain a aggregate count of moves
2.  Send aggregate counts as negative when invoking center.

closes #690
2018-08-24 19:40:49 -06:00
Mr-DaveDev
cfde202388 Database Functions
1.  Resolve Sqlite3 equal NULL after watchdog
2.  Consolidate database routines in motion.c into dbse_ functions.

closes #521
2018-08-24 19:39:26 -06:00
Mr-DaveDev
029fc161cd Additional Stream Options
1.  Add separate stream for motion images.
2.  Add separate stream for source images from camera.
3.  Add additional preview option(3) for showing live stream next to motion stream.
4.  Add additional preview option(4) for showing source images from camera.
5.  Refactor webu_stream to improve efficiency
6.  Improved shutdown process for webu_streams.
7.  Revised variable name in webu_html to correlate with what it contains.(camid instead of thrd)
2018-08-22 18:24:56 -06:00
Mr-DaveDev
d2bed89087 Framerate for mmalcam 2018-08-22 06:50:31 -06:00
Mr-DaveDev
90763ba943 Add static file processing via netcam_url
1.  Add static movie processing via netcam_url
2.  Remove file netcam_url which only processed single image
3.  Remove experimental protocol of mjpg
2018-08-19 20:03:17 -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
tosiara
197ac4e15e Fixed corrupted PPM
Wrong array pointer increment caused V splane to run out of array bounds
2018-08-10 09:13:49 -06:00
Mr-DaveDev
0572a64ba9 Edits on configuration dimensions 2018-08-05 19:26:31 -06:00
tosiara
1f7838b921 Aligned whitespaces 2018-08-01 20:53:31 -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
tosiara
b4e45a6cc7 Fixed 422p conversion: one line of UV was missing (#767)
Reported by @notorca https://github.com/tosiara/motion/pull/28
2018-07-17 18:03:32 -06:00
Mr-DaveDev
58ac5f89f5 Revised Pixel format (#756)
* YUV422P format
* RGB format
2018-07-09 17:33:22 -06:00
Mr-DaveDev
dff5dd21b4 Preferred codec revision (#754) 2018-07-09 17:32:54 -06:00
Mr-DaveDev
1b16fe9f75 Check for invalid dimensions (#749) 2018-07-04 19:11:09 -06:00
Mr-DaveDev
3f9ab60089 ffmpeg 4.0 revision 2018-07-04 19:10:45 -06:00
Mr-DaveDev
0581449f45 Revise pktarray mutex locking for ffmpeg_passthrough 2018-07-04 09:55:32 -06:00
Perelandric
43b9c2b299 update to reflect correct 'output_pictures' default (#739)
The default setting for 'output_pictures' option was changed
from 'on' to 'off', but the docs had not been updated.

This change brings the docs into agreement with the new default.
2018-06-26 06:38:16 -06:00
Matt Schatz
1b320733e8 Fix webu_process_action for a default single camera config (#736)
When using the single 'motion.conf' file for a single camera setup,
the webu actions are skipping over the only thread due to assuming
that thread '0' is just motion and all cameras are subsequent.
This leaves the webu actions useless to the default single camera,
single config setup.

Fix this by checking that more than one camera thread exists to use
the thread loop, using the given thread number ('0') otherwise.
2018-06-21 19:38:05 -06:00
Mr-DaveDev
66b57a7264 Test return code for msgfmt (#734) 2018-06-17 20:39:52 -06:00
Perelandric
239f4bfb3b Remove incorrect escaping (#733)
Thanks!
2018-06-17 18:48:00 -06:00
Perelandric
c9b653417a Add missing return to avoid contradictory logging (#732)
closes #731
2018-06-17 18:47:06 -06:00
Sébastien VACHER
57944cde43 Update French Translation
Update fr.po
2018-06-14 22:02:31 -06:00
Mr-DaveDev
17e8369653 Revise regex for v4l2 and file url parse 2018-06-13 19:21:13 -06:00
Mr-DaveDev
74333c80f5 Add stream_grey
* Add stream_grey closes #506
2018-06-13 19:20:48 -06:00
Mr-DaveDev
c1db494aaf Revisions to main
* Decompose the `main` function into calls to smaller functions
2018-06-11 19:01:26 -06:00
Mr-DaveDev
a86fda8fb7 Travis update for 18.04 2018-06-09 14:17:28 -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
tosiara
a47e929049 Add O_CLOEXEC flag to the open of V4L2, socket and extpipe
* Add O_CLOEXEC flag to the open of V4L2, socket and extpipe
Fixes https://github.com/Motion-Project/motion/issues/705

* Add CLOEXEC
2018-06-09 14:16:19 -06:00
Mr-DaveDev
37f04eb5c2 Add status and text UI get (#707)
* Status and Text UI get

* Additional webu text revisions
1.  Only provide webcontrol parms in the list on the main thread.
2.  Use main configuration values when parm is not in camera specific config file
3.  Break out of loop once parm is found in get
4.  Check for numeric thread number when requesting status
5.  Send result messages when user requests actions/track/set

* Add event listener for completed pause/start
2018-05-16 21:47:32 -06:00