Blake Blackshear
304ffa86e8
refactor stationary config into section
2022-02-13 10:21:24 -06:00
Blake Blackshear
95ab22d411
bump default stationary_threshold to 10s
2022-02-11 07:30:47 -06:00
Blake Blackshear
4e52461aa9
set stationary_threshold default to 5x fps
2022-02-11 07:12:51 -06:00
Blake Blackshear
0b02f20b26
make stationary_threshold configurable
2022-02-08 07:40:45 -06:00
Blake Blackshear
5a2076fcab
improve warning for retain modes
2022-02-06 10:12:49 -06:00
Blake Blackshear
b1e84ca7fe
allow dash in camera name
2022-02-05 14:31:06 -06:00
Blake Blackshear
e6ec5cb097
make motion the default retain mode
2022-02-05 09:38:22 -06:00
Blake Blackshear
091648187f
make expire interval configurable for users wanting to minimize i/o
2022-02-05 09:38:22 -06:00
Blake Blackshear
037f8667a6
default periodic checks to never
2022-02-05 09:38:22 -06:00
Blake Blackshear
040d8c9778
require url safe camera names
2022-02-05 09:38:22 -06:00
Yuriy Sannikov
bd8e23833c
Run python unit tests in a github actions ( #2589 )
...
* tox tests initial commit
* run tests in the Dockerfile during the build phase
* remove local tests
Co-authored-by: YS <ys@gm.com>
2022-01-14 07:31:25 -06:00
Yuriy Sannikov
9edf38347c
safe refactoring ( #2552 )
...
Co-authored-by: YS <ys@gm.com>
2021-12-31 11:59:43 -06:00
Justin Goette
156e1a4dc2
Allow for ".yaml" ( #2244 )
...
* allow for ".yaml"
* remove unused import
2021-12-12 09:27:05 -06:00
Blake Blackshear
df0246aed8
warn when retention mismatch
2021-12-12 09:21:45 -06:00
Blake Blackshear
9f18629df3
switch to retain config instead of retain_days
2021-12-12 09:21:45 -06:00
Blake Blackshear
63b7465452
ensure stationary interval is greater than 0
2021-11-20 09:15:03 -06:00
Blake Blackshear
c7faef8faa
don't modify ffmpeg_cmd object
2021-11-08 19:05:39 -06:00
Blake Blackshear
cdd3000315
fix ffmpeg config for env vars
2021-11-08 18:20:47 -06:00
Blake Blackshear
1c1c28d0e5
create ffmpeg commands on startup
2021-11-08 07:36:21 -06:00
Blake Blackshear
d554175631
no longer make motion settings dynamic
2021-11-08 07:36:21 -06:00
Blake Blackshear
ff667b019a
remove min frame height of 180 and increase contour area
2021-11-08 07:36:21 -06:00
Blake Blackshear
5bec438f9c
config option for stationary detection interval
2021-11-01 07:58:30 -05:00
Blake Blackshear
26ae6084ea
fix rtmp again
2021-10-24 13:53:43 -05:00
Blake Blackshear
a67b8ab84d
validate with runtime config ( fixes #2055 )
2021-10-23 08:21:15 -05:00
Blake Blackshear
4cf55ad8e2
Revert switch to mpegts format and audio default
2021-10-23 08:21:15 -05:00
Blake Blackshear
2e494477a6
backwards compatibility for segment_type
2021-10-16 10:36:13 -05:00
Blake Blackshear
86a741b6e6
assign roles when single input and consolidate validation
2021-10-16 07:46:39 -05:00
Blake Blackshear
e297e02800
store audio by default
2021-10-16 06:06:49 -05:00
Blake Blackshear
c809494c98
switch to mpegts format for cache and create mp4 with faststart
2021-10-15 21:08:43 -05:00
Blake Blackshear
c3109f808c
allow partial days in retention settings
2021-09-20 18:59:16 -05:00
Blake Blackshear
661f7baa21
fix global live config
2021-09-13 20:33:00 -05:00
Jason Hunter
a7b7a45b23
allow for custom object detection model via configuration
2021-09-12 07:17:26 -05:00
Blake Blackshear
288b1a0562
remove nested enabled config setting on events
2021-09-08 08:02:26 -05:00
Blake Blackshear
e8eb3125a5
disallow extra keys in config
2021-09-04 16:56:01 -05:00
Blake Blackshear
8109445fdd
fix color config for ts ( fixes #1679 )
2021-09-04 16:40:10 -05:00
Blake Blackshear
f63a7cb6c0
remove font_scale in timestamp_style and calculate dynamically again
2021-09-04 16:34:48 -05:00
drinfernoo
65855e23d9
Add RTMP and timestamp style to global config ( #1674 )
...
* 📝 ✅ 🔧 - Make RTMP config global
Fixes #1671
* 📝 ✅ 🔧 - Make timestamp style config global
Fixes #1656
* fix test function names
* formatter
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2021-09-03 07:03:36 -05:00
Blake Blackshear
fbea51372f
sync global snapshot options ( fixes #1621 )
2021-08-28 09:14:00 -05:00
Blake Blackshear
fa5ec8d019
cleanup global and camera detect config ( fixes #1615 )
2021-08-28 08:51:51 -05:00
Blake Blackshear
11c425a7eb
error on invalid role
2021-08-28 08:16:25 -05:00
Blake Blackshear
1c85f774eb
move colormap to config
2021-08-16 08:02:04 -05:00
Blake Blackshear
bbf0fc8324
use CPu detector by default
2021-08-16 07:39:20 -05:00
Blake Blackshear
45798d6d14
clean house on clips
2021-08-15 08:30:27 -05:00
Blake Blackshear
f3a1c1de0a
move width/height/fps under detect and make required
...
also resizes the output from ffmpeg to specified size
2021-08-14 14:18:35 -05:00
Jason Hunter
a476bc9885
initial commit
2021-08-07 15:51:16 -05:00
Blake Blackshear
e51021c573
switch default live resolution to 720
2021-07-21 07:47:11 -05:00
Blake Blackshear
ebee204ca0
ensure default args propogate
2021-07-10 06:40:50 -05:00
Blake Blackshear
92aa16c556
add labelmap customization to the config ( fixes #507 )
2021-07-07 22:58:18 -05:00
Blake Blackshear
f26f7b8d3f
make default motion a little more sensitive
2021-07-07 07:33:14 -05:00
Blake Blackshear
f4aa02cc19
allow specific objects to be listed for a zone ( fixes #1123 )
2021-07-07 07:33:14 -05:00