Nick Mowen
5494aa7631
Fix web tests
2023-06-19 17:01:52 -06:00
Nick Mowen
6fa001d82e
Fix web tests
2023-06-19 16:55:17 -06:00
Nick Mowen
0fa7c744ba
Formatting
2023-06-19 16:52:08 -06:00
Nick Mowen
9f8e2fd51c
Isort
2023-06-19 16:50:30 -06:00
Nick Mowen
edd7e14237
Close logpipe
2023-06-19 16:47:32 -06:00
Nick Mowen
f8b2643ca8
Fix audio enabling
2023-06-19 16:29:53 -06:00
Nick Mowen
2555232f45
Set initial audio value
2023-06-19 16:20:54 -06:00
Nick Mowen
85cc348751
Add ability to toggle audio with mqtt
2023-06-19 16:19:55 -06:00
Nick Mowen
8198165fa7
Add audio icon in frontend
2023-06-19 15:44:21 -06:00
Nick Mowen
8444cc450d
Cleanup labelmap
2023-06-19 15:23:38 -06:00
Nick Mowen
c73118ae49
Add const for float
2023-06-19 15:13:23 -06:00
Nick Mowen
cc11cf1737
Only start audio process if at least one camera is enabled
2023-06-19 08:12:33 -06:00
Nick Mowen
b89c6c30f7
remove unused
2023-06-19 08:10:57 -06:00
Nick Mowen
4239110af5
Close threads when stop event is sent
2023-06-19 08:05:26 -06:00
Nick Mowen
5c230ee0f5
Get events working
2023-06-19 08:00:47 -06:00
Nick Mowen
cc0cb3a78d
Use api instead of event queue to save audio events
2023-06-19 07:50:02 -06:00
Nick Mowen
f0a59da933
End events correctly
2023-06-19 07:32:31 -06:00
Nick Mowen
5748efb352
Fixes
2023-06-19 07:11:49 -06:00
Nick Mowen
6c1fda11f6
Stop ffmpeg when shutting down
2023-06-19 06:57:11 -06:00
Nick Mowen
936cba75fb
Use not heard config
2023-06-19 06:44:43 -06:00
Nick Mowen
1f1917742f
End events if not heard for 30 seconds
2023-06-19 06:44:05 -06:00
Nick Mowen
734eb07a23
Save event to db
2023-06-18 17:11:11 -06:00
Nick Mowen
b5acd6a287
Get audio detection working
2023-06-18 16:34:38 -06:00
Nick Mowen
c017ceabf7
Add ffmpeg input args
2023-06-18 13:59:35 -06:00
Nick Mowen
16b6bcca9a
Try to cleanup restarting
2023-06-18 13:50:06 -06:00
Nick Mowen
7e1ca34fc6
Fix startup issues
2023-06-18 13:42:15 -06:00
Nick Mowen
10e194b0d1
Start audio process
2023-06-18 13:37:52 -06:00
Nick Mowen
386e388f75
Fix config bugs
2023-06-18 13:30:13 -06:00
Nick Mowen
bf4cb22118
Load labelmap correctly
2023-06-18 13:04:41 -06:00
Nick Mowen
b6bb1cd185
Build out base config
2023-06-18 12:51:49 -06:00
Nick Mowen
87a4d1d15b
Add audio detection process keypoints
2023-06-17 17:14:43 -06:00
Nick Mowen
2a83a3626c
Add the detector
2023-06-17 16:48:41 -06:00
Nick Mowen
e43a7e65f9
Start adding config for audio
2023-06-17 16:20:42 -06:00
Nick Mowen
8055fbc6e8
Merge branch 'dev' of github.com:blakeblackshear/frigate into audio-events
2023-06-17 09:55:57 -06:00
Nick Mowen
021ed5c141
Cleanup
2023-06-17 09:54:29 -06:00
Nick Mowen
51e1e5b7a5
Keep audio labelmap local
2023-06-17 09:49:45 -06:00
Nicolas Mowen
09cc4251f0
Fix dict getting overwritten ( #6830 )
2023-06-17 10:31:35 -05:00
Blake Blackshear
793fe251b9
Label attributes ( #6829 )
...
* pass attribute labels as attributes
* add label attrs to events and snapshots
* incorporate area of license_plate and face into snapshot selection
* populate sublabels for cars with logos
2023-06-17 09:56:22 -05:00
Nicolas Mowen
2be2050d57
Don't fail to save segment when cv2 fails ( #6823 )
...
* Don't fail when cv2 fails
* Clean up exception handling
2023-06-17 09:56:00 -05:00
Nicolas Mowen
0996883a98
Add docs for annotation offset ( #6824 )
2023-06-16 18:00:49 -06:00
Nicolas Mowen
b66810247e
Optimize stacked recordings ( #6809 )
...
* Make camera recordings mover asynchronous
* Formatting
* Move to using cv2 instead of external ffmpeg process
* Use ffprobe if cv2 failed
* Formatting
* Fix bad access
* Formatting
* Update frigate/record/maintainer.py
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
* Update name of caller
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-06-16 07:09:13 -06:00
Nicolas Mowen
0592cedcde
Rewrite birdseye auto layout ( #6818 )
...
* Prefer horizontal layout to vertical
* Rewrite birdseye to use aspect ratios instead of resolutions as layout configurator
* Improve layout with slightly larger than 16:9 cameras
* Remove manual 2 camera layout
* Lint
* Remove log
2023-06-16 07:35:36 -05:00
Blake Blackshear
ca7853c087
Fix max_frames, improve stationary objects in masked areas ( #6815 )
...
* fix issue with max_frames
* dont consider stationary until the threshold
* require a stationary interval
* try to fix formatter issues
2023-06-16 07:32:43 -05:00
Sergey Krashevich
3efa77f302
Round the timestamp value read from .vacuum file to prevent potential errors caused by float values ( #6800 )
2023-06-14 17:19:26 -05:00
Nicolas Mowen
ff1b5c87aa
Fix stream name not being used for MSE ( #6796 )
2023-06-14 06:49:32 -06:00
Sergey Krashevich
a8f282515f
Bugfix: Refactor date and time initialization in Export.jsx ( #6794 )
...
* Refactor date and time initialization in Export.jsx to use local timezone
* Update error message to include specific reason for failure in Export.jsx
2023-06-14 07:32:36 -05:00
Nicolas Mowen
7e5abe7a65
Optimize Birdseye layout for portrait cameras ( #6779 )
...
* Handle vertical cameras more optimally in 2 camera layout
* Optimize portrait layout for 3+ cams
* Remove logging
2023-06-12 17:39:12 -05:00
Nicolas Mowen
ec4d79eafc
Fix bug in intersection logic ( #6780 )
...
* Fix bug in intersection logic
* Fix isort
* Remove unrelated test
* Formatting
* Fix type in test
2023-06-12 17:38:22 -05:00
Nicolas Mowen
ff90db30e6
Various Bug Fixes ( #6768 )
...
* Fix birdseye infinite loop
* Fix division by zero
2023-06-12 06:06:02 -04:00
Sergey Krashevich
dfd574beeb
Refactor storage stats calculation to use powers of 2 for more accurate values ( #6765 )
...
* "Refactor storage stats calculation to use powers of 2 for more accurate values"
* replace 1000000 to 2^20
* Refactor storage unit size display to use binary prefixes
This commit updates the display of storage unit sizes in both the camera storage stats and the Storage component in the web UI to use binary prefixes (MiB and GiB) instead of decimal prefixes (MB and GB). This provides more accurate and consistent representation of storage sizes
2023-06-11 14:49:13 -05:00