Blake Blackshear
e10ddb343c
additional shutdown optimizations ( #5380 )
2023-02-04 08:58:45 -06:00
Blake Blackshear
624c314335
Fast restart ( #5378 )
...
* dont wait so long for queues
* implement stop methods for comms
* set the detection events on exit and return early from processing
* handle the stop event in the broadcast threads
* short circuit the detection process exit code if it already exited
* some logging for stats thread
* just keep the log process alive 1 second after the last log message
* ensure the multiprocessing queues are emptied and closed
* Update frigate/log.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
* Update frigate/log.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
* mypy fixes
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-02-03 20:15:47 -06:00
Anil Ozyalcin
b33094207c
YOLOX support for OpenVINO Detector ( #5285 )
...
* Initial commit to enable Yolox models with OpenVINO in Frigate
* Fix ModelEnumtType import error in openvino.py
* Initial edit of the docs to include verbage about yolox
* Initial edit of the docs to include verbage about yolox
* Elaborate configuration and limitations in docs.
* Add capability to dynamically determine number of classes in yolox model
* Further refinements
* Removed unnecesarry comments, improved documentation, addressed PR items
* Fixed lint formatting issues
2023-02-03 19:36:37 -06:00
jvrobert
7083a5c9b6
Try to limit nvidia GPU queries to included GPUs ( #5356 )
...
* Try to limit nvidia GPU queries to included GPUs
* ignore non digit GPU indexes
* formatting
* Formatting
* Remove trailing spaces
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-02-03 19:34:07 -06:00
Nicolas Mowen
db131d4971
Add Low latency preset ( #5367 )
...
* Create new low latency preset
* Update chart for new preset
2023-02-03 19:33:25 -06:00
James L
8d21c950a3
Name capture processes ( #5340 )
2023-02-01 17:49:18 -06:00
Blake Blackshear
f06e8b47be
Docs updates, fix recording warnings, default log level for ws4py ( #5294 )
...
* set default log level for ws4py
* proactively cleanup cache in all retain modes
* docs updates
* typo
* fix link
* updates
2023-01-30 17:42:53 -06:00
Nicolas Mowen
7edeaa3407
Add warning for below suggested SHM calculation ( #5312 )
...
* Add warning for below suggested SHM calculation
* Remove debug check
* Make names more clear
* Fix
* fix log
2023-01-30 17:42:23 -06:00
Nicolas Mowen
88b903ba39
Restart ffmpeg if process exceeds detect fps by 10 ( #5280 )
...
* Restart ffmpeg if process exceeds detect fps by 10
* Update frigate/video.py
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
* spelling
---------
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2023-01-29 17:20:42 -06:00
Blake Blackshear
7130d93616
warn if unable to keep up with moving segments ( #5264 )
2023-01-27 07:32:55 -06:00
James L
11054daebe
System page: add last updated time ago ( #5195 )
2023-01-27 06:20:41 -06:00
Nicolas Mowen
7926ddd008
Clear file before unlinking ( #5259 )
2023-01-27 06:16:40 -06:00
Nicolas Mowen
a63dd9bccd
Add low delay args to restream input args ( #5231 )
2023-01-25 18:39:35 -06:00
James L
07c635d822
Add config option to disable version check ( #5208 )
...
* Add config option to disable version check
* Add note to docs
2023-01-25 18:36:26 -06:00
Felipe Santos
feeb7107d5
Fix Frigate stuck at finishing when restarting from UI ( #5216 )
2023-01-24 07:27:57 -06:00
Nicolas Mowen
f52de322d3
Set hard frame rate limit ( #5210 )
2023-01-24 07:27:07 -06:00
Nicolas Mowen
924f946e46
Fix birdseye snapshot ( #5171 )
2023-01-20 20:40:55 -06:00
Felipe Santos
02df2a8bbd
Refactor s6 scripts to the new format ( #5135 )
...
* Refator s6 scripts to the new format
* Remove unneeded workaround
* Migrate logging to new s6 format
* Remove more unnecessary s6 variables
* Fix prepare-log and when go2rtc is not present in config
* Restart the whole container if either Frigate or go2rtc fails
* D
* Fix service name in finish
* Fix nginx finish comment
* Restart improvements
* Fix devcontainer
* Fix format
* Update Dockerfile
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2023-01-18 07:53:53 -06:00
Nicolas Mowen
19afb035ff
Rewrite restream ( #5106 )
...
* Tear out restream config
* Rework birdseye restream
* Create go2rtc config handler
* Fix bug
* Write start script
* Rework style
* Fix python run syntax
* Output as json instead of yaml
* Put old live config back and fix birdseye references
* Fix camera webUI
* Add frigate env var subsitutions
* Fix webui checks
* Check keys
* Remove unused prest
* Fix tests
* Update restream docs
* Update restream docs
* Update live docs
* Update camera specific recommendation
* Update more docs
* add links for the docs
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
* Update note about supported audio codecs
* Move restream to go2rtc
* Docs fixes
* Add verification of stream name
* Ensure that webUI uses camera name
* Update docs to reflect new live stream name
* Fix check
* Formatting
* Remove audio from detect
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
* Fix docs
* Don't handle env variable substitution
* Add go2rtc version
* Clarify docs
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2023-01-16 17:50:35 -06:00
Blake Blackshear
3bec28ffef
handle timezones with partial hour offsets ( #5115 )
...
* handle timezones with partial hour offsets
* cleanup
2023-01-16 17:17:03 -06:00
Nicolas Mowen
81b3fdb423
Pre clear retained messagse ( #5117 )
2023-01-16 17:16:46 -06:00
yeahme49
e39fb51dec
Add Save Only button to config editor ( #5090 )
...
* Add Save Only button to save config without restarting
* Fixes
* fix formatting
* change to query parameter from header
* lint fixes
2023-01-15 11:25:49 -06:00
Nicolas Mowen
367ac28a94
Fix qsv h265 ( #5095 )
2023-01-15 09:41:13 -06:00
Nicolas Mowen
99577a57e6
Add specific presets for restream and record with audio ( #5094 )
...
* Add more ffmpeg presets
* Update docs
* Update tests
* Update docs to optimize setup
2023-01-15 09:40:42 -06:00
Nicolas Mowen
01b9d4d848
Rework audio encoding for restream ( #5092 )
...
* Use memo for recordings timezone
* Add audio encoding field and simplify stream creation
* Update docs and tests
* Fix bad logic
2023-01-15 09:38:19 -06:00
Nate Meyer
60b2315028
Update library loading for tensorrt ( #5087 )
...
* Update library loading for tensorrt
* Add symlink to libnvrtc
2023-01-14 13:14:27 -06:00
Nicolas Mowen
e0b3b27b8a
Add option for live mode & timezone config, fix MSE check for iPad ( #5079 )
...
* Add config fields
* Clean up camera default values
* Set recordings timezone with config if available
* Adjust for timezone config
* Cleanup setting of the timezone
* Don't fail on MSE check iPad
* Fix MSE check for birdseye
* Add docs
* Fix test
2023-01-13 17:27:16 -06:00
James L
2031c3146f
System page: make clear if detect disabled ( #5075 )
2023-01-13 17:14:07 -06:00
Nicolas Mowen
2d76363da5
Catch FileNotFoundError when getting file system stats ( #5056 )
2023-01-13 07:22:47 -06:00
Nicolas Mowen
54bfa4679c
Simplify hwaccel filter args and fix qsv bugs ( #5054 )
...
* Simplify hwaccel filter args and fix qsv bugs
* Formatting
* Remove dead code
* Set framerate and size for rpi as well
2023-01-13 07:22:19 -06:00
Felipe Santos
95596b39fd
Capitalize the Frigate word ( #5044 )
2023-01-13 07:18:15 -06:00
Nicolas Mowen
cf2466c8c1
Fix recordings storage ( #5031 )
...
* Fix recordings storage
* Update record.py
* Update record.py
* Formatting
2023-01-12 05:53:38 -06:00
James L
ddcae2d4aa
Fix mem usage reporting when using docker limits ( #5011 )
...
* Fix mem usage reporting when using docker limits
* format code
* wip
2023-01-11 17:39:26 -06:00
sergeknystautas
731db8fb8f
Add in_progress parameter to /api/events to filter the results. ( #5013 )
...
* Add in_progress parameter to /api/events to filter the results.
* Change in_progress to default to no filtering, 0 means no in progress, 1 means only in progress.
* Fix code format with black.
* Clear blank line.
2023-01-11 17:22:39 -06:00
Nicolas Mowen
cb0c5c2587
Disable backchannel audio since it is not used ( #5021 )
...
* Disable backchannel audio since it is not used
* Don't need to block bachchannel audio for ffmpeg streams
* Formatting
2023-01-11 17:21:48 -06:00
Nicolas Mowen
ddde477770
Use scale_qsv and don't apply deinterlacing ( #4997 )
2023-01-11 06:11:26 -06:00
Nicolas Mowen
d49359e26a
Fix None filter for sub labels ( #4981 )
2023-01-09 19:44:26 -06:00
Nicolas Mowen
e79eab711a
Fix RPi preset ( #4968 )
2023-01-08 20:58:06 -06:00
Nicolas Mowen
61243ad34b
Make error messages for gpu stats more clear ( #4962 )
...
* Make error messages for gpu stats more clear
* Make error messages for gpu stats more clear
2023-01-08 14:00:46 -06:00
Blake Blackshear
1f963ec5aa
Fix raspberry pi hwaccel ( #4955 )
...
* use ffmpeg from raspbian repo
* dynamically choose timeout param
* invert logic
* Add hwaccel presets for rpi
Co-authored-by: Nick Mowen <nickmowen213@gmail.com>
2023-01-08 07:04:58 -06:00
Pierre Belanger
bcbf0061ff
Support for dynamic MQTT user configuration #4883 ( #4956 )
...
* Support for dynamic MQTT user configuration #4883
* Fix substitute condition & docs
2023-01-07 17:10:48 -06:00
Nicolas Mowen
57dce4ec38
Make label colors consistent ( #4951 )
2023-01-07 12:05:11 -06:00
Pavels Veretennikovs
47ac5ed522
fix: preset-http-jpeg-generic reference ( #4946 )
2023-01-07 07:21:18 -06:00
Nicolas Mowen
543cad5497
Only set colors for enabled objects ( #4936 )
...
* Only create colormap for enabled labels
* Fix assigning
2023-01-06 19:31:54 -06:00
Nicolas Mowen
d9c45a76fe
Don't recheck erroring hwaccel in http either ( #4935 )
...
* Don't recheck erroring hwaccel in http either
* Send error instead of empty for known erroring hwaccel
* Formatting
2023-01-06 19:31:25 -06:00
Nate Meyer
8ac3114f9a
Cleanup Detector labelmap ( #4932 )
...
* Add missing labels to default labelmap. Fill any holes with "unknown". Remove unique labelmap for tensorrt.
* Replace "truck" with "car" on Openvino labelmap
2023-01-06 07:03:16 -06:00
Nicolas Mowen
9ee367d9e9
Fix Other Stats Access Too ( #4917 )
2023-01-06 06:51:58 -06:00
Nicolas Mowen
64ab6580dc
Send blank hwaccel-error cache so logs will show when loading the stats page manually ( #4912 )
2023-01-05 06:27:57 -06:00
Nicolas Mowen
0a3295aa5c
Rewrite encoding logic and cleanup vaapi presets ( #4898 )
...
* Remove duplicated vaapi presets
* Move encoding to string with inputs and outputs
* Formatting
* Fix formatting
* Fix typo
* Remove vaapi encoder
2023-01-04 18:16:11 -06:00
Nicolas Mowen
ffa98a138b
Don't keep attempting gpu usage stats after failure ( #4904 )
...
* Don't log intel gpu top errors
* Keep list of errored hwaccel and don't send again
* Can log on first time
* Formatting & mypy
2023-01-04 18:12:51 -06:00