Commit Graph

1140 Commits

Author SHA1 Message Date
Mr-DaveDev
7637a3dcd0 Update Web Control
Update the Motion webcontrol to reference the project documentation
2018-01-02 17:56:36 -07:00
Mr-DaveDev
a9d9acc0f1 Update Motion Guide
Update Motion Guide
2018-01-02 17:55:43 -07:00
Mr-DaveDev
06486e4fea Validate parmeters for v4l2 via netcam
Closes #590
2018-01-01 13:08:16 -07:00
Mr-DaveDev
4d3e8b06cf Capture first images for non-v4l2 devices
Closes #541
2018-01-01 13:07:42 -07:00
Mr-DaveDev
3c7cbd6850 Initialize the thread at start of main
Closes #589
2018-01-01 13:07:08 -07:00
Mr-DaveDev
df5c73bfef Allow URLs with underscores
Closes #580
2018-01-01 13:06:28 -07:00
Mr-DaveDev
28f9c88fe2 Revise message for udp transport
Closes #588
2018-01-01 13:05:47 -07:00
Mr-DaveDev
631200a928 Pass Through
Implement pass through using concept from @iskunk fork.  

Closes #124
2017-12-30 07:54:55 -07:00
Mr-DaveDev
35cd0b37ac Remove defaults for SQL parameters 2017-12-17 11:21:24 -07:00
Mr-DaveDev
804c28cb04 Default Webp to be included in builds
* Change default for Webp image types

* Guide update for webp

* Revise Webp defaults and add to testing
2017-12-16 11:39:32 -07:00
jayslovak
64afc2e5a3 EXIF for WEBP
* Refactor EXIF function

Refactor the dedicated jpeg EXIF routine into prepare_exif(), to become a comon function used to prepare exif data for jpeg _and_ webp files. This change does not introduce any WEBP related code.

* EXIF handler for WEBP

Add the EXIF handler for WEBP files.

* Add EXIF data to WEBP files

A WEBP MUX is used to add the EXIF data to the WEBP files.
2017-12-16 11:39:07 -07:00
Mr-DaveDev
adc1ad763f Report invalid URLs
When users specify a netcam_url that can not be parsed, report it as an error to the log.
2017-12-14 16:43:19 -07:00
Mr-DaveDev
46be66fabf Update motion_guide
Revise the Motion guide to use a style sheet and split the guide into the components as used on the Motion home page.
2017-12-13 20:32:36 -07:00
MrDave
9ffa4cbf47 Version Script Update 2017-12-09 18:15:00 -07:00
Mr-DaveDev
eef702b3d7 Fix builds on musl based systems
* Fix pthread_setname_np detection

Commit 6617c6f2c8 replaced
AC_LINK_IFELSE with AC_COMPILE_IFELSE. This has broken the
pthread_setname_np detection as compilation will always succeed even if
pthread_setname_np is not available (if the function is not found, a
simple warning will be displayed in config.log).

The correct fix is to put back AC_LINK_IFELSE with -pthread in LIBS
otherwise compilation will fail on toolchain without pthread_setname_np.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

* Check for pthread_getname_np

On some toolchains (like musl), pthread_setname_np is available but not
pthread_getname_np so add this check in configure.ac

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

* Revision for detection of XSI vs GNU variants of strerror
2017-12-09 15:42:16 -07:00
Mr-DaveDev
fe0f201345 Fix saving of pictures with highres (#564) 2017-12-07 17:25:59 -07:00
Mr-DaveDev
caea41df75 Add error checking on jpeg utils (#563) 2017-12-07 17:25:40 -07:00
Mr-DaveDev
64c159e020 Fix filename for debug movies (#562) 2017-12-07 17:25:22 -07:00
Mr-DaveDev
93c004c915 Update version script for old distros (#561)
* Update version script for old distros and tag dirty status
2017-12-07 17:25:03 -07:00
MrDave
ccbe2f5927 Version Script Update 2017-11-10 20:51:27 -07:00
Mr-DaveDev
adba9ca6af CHANGELOG Update (#537)
Version 4.1
release-4.1
2017-11-10 20:47:06 -07:00
Mr-DaveDev
b103dc08b7 Documentation Update (#534)
* Documentation Update
2017-11-07 21:02:29 -07:00
Mr-DaveDev
336734e44e Compiler Warnings (#535)
* 17.10 Compiler Revisions
* Config Changes
2017-11-06 18:55:39 -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
Mr-Dave
d4cbc787a1 Merge pull request #527 from Mr-DaveDev/issues
Logging, V4l2, Flood Control, RTMP Issues
2017-10-28 20:15:10 -06:00
MrDave
07a48e45b5 Logging for buffered packet
1.  Remove error logged when a buffered packet is encoded.

Closes #457
2017-10-28 19:35:01 -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
MrDave
f34ad7485c Add flood control to logger
1.  Implement flood control to avoid duplication of messages to the log.

Closes #282
2017-10-28 19:21:11 -06:00
MrDave
2e95ed01c7 Configuration Parameters to log
Revise the dump of configuration parameters to automatically send them to the
log at the INF level for use in issue reporting.

Closes #509
2017-10-28 19:16:10 -06:00
MrDave
5aa9002a93 Log Authentication Failures
1.  Add IP logging for authentication failures using MD5
2017-10-28 19:10:38 -06:00
MrDave
d00220b5c4 Validate v4l2 parameters in netcam
Add functionality to validate that the palette parameters passed into
v4l2 via netcam are appropriate.

Closes #494
Closes #493
Closes #456
2017-10-28 19:04:13 -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
Ismo Puustinen
8fd7a6156d Makefile.in: allow building out-of-tree. (#453)
Allow code to be compiled in a separate build tree.
2017-10-22 18:12:52 -06:00
genius3000
07e3df36d7 WIP: Log client IP (stream, webcontrol) where useful (#434)
* Log failed authentication requests and add IP to standard read log
2017-10-22 18:11:37 -06:00
genius3000
bd9c16567f Fix config write bug introduced in eeecf61 (#516)
The correction to my previous method of setting an existing string
(commit 3af03ad) inadvertently caused a memory access violation,
which causes a crash when trying to write the config.
Fix this by using a separate string buffer.
2017-10-15 10:31:02 -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
jasaw
f9b059aa62 do not force packet keyframe (#502)
* do not force packet keyframe

* set packet metadata for old ffmpeg
2017-10-15 10:30:14 -06:00
tosiara
7d8ba03cfc Motion substream (#454)
Add option to output a sub-stream from Motion
2017-10-15 10:29:43 -06:00
Mr-Dave
2eedfdc015 Merge pull request #510 from tosiara/privacy
CONTRIBUTION GUIDE: added link to the privacy wiki article
2017-09-23 09:35:01 -06:00
tosiara
398480dd8e CONTRIBUTION GUIDE: added link to the privacy wiki article 2017-09-21 16:01:36 +03:00
Mr-Dave
2a140fa31f Merge pull request #501 from Mr-DaveDev/14.04-issues
14.04 issues
2017-09-16 20:35:10 -06:00
Mr-Dave
b1c6bca2b1 Merge pull request #496 from inodlite/unpad-mmal-frames
Handle padded MMAL frames
2017-09-16 20:21:00 -06:00
Mr-Dave
924ec9fb73 Merge pull request #477 from jasaw/tune-h264-encode-quality
Tune h264_omx encode video quality
2017-09-16 20:20:13 -06:00
Mr-Dave
8863857215 Merge pull request #476 from jasaw/add-preferred-codec-config
Extend ffmpeg_video_codec config to take optional preferred_codec
2017-09-16 20:16:51 -06:00
Joo Aun Saw
516f9f19c9 fix sizeof comparison warning 2017-09-12 14:55:58 +10:00
Joo Aun Saw
cf0d95f243 blacklist h264_omx codec 2017-09-12 14:47:26 +10:00
Mr-Dave
9d80f272e5 Merge pull request #495 from jasaw/pts-before-encode
set PTS value before encoding
2017-09-11 19:06:15 -06:00
telemaxx
29ea11e629 Update webhttpd.c (#484)
Just adding a newline to get a nicer looking html.
<BODY> was in the same line as the meta line.
2017-09-10 20:00:02 -06:00
Mr-Dave
425bf05c08 14.04 Issues
Resolve issues related to RTSP Cameras
1.  Do not drain the codec at each frame
2.  Add variable active to context and remove #ifdef HAVE_FFMPEG
3.  Reset return code for encoding when timing problems for pts
4.  Set the jpeg error messages to debug level.
5.  Comment out the frame timing debug messages that flood log.
2017-09-10 17:03:14 -06:00