Commit Graph

56 Commits

Author SHA1 Message Date
Mr-DaveDev
ff856adc69 Update the previous version number (#1274) 2020-12-06 22:48:33 -07:00
Mr-DaveDev
6808b37006 Add update params functionality (#1273)
* Add update params functionality
2020-12-06 17:43:59 -07:00
Mr-DaveDev
dc670f5da9 New modules of dbse and util (#1255) 2020-11-14 17:38:24 -07:00
Mr-DaveDev
0e9d2ea139 Depreciate ATTRIBUTE_UNUSED and improve declarations (#1253) 2020-11-08 14:18:26 -07:00
Mr-DaveDev
d359a41239 Improve header declares and module notices (#1252) 2020-11-07 14:55:16 -07:00
Mr-DaveDev
0674a19094 Implement mystr functions (#1251) 2020-11-06 20:23:30 -07:00
Mr-DaveDev
ff04afab13 Adjust default capture_rate (#1250) 2020-11-05 21:57:13 -07:00
Mr-DaveDev
ac29bdfb35 Adjust bktr and v4l2 params 2020-11-05 19:32:41 -07:00
Mr-DaveDev
c2cef04645 Brace Usage Style
* Adjust brace usage style
2020-11-04 17:38:37 -07:00
Khoa Hoang
905ea1646a netcam_rtsp: add support for Nvidia Cuda HW decode acceleration (#1244)
This change add support for Nvidia Cuda HW decode acceleration for RTSP stream.
Set netcam_decoder=cuda to enable Cuda HW acceleration

Signed-off-by: Khoa Hoang <admin@khoahoang.com>
2020-11-01 20:44:33 -07:00
Mr-DaveDev
bb288e4546 Improve function braces on new line 2020-10-26 19:56:42 -06:00
Mr-DaveDev
3f2e2a214e Improve Indentation of Code
Improve consistency in indentation
2020-10-26 17:38:06 -06:00
Mr-DaveDev
cdb198bec8 Use MYFFVER for conditions of library versions
* Adjust to use myffver
* Adjust some indentations with the #if
2020-10-25 21:16:40 -06:00
Mr-DaveDev
7e6c5b768d Depreciate md5 module
No longer required due to transition to use MHD.
2020-10-25 21:05:17 -06: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
5c9b907ddd Use MHD functions for url decoding (#1232)
* Use MHD function for url decoding
* Depreciate testing for Jessie
2020-10-25 10:32:46 -06:00
Roman Sivriver
5f02e45c1f Fixed longest line calculation that caused unneeded scaling of multiline text 2020-10-11 15:19:52 -06:00
Mr-DaveDev
21b67409a1 Adjust criteria for end events 2020-09-28 17:24:51 -06:00
Mr-DaveDev
9819e92767 Revert v4l2 passthrough change
Reverts changes in #1208, #1209.
Closes #1214
2020-09-25 20:01:22 -06:00
Mr-DaveDev
94f505a8f2 Netcam ratehigh
Closes #1212
2020-09-25 19:38:29 -06:00
Mr-DaveDev
ba6c1ccf12 Revise v4l2 via netcam 2020-09-20 17:28:13 -06:00
Mr-DaveDev
be1a75b7d3 Disable passthrough on v4l2 via netcam
Closes #1201
2020-09-19 21:44:26 -06:00
Mr-DaveDev
b34cae1ca0 Depreciate old stream module 2020-09-19 20:22:42 -06:00
Artem Bulgakov
62be47c4fe Add saving first frame at motion start
Fixes #1059
2020-09-19 17:57:18 -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
9ce9d5a017 Allow for lightswitch at 1 percent
closes #1102
2020-09-02 21:57:39 -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
tosiara
2763d390d1 Removed semicolon in the Content-type value
Semicolon is used to separate extra parameters of the type. Since we do not provide any parameters, the semicolon is not needed and confusing for some parsers
2020-08-25 17:18:47 -06:00
Mr-DaveDev
34507c985e Adjust debug messages for v4l2 cameras 2020-08-24 18:07:20 -06:00
tosiara
94895d801d Updated copyright to 2020 (#1159) 2020-08-24 18:06:27 -06:00
tosiara
4c76a71956 Added stream logging (#1165) 2020-08-24 18:05:57 -06:00
Mr-DaveDev
1680e830a9 Update to permitted uris for cors parameters (#1189)
Closes #1168
2020-08-24 18:04:50 -06:00
Mr-DaveDev
27912107ae Update for recent mhd return codes as enums 2020-08-24 18:03:48 -06:00
Mr-DaveDev
bf01a74ea5 Eliminate compiler warning errors 2020-08-24 18:03:22 -06:00
Mr-DaveDev
c73d60a875 Adjust Mariadb init and deinit (#1133)
Closes #1123
2020-04-12 18:29:23 -06:00
Mr-DaveDev
278fb1e0f1 Return upon invalid camera directory specified
closes #1120
2020-04-12 18:28:17 -06:00
Sylvain Garrigues
e69cc42f46 Do not override user's CFLAGS nor LDFLAGS 2020-03-07 17:01:52 -07:00
Vasiliy Glazov
a4a48baf86 Fix build with GCC 10. 2020-03-07 17:00:21 -07:00
Mr-DaveDev
947e6737c5 Additional translations
* Additional translations
2020-01-12 19:06:50 -07:00
Mr-DaveDev
10807b1d96 Add default for non ascii characters 2019-12-29 13:54:13 -07:00
Mr-DaveDev
23dffb03cb Add notice to stream.c 2019-12-01 15:47:56 -07:00
Mr-DaveDev
c9bef91685 Remove poll option for mhd
closes #1063
2019-12-01 14:30:10 -07:00
Rosen Penev
7ae3bd5f0c Fix format warnings (#1064)
Replaced several static const chars with defines. GCC cannot check
const char * as it is a variable, not a constant expression. C
unfortunately does not support constexpr.

Discovered with -Wformat=2.
2019-12-01 13:21:16 -07:00
Mr-DaveDev
d8ea81dc8c Adjust loop for first motion 2019-10-30 18:19:43 -06:00
Mr-DaveDev
8f18946261 Add some defaults for Pi cam 2019-10-28 22:31:01 -06:00
Mr-DaveDev
5d88fe68bb Add User Requested Decoder
Add user option for decoder
2019-10-28 22:30:30 -06:00
Mr-DaveDev
6033120053 Use time of first SAVE image in the ring for FIRSTMOTION 2019-10-28 22:28:34 -06:00
jasaw
4cb16937b8 ffmpeg: do not encode NAL as the first video frame 2019-10-28 22:28:10 -06:00
Mr-DaveDev
98f060dacb Allow for embedded & via webcontrol
closes #1014
2019-10-16 20:22:26 -06:00