blakeblackshear.frigate/frigate
Cody Cutrer 2fae9dcb93
reduce contention on frame_queue (#6890)
* reduce contention on frame_queue

don't check if the queue is full, just attempt to add the frame
in a non-blocking manner, and then if it fails, skip it

* don't check if the frame queue is empty, just try and get from it

* Update frigate/video.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>

---------

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-07-06 08:18:39 -05:00
..
comms Ptz cleanup (#6999) 2023-07-06 07:42:17 -05:00
detectors Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
events Use pre capture for custom events (#7038) 2023-07-06 07:26:53 -05:00
images Replace green screen with error message and force camera_fps to 0 (#4544) 2022-11-28 21:47:20 -06:00
motion use a different method for blur and contrast to reduce CPU (#6940) 2023-06-30 07:27:31 -05:00
record Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
test use clahe for contrast improvement (#6835) 2023-06-18 11:56:41 -05:00
track Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
__init__.py
__main__.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
app.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
config.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
const.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
ffmpeg_presets.py Check ffmpeg version instead of checking for presence of BTBN_PATH (#7023) 2023-07-06 07:35:26 -05:00
http.py Add designator when events are from the api (#6997) 2023-07-03 09:48:00 -05:00
log.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
models.py Optimization of Sync Records: Implementing Pagination and Temporary Table (#6585) 2023-06-11 08:01:50 -05:00
mypy.ini update deps (#6093) 2023-04-15 14:17:59 -05:00
object_detection.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
object_processing.py Apply zone filter before inertia (#6854) 2023-06-30 07:15:55 -05:00
output.py Force birdseye cameras into standard aspect ratios (#7026) 2023-07-06 07:30:05 -05:00
plus.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
ptz.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
stats.py update deps (#6973) 2023-07-01 07:47:16 -05:00
storage.py Refactor storage stats calculation to use powers of 2 for more accurate values (#6765) 2023-06-11 14:49:13 -05:00
timeline.py Performance: multiprocessing improvement (#6936) 2023-06-28 05:39:39 -05:00
types.py Audio events (#6848) 2023-07-01 08:18:33 -05:00
util.py Performance: multiprocessing improvement: step 2 (#6986) 2023-07-06 07:56:38 -05:00
video.py reduce contention on frame_queue (#6890) 2023-07-06 08:18:39 -05:00
watchdog.py update deps (#6973) 2023-07-01 07:47:16 -05:00