Blake Blackshear
6965d6e931
remove reference to the term credit
2024-02-11 09:31:45 -06:00
Nicolas Mowen and GitHub
00804a0f81
Don't fail if message is received before websocket start ( #9634 )
2024-02-05 17:53:16 -06:00
Josh Hawkins and GitHub
a33f2f117e
more robust onvif checks ( #9635 )
2024-02-05 17:52:47 -06:00
Nicolas Mowen and GitHub
50563eef8d
Nms optimize for stationary cars ( #9684 )
...
* Use different nms values for different object types
* Add tests
* Format tests
2024-02-05 17:52:06 -06:00
Nicolas Mowen and GitHub
97a619eaf0
Update Makefile for 0.13.2 ( #9687 )
2024-02-05 17:50:35 -06:00
Blake Blackshear and GitHub
34fb1c2ef5
Increase hash map size ( #9515 )
...
* bump version
* increase map hash size
2024-01-31 05:53:59 -06:00
Nicolas Mowen and GitHub
bf23a21486
Quick fix docs ( #9506 )
...
fixes https://github.com/blakeblackshear/frigate/issues/9505
2024-01-30 12:11:43 -06:00
Blake Blackshear and GitHub
01e2d209d0
Merge pull request #6262 from blakeblackshear/dev
...
0.13.0 Release
2024-01-30 07:30:11 -06:00
Nicolas Mowen and GitHub
27567b49db
Update go2rtc debug tip ( #9463 )
...
closes https://github.com/blakeblackshear/frigate/issues/9187
2024-01-30 06:14:53 -06:00
Blake Blackshear and GitHub
d15ab0922b
Docs updates ( #9476 )
...
* revamp plus docs
* consolidate label guidance
* add some common complete config examples
* clarify zone presence
* bottom center example of mask
* update recommended hardware
* update nav
* update getting started
* add openvino example
* explain why we track stationary objects
* move false positive guide to config folder
* fix link
* update record and parked car guide
* tweaks
2024-01-30 06:14:16 -06:00
leccelecce and GitHub
64a91f552f
Add info logging at startup if vacuuming database ( #9432 )
2024-01-26 07:18:29 -06:00
b1a034fbd4
false_positives.md: expand definition of ratios ( #9332 )
...
I found this thread pretty helpful: https://github.com/blakeblackshear/frigate/issues/8350#issuecomment-1782863838
I figured it'd be worth including in the docs themselves.
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2024-01-26 07:17:50 -06:00
Blake Blackshear
61d285ba13
Merge remote-tracking branch 'origin/master' into dev
2024-01-26 07:09:28 -06:00
65c47531f6
Update record docs to mention UTC ( #9248 )
...
* Update record docs to mention UTC
* Update docs/docs/configuration/record.md
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2024-01-26 06:02:26 -07:00
Nicolas Mowen and GitHub
393f44aac6
Use continuous instead of 24/7 ( #9329 )
2024-01-26 06:47:02 -06:00
700c0fb410
Create glossary for commonly used frigate terms ( #9356 )
...
* Add glossary with commonly used terms for frigate
* Link back to full docs pages
* Add glossary to sidebar
* Clarifications and grammar fixes
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2024-01-26 12:13:39 +00:00
Alex Errant and GitHub
346524c660
Add ghcr.io/blakeblackshear/frigate:stable-tensorrt example ( #9383 )
2024-01-22 05:08:31 +00:00
danielszilagyi and GitHub
487c626e00
Mention NVR setup ( #9404 )
2024-01-22 05:07:38 +00:00
Andreas Lindhé and GitHub
c5ccc0fb08
Fix typo: an environment variables ( #9157 )
2024-01-03 17:58:40 -06:00
Nicolas Mowen and GitHub
66701b9cf9
note that only 5MP reolink cameras support the recommended config ( #9190 )
...
* Make note that only 5MP and lower reolink cameras support the recommended config
* clarify
2024-01-03 17:40:43 -06:00
4c1d34f0e9
update docs to clarify variable substitution in go2rtc ( #9181 )
...
* update docs to clarify variable substitution in go2rtc
* update to complet
* cleanup spacing
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2024-01-03 17:39:51 -06:00
Nicolas Mowen and GitHub
86cd97609d
Remove mention of restream role from docs ( #9176 )
2024-01-03 17:39:30 -06:00
Nicolas Mowen and GitHub
8e419132ea
Clean user / pass from stats command line ( #9189 )
2024-01-03 07:30:25 -06:00
Nicholas Page and GitHub
49814b34d3
Update Jetson ffmpeg patch for Jetpack 5.1.2 compatibility ( #8914 )
2023-12-31 07:38:29 -06:00
kaydee123 and GitHub
7b71c21c12
Update reverse_proxy.md ( #9070 )
...
Spelling mistake
2023-12-24 19:55:07 +00:00
Nicolas Mowen and GitHub
c35c7da82a
Don't fail if deepstack detector times out ( #8979 )
2023-12-15 23:25:21 +00:00
Nicolas Mowen and GitHub
e390533760
Make recording docs more clear about 24/7 recording ( #8931 )
...
* Make recording docs more clear about 24/7 recording
* Add note about partial days
* remove `X`
2023-12-12 23:21:06 +00:00
64bee7a64f
Included caution about Snapcraft docker issues. ( #8925 )
...
* Included caution about Snapcraft docker issues.
* Accepted format suggestion from NickM-27
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-12-12 10:48:42 +00:00
Nicolas Mowen and GitHub
ca4e0dbc75
Fix ffmpeg input arg parsing ( #8924 )
2023-12-12 10:48:09 +00:00
Nicolas Mowen and GitHub
ee7eaff965
Don't fail if NaN is returned for segment duration ( #8923 )
2023-12-12 10:47:40 +00:00
Matti Hiljanen and GitHub
e512406764
Fix inertia calculation check ( #8890 )
2023-12-08 07:30:22 -06:00
Josh Hawkins and GitHub
a4f5ad3a94
Proxy websockets in devcontainers ( #8886 )
...
* proxy websockets
* remove whitespace
2023-12-08 01:08:35 +00:00
Blake Blackshear and GitHub
a47068922f
Update deps ( #8872 )
...
* update web deps
* update docs deps
* update gh actions
2023-12-07 06:09:20 -06:00
Nicolas Mowen and GitHub
f8153bdacc
Add docs specifically for reolink doorbell ( #8851 )
...
* Add docs specifically for reolink doorbell
* Update docs/docs/configuration/camera_specific.md
2023-12-04 18:46:54 -06:00
Nicolas Mowen and GitHub
0de800a8e5
don't fail on empty producers ( #8854 )
2023-12-04 18:46:26 -06:00
Nicolas Mowen and GitHub
ebcf25741b
Fix timeline overlay for in progress events ( #8852 )
2023-12-04 13:43:23 -07:00
Eric M and GitHub
eed08f534f
Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480 ( #8835 )
...
* Update output.py with NTSC DVT, Amcrest DV1 aspect ratio 704x480
* linter fix
2023-12-03 03:22:50 +00:00
Nicolas Mowen and GitHub
da5cf1867b
Clarify radeon env variable ( #8809 )
...
* Clarify radeon env variable
* Make note consistent for intel as well
2023-12-03 03:15:43 +00:00
Josh Hawkins and GitHub
cc5297f180
handle onvif connection failure in autotrack init ( #8838 )
...
* handle onvif connection failure in autotrack init
* remove whitespace and add consistency
* error message consistency
* more consistency
2023-12-03 03:14:52 +00:00
Nicolas Mowen and GitHub
f27025aef3
don't fail on go2rtc stream with no url ( #8839 )
2023-12-03 03:14:30 +00:00
Nicolas Mowen and GitHub
595fa3d111
Re-add support for go2rtc webrtc api ( #8828 )
2023-12-01 06:47:09 -07:00
Nicolas Mowen and GitHub
89051c1b90
Create Edgetpu troubleshooting docs ( #8827 )
...
* Link to edgetpu troublehsooting
* Add troubleshooting docs for edgetpu
* Add to sidebar
* Add section about dual edge tpu
2023-12-01 07:41:30 -06:00
Blake Blackshear and GitHub
f00ced5a33
Show bbox on in_progress events ( #8785 )
...
* fix default value in docs
* use default snapshot config for in progress
2023-11-29 23:37:53 +00:00
Nicolas Mowen and GitHub
9b003e175d
Don't incorrectly overwrite score history ( #8795 )
2023-11-29 23:37:28 +00:00
Blake Blackshear and GitHub
a490c375f4
Limit exposed go2rtc api to bare minimum ( #8762 )
...
* only permit GET requests to go2rtc
* bare minimum go2rtc passthrough
* support frigate card
* expose go2rtc streams data only
2023-11-27 18:25:47 -06:00
Nicolas Mowen and GitHub
15644a2b0c
Fix dark color scheme for exports ( #8770 )
2023-11-27 18:13:41 -06:00
Marc Altmann and GitHub
27cf1cdf15
Fix path of device tree on HassOS add on ( #8764 )
...
* fix device tree path for HassOS
* fix symlink call
* fix formatting
2023-11-27 18:13:12 -06:00
Jennifer and GitHub
fef6a7ca74
Update reverse_proxy.md ( #8763 )
...
Thhe
2023-11-27 18:12:57 -06:00
Blake Blackshear and GitHub
5c4501efbc
remove mqtt password from config api ( #8757 )
2023-11-26 15:45:16 -06:00
Justin Dhillon and GitHub
614a36af9f
Fix Broken Links ( #8711 )
...
* fixed broken link https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
* fixed broken link https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
* fixed broken link https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers
* fixed broken link https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers
2023-11-24 07:33:50 -06:00
Blake Blackshear and GitHub
a0bc3a3626
clarifications to guide based on feedback ( #8727 )
2023-11-24 07:33:30 -06:00
Nicolas Mowen and GitHub
18062eca06
Don't fail when tz is incorrect ( #8723 )
...
* Don't fail when tz is incorrect
* Fix import
2023-11-23 11:43:02 +00:00
Marc Altmann and GitHub
1dc42d2904
update github links ( #8705 )
2023-11-21 23:20:26 +00:00
Sergey Krashevich and GitHub
500d369c50
Fix: workaround for drawing non-latin characters ( #7686 )
...
* Add transliteration support to draw_box_with_label function
* isort
2023-11-21 02:05:51 +00:00
tpjanssen and GitHub
3dd0192fe6
Add rename exports function to API ( #8687 )
...
* Add rename exports function to API
* Update http.py
* Feedback
* Formatting fixes
* Update http.py
Formatting fix
* Update http.py
Lint fix
2023-11-20 19:11:18 -06:00
Marc Altmann and GitHub
1eb5105b24
Adding go2rtc presets for Rockchip hardware acceleration ( #8686 )
...
* add go2rtc presets for rk hw accel
* code formatting
* add docs about go2rtc presets
* Update comment
2023-11-20 19:10:44 -06:00
Sergey Krashevich and GitHub
463865db55
fix go2rtc run ( #8692 )
2023-11-20 19:09:40 -06:00
Sergey Krashevich and GitHub
ea247ca816
go2rtc 1.8.4 ( #8691 )
2023-11-21 01:07:54 +00:00
tpjanssen and GitHub
8864e33d1c
Customize regions grid overlay API ( #8668 )
...
* Customize regions grid overlay
* Update http.py
Fix
2023-11-19 14:51:54 +00:00
934b16723b
make go2rtc always rebuild config at startup ( #8664 )
...
* make go2rtc always rebuild config at startup
/dev/shm can be left mounted (in fact im pretty sure it's always left mounted) on the docker host after shutting down the frigate container.
If we only check that the file doesn't exist, stale data gets re-read every startup
This will make troubleshooting a nightmare for the average user.
I had given up troubleshooting go2rtc several times because of this.
* generate config after supervisor data is loaded
* Fix fi
* fix fi
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-11-19 07:08:42 -06:00
Blake Blackshear and GitHub
fc186e4d5f
update web deps ( #8663 )
2023-11-19 05:24:52 -06:00
Nicolas Mowen and GitHub
7d157dfeb0
Set max value for pre_capture ( #8656 )
2023-11-18 15:37:06 -06:00
Marc Altmann and GitHub
977eef9138
fix chrash after restart ( #8661 )
2023-11-18 15:36:24 -06:00
Josh Hawkins and GitHub
678f1201c6
use timeout for move queues ( #8662 )
2023-11-18 15:36:13 -06:00
Blake Blackshear and GitHub
4879de263b
Docs improvements ( #8641 )
...
* go all in on ruff
* upgrade docusaurus
* add netlify toml
* broken link
* fix netlify toml
* start filling out guide
* add debian setup detail
* simplify bash command
2023-11-18 08:04:43 -06:00
c6208b266b
Include libraries and .rknn models for other Rockchip SoCs ( #8649 )
...
* support for other yolov models and config checks
* apply code formatting
* Information about core mask and inference speed
* update rknn postprocess and remove params
* update model selection
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* support rknn on all socs
* apply changes from review and fix post process bug
* apply code formatting
* update tip in object_detectors docs
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-11-18 07:53:49 -06:00
Nicolas Mowen and GitHub
2da99c2308
Improve periodic sync reliability and make it optional ( #8647 )
...
* Improve recordings sync reliability
* Cleanup
* Formatting
* Make logs consistent
* Make syncing optional
2023-11-18 06:06:00 -06:00
Tibladar and GitHub
9ac40cd953
Add H265 preset for Raspberry Pi ( #8640 )
...
* Add h265 pi preset to preset docs
* Add h265 pi preset to hardware acceleration docs
* Add preset for raspberry pi h265
2023-11-17 01:09:15 +00:00
7522bb6fab
Add features to rknn detector ( #8631 )
...
* support for other yolov models and config checks
* apply code formatting
* Information about core mask and inference speed
* update rknn postprocess and remove params
* update model selection
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-11-17 01:08:41 +00:00
Josh Hawkins and GitHub
7b520e8a9d
use enabled_in_config for switch in HA integration ( #8630 )
2023-11-16 01:25:48 +00:00
Nicolas Mowen and GitHub
cadb1a6a5b
Fix reolink link in recommended hardware ( #8628 )
2023-11-16 01:25:16 +00:00
Nicolas Mowen and GitHub
97c15f7ef3
Update go2rtc to 1.8.3 ( #8627 )
2023-11-16 01:24:26 +00:00
9fa70c3455
Add vision pipeline diagram to documentation ( #7689 )
...
* Add vision pipeline diagram
* Moved pipeline to the Guides section
* Fixing segment storage and other flows
* Added text
* Update docs/docs/guides/video_pipeline.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Keeping case as other pages
* Changing sections to ##
* Update docs/docs/guides/video_pipeline.md
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
* Update docs/docs/guides/video_pipeline.md
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: cat101 <cat101@nowhere.com >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-11-16 01:23:44 +00:00
8c7f6d4a76
Add static FFmpeg with rockchip hardware acceleration to rk- image ( #8599 )
...
* add static ffmpeg with rockchip hw accel
* add ffmpeg presets
* fix scaling preset and update docs for rk hwaccel
* update usage info in ffmpeg_presets docs
* Add note about hardware acceleration support
---------
Co-authored-by: MarcA711 <>
2023-11-15 05:41:55 -06:00
Josh Hawkins and GitHub
266b4099b5
a few small onvif fixes and relativemove debug ( #8583 )
2023-11-15 05:41:41 -06:00
Sch0field9 and GitHub
a1e68a62d0
Update cameras.md ( #8556 )
...
Added Reolink RLC-823A 16x
2023-11-15 05:41:25 -06:00
Nicolas Mowen and GitHub
8a010fc1f5
Fix vaapi color mapping ( #8604 )
2023-11-14 00:35:29 +00:00
Nicolas Mowen and GitHub
563fdec211
Fix safari timezone ( #8574 )
...
* Fix safari bad time format
* Fix processing
2023-11-10 18:12:48 -06:00
Nicolas Mowen and GitHub
3457dcddfe
Don't run forever in autotracking ( #8579 )
2023-11-10 18:12:20 -06:00
Blake Blackshear and GitHub
57a06d2220
fix image tag ( #8560 )
2023-11-09 19:02:16 -06:00
Nicolas Mowen and GitHub
aa93d4fbdd
Fix nginx cache ( #8558 )
2023-11-09 16:09:25 -06:00
Nicolas Mowen and GitHub
d0036b2f77
Update go2rtc to 1.8.2 ( #8459 )
...
* Update go2rtc to 1.8.2
* Update docs for 1.8.2
2023-11-09 06:43:06 -06:00
Nicolas Mowen and GitHub
1b57f8c7e2
Show error when clicking on image before mask ( #8547 )
2023-11-09 06:42:19 -06:00
Nicolas Mowen and GitHub
fa96ec64e4
Detect Resolution Docs ( #8542 )
2023-11-09 06:41:50 -06:00
Josh Hawkins and GitHub
e89db13282
fix restart from webui ( #8541 )
2023-11-08 09:37:54 -07:00
fe6577736e
Tuning Motion guide ( #6877 )
...
* start working on motion guide
* Update motion_detection.md
* Add to sidebar
* Add title / ID
* Fix typos
* Fix typos and clarify
* Formatting
* Add default values from reference config for each section
* Small grammar fix
* Move to cameras section
* Updates
* Clarify and improve wording
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-11-08 14:04:27 +00:00
Blake Blackshear and GitHub
64537672e6
use skopeo to copy images ( #8539 )
2023-11-08 07:22:23 -06:00
Nicolas Mowen and GitHub
ef36aabd30
Make output writing asynchronous ( #8530 )
...
* Don't wait for frame write in output process
* Formatting
* Handle websocket exception
* Limit camera queeue size to 1 second
2023-11-07 16:24:56 -07:00
Nicolas Mowen and GitHub
ca84732574
Ensure storage cleanup doesn't fail ( #8531 )
2023-11-07 23:21:43 +00:00
Nicolas Mowen and GitHub
0b828ef1ec
Only cache json requests with nginx ( #8529 )
...
* Only cache json requests
* Use map instead
2023-11-07 23:18:58 +00:00
tpjanssen and GitHub
3359123364
Performance increase with lots of recordings ( #8525 )
...
* Performance increase with lots of recordings
* Formatting + review
* Update 020_update_index_recordings.py
Formatting
* Feedback + check fix
* Update 020_update_index_recordings.py
2023-11-07 23:18:26 +00:00
Nicolas Mowen and GitHub
cc5357a31a
Remove iterator from recordings events ( #8522 )
2023-11-07 07:02:02 -07:00
f1b60f76eb
Fix go2rtc UDP port default config ( #8469 )
...
* Fix go2rtc UDP port
* fix
* Use correct port
* fix comment
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-11-07 11:33:33 +00:00
Nicolas Mowen and GitHub
f29e152619
Revert TRT class id filtering ( #8497 )
2023-11-07 11:32:52 +00:00
Nicolas Mowen and GitHub
92906a500a
Fix event only datetime check ( #8500 )
2023-11-07 11:32:31 +00:00
Nicolas Mowen and GitHub
257bd89733
Reduce recording info timeout ( #8506 )
...
* Decrease timeout
* Use const for queue timeout
2023-11-07 11:32:11 +00:00
Josh Hawkins and GitHub
1d99bb908d
only use max target box for relative zoom limiter ( #8509 )
2023-11-07 11:31:39 +00:00
Nicolas Mowen and GitHub
591b91194a
Cleanup existing timeline entries ( #8495 )
...
* Cleanup existing timeline entries for beta users
* Formatting
2023-11-06 06:43:26 -07:00
Nicolas Mowen and GitHub
2b2c831253
Set the min region size as the model size ( #8486 )
2023-11-06 06:45:37 -06:00
tpjanssen and GitHub
08777100b5
Add /vod and /exports to Vite proxy config ( #8490 )
2023-11-06 06:44:53 -06:00
Nicolas Mowen and GitHub
a482160691
Cleanup timeline entries ( #8489 )
2023-11-06 06:42:10 -06:00
Nicolas Mowen and GitHub
89dd114da1
Write recording segments to cache with timezone info ( #8468 )
...
* Store recording segments with timezone info
* Don't use _
* Use different separator due to timezone
2023-11-05 14:30:29 -06:00
Nicolas Mowen and GitHub
4c05ef48a7
Add dependabot to tensorrt python deps ( #8455 )
2023-11-05 14:29:06 -06:00
Nicolas Mowen and GitHub
14c89c9b63
Fix periodic sync check ( #8472 )
...
* Fix periodic sync
* Formatting
2023-11-05 09:28:40 -07:00
Blake Blackshear and GitHub
65e3e67a83
avoid import error for non-rk builds ( #8454 )
...
* avoid import error for non-rk builds
* linter
2023-11-04 07:56:35 -05:00
Nicolas Mowen and GitHub
63233a5830
Periodically sync for stale recordings ( #8433 )
...
* Periodically cleanup recordings files / DB
* Make automatic sync limited ot last 36 hours
2023-11-04 02:21:29 +00:00
Nicolas Mowen and GitHub
4f7b710112
Don't fail on invalid class IDs for TensorRT detector ( #8438 )
...
* Don't fail on invalid class IDs
* Fix whitespace
* Make log warning
2023-11-04 02:19:58 +00:00
coperni and GitHub
ac53993f70
Add endpoint to restart Frigate ( #8440 )
...
* Add endpoint to restart Frigate
The only means of restarting Frigate remotely is to issue
a restart topic on the server's websocket. It's
convenient to also expose this capability via HTTP endpoint.
* Add new section to API docs
* Remove extra line
2023-11-04 02:19:29 +00:00
Josh Hawkins and GitHub
ef750e73a2
add motion mask recommendation ( #8448 )
2023-11-04 02:18:43 +00:00
Nicolas Mowen and GitHub
7270eef6bf
Don't fail on 0 rms ( #8447 )
2023-11-04 02:18:23 +00:00
b54aaad382
fix rknn.py ( #8434 )
...
Co-authored-by: MarcA711 <>
2023-11-03 00:12:54 +00:00
Josh Hawkins and GitHub
fc36be4f88
suppress error by overriding class func ( #8431 )
2023-11-02 23:24:14 +00:00
Blake Blackshear and GitHub
aefecad4c0
Update deps ( #8426 )
...
* update web deps
* other deps
2023-11-02 13:36:49 +00:00
Nicolas Mowen and GitHub
c57528cbcf
Fix rk build ( #8430 )
2023-11-02 13:36:34 +00:00
090294e89b
Initial support for rockchip boards ( #8382 )
...
* initial support for rockchip boards
* Apply suggestions from code review
apply requested changes
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* requested changes
* rewrite dockerfile
* adjust targets
* Update .github/workflows/ci.yml
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/object_detectors.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/object_detectors.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* add information to docs
* Update docs/docs/configuration/object_detectors.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* format rknn.py
* apply changes from isort and ruff
---------
Co-authored-by: MarcA711 <>
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-11-02 12:55:24 +00:00
Nicolas Mowen and GitHub
a6279a0337
Clean up RPi ffmpeg presets ( #8428 )
...
* Clean up rpi ffmpeg presets
* Remove from docs
* Put back encoding
2023-11-02 12:54:51 +00:00
wbradmoore and GitHub
37b82c0d60
Update getting_started.md ( #8420 )
...
fix configuring_go2rtc link
2023-11-02 06:20:19 -05:00
Blake Blackshear and GitHub
0dd3dd23aa
add support for docker secrets ( #8409 )
...
* add support for docker secrets
* check for directory first
2023-11-02 05:35:30 -05:00
Blake Blackshear and GitHub
4bd29b2ee8
fix build tag ( #8408 )
2023-11-02 05:35:19 -05:00
Nicolas Mowen and GitHub
cc79cbcadc
Improve robustness of storage maintenance ( #8411 )
...
* Improve robustness of storage maintenance
* Fix tests
* Fix test
2023-11-01 23:21:59 +00:00
Nicolas Mowen and GitHub
89366d7b12
Add endpoint to return camera frame with regions grid overlaid ( #8413 )
...
* Add endpoint to view grid overload on camera frame
* Add api to docs
* Formatting
2023-11-01 23:21:30 +00:00
Josh Hawkins and GitHub
6eff08eb2d
Add MQTT topic for active autotracking ( #8419 )
...
* prevent estimate clipping when autotracking
* use unclipped estimate in distance function only
* remove autotracking velocity changes
* publish on init
2023-11-01 23:20:26 +00:00
tpjanssen and GitHub
8b6b83bd62
Filtering on Frigate+ submits in frontend ( #8344 )
...
* Initial draft for filtering Frigate+ submits in frontend
* Hide filter when Frigate+ is not enabled
* Update http.py
* Revert "Update http.py"
This reverts commit fa292682d6 .
2023-11-01 23:19:46 +00:00
Nicolas Mowen and GitHub
8b6e3a0d37
Fix region when no data in grid ( #8415 )
...
* Fix region when no data in grid
* Make comment more clear
2023-11-01 23:19:17 +00:00
tpjanssen and GitHub
8a9b26df4e
Visit camera directly from system page ( #8405 )
...
* Visit camera directly from system page
* Processed all feedback
* Changed button caption
2023-11-01 07:08:59 -06:00
tpjanssen and GitHub
fd6a3bd5d2
API recordings snapsnot PNG fix ( #8401 )
...
* Update http.py
* Update http.py
Limit query results
2023-11-01 06:14:51 -05:00
Nicolas Mowen and GitHub
8085ad4b4c
Ensure that birdseye error correction uses a resolution that is divisible by 4 ( #8398 )
2023-11-01 06:13:12 -05:00
Josh Hawkins and GitHub
af24eb7dbf
Autotracking tweaks ( #8400 )
...
* optimize motion and velocity estimation
* change recommended fps and fix config validate
* remove unneeded var
* process at most 3 objects per second
* fix test
2023-11-01 06:12:43 -05:00
Blake Blackshear and GitHub
d1620b4e39
clean passwords when both rtsp and http present ( #8399 )
2023-10-31 08:04:42 -05:00
Nicolas Mowen and GitHub
ba603c1937
Make initialization configurable ( #8392 )
2023-10-30 20:26:31 -04:00
Nicolas Mowen and GitHub
e89dafa82e
Handle recording checks in utc ( #8379 )
...
* Handle recording checks in utc
* Formatting
2023-10-30 20:25:21 -04:00
Nicolas Mowen and GitHub
9d717b371c
Improve logic of birdseye ( #8375 )
...
* Improve logic of birdseye
* Formatting
2023-10-30 20:24:42 -04:00
Nicolas Mowen and GitHub
3d70d29672
Delete export if it fails ( #8381 )
...
* Delete export if it fails
* Fix import
2023-10-30 20:24:11 -04:00
Nicolas Mowen and GitHub
f1efd8dbe2
Use int for drawing box ( #8388 )
2023-10-30 19:53:29 -04:00
Blake Blackshear and GitHub
159fb51518
implement nginx caching ( #8333 )
...
* implement nginx caching
* bypass cache from frigate frontend, reduce to 5s
* set cache time to 2s
* cache 200s for 5s
* exclude vod endpoints from cache
2023-10-29 06:47:24 -05:00
Blake Blackshear and GitHub
cd64399fe5
add release workflow for images ( #8362 )
2023-10-28 10:08:53 -04:00
Blake Blackshear and GitHub
d72e1c38ae
plus docs clarification ( #8352 )
2023-10-28 10:08:29 -04:00
Sergey Krashevich and GitHub
979c49fd35
Update build_nginx.sh ( #8361 )
2023-10-28 06:35:11 -05:00
Josh Hawkins and Nicolas Mowen
16dc9f4bf7
update debug message
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
52b47a3414
empty assumption for events
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
139664e598
assumption on empty
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
441c605312
make sure entire segment is accounted for
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
def889e3a8
start_time is a datetime obj
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
613f1f6bd6
check frame time for segment
2023-10-26 17:32:58 -06:00
Josh Hawkins and Nicolas Mowen
e173377859
change warning to debug
2023-10-26 17:32:58 -06:00
Nicolas Mowen and GitHub
86c59c1722
Fix birdseye layout ( #8343 )
2023-10-26 18:23:39 -04:00
Josh Hawkins and GitHub
a399cb09fa
Autotracking tweaks and docs update ( #8345 )
...
* refactor thresholds and reduce a duplicate call
* add camera to docs
* udpate docs
2023-10-26 18:21:58 -04:00
Nicolas Mowen and GitHub
5a46c36380
Add other known birdseye aspect ratios ( #8322 )
...
* Add other known birdseye aspect ratios
* Formatting
2023-10-26 06:21:26 -05:00
Shaun Berryman and GitHub
36c1e00a6b
MQTT: Birdseye enabled/disabled and mode change support ( #8291 )
...
* support enabled and mode change for birdseye via mqtt
* resolve feedback from PR review
https://github.com/blakeblackshear/frigate/pull/8291#discussion_r1370083613
* change birdseye mode topic to set
* type in the docs
* these commented out lines should have never been in here
2023-10-26 06:20:55 -05:00
tpjanssen and GitHub
859ab0e7fa
Show event duration in landscape mode ( #8301 )
...
* Show event duration in landscape mode
* Update Events.jsx
2023-10-26 06:20:28 -05:00
Nicolas Mowen and GitHub
cf2b56613f
Don't overwrite event while cleaning up expired cameras ( #8320 )
2023-10-26 06:20:06 -05:00
Nicolas Mowen and GitHub
1a9e00ee49
Add count of audio labels to active count ( #8310 )
...
* Add count of audio labels to active count
* Formatting
2023-10-24 19:26:46 -04:00
Josh Hawkins and GitHub
b9649de327
Don't generate region boxes from motion when autotracking ( #8306 )
...
* no region boxes from motion boxes when ptz moving
* debug contours and calibration
* remove debugging
* clarifying comment
2023-10-24 19:25:22 -04:00
Nicolas Mowen and GitHub
823550eed3
Reduce zones for timeline ( #8300 )
2023-10-24 19:24:59 -04:00
Nicolas Mowen and GitHub
c141362614
Use norfair uninitialized score history for tracked object and update false positive docs ( #8299 )
...
* Update docs
* Use norfair score history to start object history
* Formatting
2023-10-24 19:24:30 -04:00
e0e8a6fcc9
Add --validate-config option for CI config validation ( #8222 )
...
* add `--validate-config` option for CI config validation
Signed-off-by: Russell Troxel <russell.troxel@segment.com >
* Fix Lint
Signed-off-by: Russell Troxel <russell.troxel@segment.com >
* Add docs & test live
Signed-off-by: Russell Troxel <russell.troxel@segment.com >
* Update docs/docs/configuration/advanced.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Fix Lint
Signed-off-by: Russell Troxel <russell@troxel.io >
---------
Signed-off-by: Russell Troxel <russell.troxel@segment.com >
Signed-off-by: Russell Troxel <russell@troxel.io >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-10-23 20:33:52 -06:00
Nicolas Mowen and GitHub
0b858419d1
re-enable init delay ( #8283 )
2023-10-23 20:50:22 -04:00
Nicolas Mowen and GitHub
2fb7200fb7
Revamp object consolidation logic ( #8289 )
...
* Separate object reduction to own function and reduce confidence of boxes on edge of region
* Add tests for different scenarios
* Formatting
2023-10-23 20:20:21 -04:00
Nicolas Mowen and GitHub
e9376ca285
Fix bug on bad storage stats read ( #8275 )
2023-10-22 13:35:19 -05:00
Nicolas Mowen and GitHub
cff4b9651f
Fix long webrtc connections failing ( #8273 )
...
* Fix webrtc timing out
* Only close pc
2023-10-22 13:34:56 -05:00
Josh Hawkins and GitHub
9df5927ac5
Autotracking bugfixes and zooming updates ( #8103 )
...
* zoom in/out in search for lost objects
* predicted box should not be empty
* clean up and update zoom logic
* only zoom if enabled
* more cleanup
* check for valid velocity when zooming
* only try absolute zoom in if obj area has changed
* zoom logic
* don't enqueue lost object zoom if already at limit
* don't disable motion boxes during ptz moves
* velocity threshold based on move coefficients
* fix area zoom logic
* disable debug zoom
* don't process objects if ptz moving
* recalc with exponent
* change exponent
* remove lost object zooming
* increase distance threshold for stationary object
* increase distance threshold constant
* only zoom out if nonzero
* camera name in all debug logging
* add camera name to debug logging
* camera variable name consistency
* update calibration behavior and docs
* docs and better zooming
* more sensible target values
* docs wording
* fix velocity threshold variable
* zooming tweaks and remove iou for current objects
* debug and docs
* get valid velocity
* include zero
* additional debug statements
* add zoom hysteresis
* zoom on initial move if relative
* only update target box if we actually zoom
* merge dev
* use getattr instead of get
* increase distance threshold
* reverse logic
* get_camera_status after preset move to store zoom
* final tweaks and docs
* use constants and catch possible debug exception
* adjust zoom factor exponent
* don't run motion estimation when calling preset
* adjust dimension threshold
* use numpy for velocity estimate calcs
* more numpy conversion
* fix numpy shapes
* numpy zeros dimension
* more zoom out conditions
* fix velocity bug
* ensure init has been called in debug view
* ensure onvif init if enabling by mqtt
* change default hysteresis values
* recalc relative zoom value
* zoom out value
* try to zoom when object isn't moving
* try zoom when tracked object is not moving
* don't try to zoom every time
* negate zoom out condition when needed
* hysteresis constants for absolute zooming
* update zoom conditions
* don't recalc target box on zoom only
* zoom out if above area threshold
* don't print zooming debug for stationary obj
* revamp zooming to use area moving average
* zooming tweaks and expose property
* limit zoom with max target box
* use calibration to determine zoom levels
* zoom logic fix
* docs
* add tapo c200 camera
* fix initial absolute zoom
* small zoom logic fix
* better invalid velocity checks
* fix test
* really fix test this time
2023-10-22 12:59:13 -04:00
Nicolas Mowen and GitHub
29f82add72
Fix player height ( #8270 )
2023-10-22 09:40:32 -05:00
d102ebf855
[CHANGE] More resilient and slightly faster PTZ ( #8009 )
...
* [CHANGE] More resilient and slightly faster PTZ
* Make "Check Black" happy.
* Make "check black" happier
* Remove unused named exception
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-10-22 09:08:05 -05:00
Nicolas Mowen and GitHub
cb3990a0ac
Catch ws reset error ( #8266 )
...
* Catch ws reset error
* Formatting
2023-10-22 06:23:31 -04:00
Blake Blackshear and GitHub
9fc93c72a0
more consistent use of iterators in select queries ( #8258 )
2023-10-21 10:53:33 -05:00
Blake Blackshear and GitHub
e13a176820
Update deps ( #8261 )
...
* update web deps
* update python deps
* actions deps
2023-10-21 10:53:21 -05:00
Blake Blackshear and GitHub
1e71e36056
fix route for stats and version ( #8263 )
2023-10-21 10:40:46 -05:00
Blake Blackshear and GitHub
18545718c1
refactor and disable access logs for stats and version ( #8259 )
2023-10-21 08:15:24 -05:00
Blake Blackshear and GitHub
c8b38bdd47
address codeql scan results ( #8260 )
2023-10-21 08:08:03 -05:00
Nicolas Mowen and GitHub
e80b6d9e5b
Use different consolidation requirement depending on label ( #8249 )
2023-10-20 19:29:52 -04:00
Josh Hawkins and GitHub
ee1e1b748c
fix logic error in preset fetch ( #8245 )
2023-10-20 19:27:47 -04:00
Nicolas Mowen and GitHub
0c2f3a9702
Adjust motion calibration to be more dynamic ( #8250 )
...
* Adjust motion calibration to be more dynamic
* isort
2023-10-20 19:22:38 -04:00
Nicolas Mowen and GitHub
a3c0e30502
Use existing bounding box for region when object is stationary ( #8248 )
2023-10-20 19:21:34 -04:00
Nicolas Mowen and GitHub
b4d5a3ef14
Fix dangling webrtc connections ( #8251 )
...
* fix dangling webrtc connections
* Make more efficient
* Close pc as well
2023-10-20 19:20:38 -04:00
tpjanssen and GitHub
facd557f8c
Change camera stats to be more structured ( #8151 )
...
* Change camera stats to be more structured
* Update stats.py
* Update stats.py
* Update System.jsx
Front end also breaks due to moved camera stats
2023-10-19 17:15:47 -05:00
Miguel Valenzuela and GitHub
ac41b6e181
Update Output Args Presets AAC ( #8161 )
...
* Update Output Args Presets AAC
Upon researching the nuances of preset-record-generic-audio-copy & preset-record-generic-audio-aac
https://github.com/blakeblackshear/frigate/blob/4c7ea01137d5046879355e35fe9e260d1624d031/frigate/ffmpeg_presets.py#L341
https://ffmpeg.org/ffmpeg.html#Main-options
https://stackoverflow.com/questions/70148683/will-ffmpeg-try-to-transcode-to-same-encoding
I'd suggest to disambiguate what these two do
* fix: lowercase
2023-10-19 17:14:56 -05:00
Nicolas Mowen and GitHub
12487b3b60
Sync stationary object checks ( #8238 )
...
* Sync stationary object checks for all objects on a camera
* Formatting
2023-10-19 17:14:33 -05:00
Sergey Krashevich and GitHub
8f349a6365
use sum() instead of len() to count only enabled cameras ( #8232 )
2023-10-19 17:14:06 -05:00
Nicolas Mowen and GitHub
91f7d67c5e
Smarter Regions ( #8194 )
...
* Smarter Regions
* Formatting
* Cleanup
* Fix motion region checking logic
* Add database table and migration for regions
* Update region grid on startup
* Revert init delay change
* Fix mypy
* Move object related functions to util
* Remove unused
* Fix tests
* Remove log
* Update the region daily at 2
* Fix logic
* Formatting
* Initialize grid before starting processing frames
* Move back to creating grid in main process
* Formatting
* Fixes
* Formating
* Fix region check
* Accept all but true
* Use regions grid for startup scan
* Add clarifying comment
* Fix new grid requests
* Add tests
* Delete stale region grids from DB
2023-10-18 18:21:52 -05:00
Nicolas Mowen and GitHub
98200b7dda
Fix recording segment management ( #8220 )
...
* Fix timing error
* Downgrade logs
2023-10-18 18:18:22 -05:00
Nicolas Mowen and GitHub
282cbf8f40
Add FAQ item for cameras with bad sub streams ( #8224 )
2023-10-18 18:17:53 -05:00
winstona and GitHub
cd35481e92
Fix recording events intermittently missing ( #8162 )
...
* fix queues not emptying fully by changing gets to a blocking call with short timeout
* add extra error/warning messages when there's a possibility of missing recording segments
2023-10-18 06:52:48 -05:00
Nicolas Mowen and GitHub
126aed2798
Include non-free in hwaccel deps types ( #8203 )
2023-10-17 21:18:50 -04:00
Nicolas Mowen and GitHub
efbc094bbc
Fixes for ongoing events ( #8208 )
...
* Refresh ongoing and standard events
* Collapse ongoing when props are set
* Fix
2023-10-17 21:18:06 -04:00
Nicolas Mowen and GitHub
c7b2c6b95d
Pin all hwaccel deps ( #8191 )
2023-10-17 06:37:40 -05:00
Nicolas Mowen and GitHub
1bdfc380c3
Delete timeline items along with event ( #8192 )
2023-10-17 06:37:07 -05:00
Sergey Krashevich and GitHub
cac37e484d
Upd: go2rtc v1.8.1 ( #8166 )
...
* go2rtc v1.8.0
* 1.8.1
2023-10-16 06:42:24 -05:00
Blake Blackshear and GitHub
4469507e5b
dont set has_clip to false unless the event is older ( #8179 )
2023-10-15 13:31:56 -05:00
8626160df2
Show ongoing events at top of events page ( #8168 )
...
* Show ongoing events separately
* Separate to separate event function
* Change icon type
* Hide in progress when date range search occurs
* Collapse in progress when filtering
* Fix event overlay
* Make tooltip more clear
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-10-15 13:01:44 -04:00
Nicolas Mowen and GitHub
d4d2bb2521
Remove sizing on summary icons ( #8169 )
2023-10-15 08:14:44 -05:00
e545dfc47b
Websocket changes ( #8178 )
...
* use react-use-websockets
* check ready state
* match context shape
* jsonify dispatch
* remove unnecessary ready check
* bring back h
* non-working tests
* skip failing tests
* upgrade some dependencies
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com >
2023-10-15 08:14:20 -05:00
Blake Blackshear and GitHub
9ea10f8541
Don't zero out motion during calibration ( #8163 )
...
* don't zero out motion boxes
* define detect resolution to speed up tests
2023-10-14 08:05:44 -04:00
fa6c6c50d0
Support ManagedMediaSource and update docs to reflect iOS 17.1+ supports MSE ( #8160 )
...
* Refactor media source handling in MsePlayer.js and Birdseye.jsx to support ManagedMediaSource
* lint
* Update docs to reflect iOS supporting mse
---------
Co-authored-by: Sergey Krashevich <svk@svk.su >
2023-10-13 19:17:09 -05:00
Nicolas Mowen and GitHub
4c7ea01137
Don't print ffprobe stdout logs ( #8153 )
2023-10-13 17:04:38 -05:00
Nicolas Mowen and GitHub
34b315cc8c
Fix bug forcing rtsp for audio detection ffmpeg process ( #8156 )
...
* Fix forcing rtsp for audio process
* Send as list
2023-10-13 17:03:04 -05:00
Nicolas Mowen and GitHub
9b687d77ce
Add support for nvidia decoder and encoder utilization stats ( #8150 )
...
* Add encoder and decoder stats to nvidia hwaccel stats
* Fix
* Fix
2023-10-13 09:44:18 -05:00
tpjanssen and GitHub
e32bd4ab15
Added audio sensors to camera metrics and API stats ( #8109 )
...
* Added audio sensor to camera metrics and API stats
* Update types.py
* Update app.py
2023-10-13 06:17:41 -05:00
Nicolas Mowen and GitHub
e19c0668e7
Require init delay ( #8126 )
2023-10-13 06:16:36 -05:00
Nicolas Mowen and GitHub
869bb2b177
clarifications and fixes for live go2rtc example ( #8132 )
...
* clarifications and fixes for live go2rtc example
* fix
2023-10-13 06:15:39 -05:00
Nicolas Mowen and GitHub
3869b274e2
Add note about recording retention to manual event docs ( #8141 )
2023-10-13 06:14:55 -05:00
Nicolas Mowen and GitHub
2379e6fd1b
Support TiB in storage calculation ( #8142 )
2023-10-13 06:14:24 -05:00
Nicolas Mowen and GitHub
dcafcc1320
Fix Config success message ( #8121 )
...
* Fix saved message
* Fix save mask
2023-10-10 08:23:18 -05:00
Nicolas Mowen and GitHub
d508088bd0
Add audio role to camera config docs ( #8113 )
2023-10-09 18:16:34 -05:00
Felipe Santos and GitHub
97e5a98b95
Fix jetson docker build with old apt key ( #8112 )
...
* Fix jetson docker build with old apt key
* Fix CI
2023-10-09 18:16:05 -05:00
Nicolas Mowen and GitHub
68ebd55425
Lower min scores for person and car in plus docs ( #8114 )
2023-10-09 18:15:23 -05:00
tpjanssen and GitHub
a82334ca1c
API enhancements ( #8107 )
2023-10-09 08:52:26 -05:00
Nicolas Mowen and GitHub
d7ddcea951
Show settings cog for camera toggles on mobile ( #8098 )
...
* Show settings cog on mobile
* Cleanup ui and remove label
* Fix tests
2023-10-08 14:49:41 -05:00
Daniel and GitHub
cc6e049966
Change multiselect camera icon ( #8016 )
...
* CenterFocusString icon
* Add CenterFocusString to multiselect
* Rename CenterFocusString.jsx
* Rename icon and make it smaller
* Rename icon
* Fix lint and use icon
for speech
* remove unused vars
* Remove unused import
2023-10-08 14:30:53 -05:00
Josh Hawkins and GitHub
dbd21eb6fa
use getattr instead of get ( #8094 )
2023-10-08 14:30:23 -05:00
Nicolas Mowen and GitHub
e1a6398219
Fix trt build ( #8091 )
2023-10-07 09:51:02 -05:00
Nicolas Mowen and GitHub
7f5fba08b7
Fix export name ( #8090 )
2023-10-07 08:40:20 -06:00
Tyler Fisher and GitHub
c35e8371be
corrected a typo in the "Configuring Minimum Volume" section. ( #8012 )
2023-10-07 09:23:49 -05:00
Nicolas Mowen and GitHub
49e7723405
Add debug logs for audio labels ( #8080 )
2023-10-07 09:23:11 -05:00
Nicolas Mowen and GitHub
52cc707eb8
Consider new attribute a significant change ( #8054 )
...
* Consider new attribute a significant change
* Update object_processing.py
2023-10-07 09:22:45 -05:00
tpjanssen and GitHub
c47b02d2fe
Added filter option for min/max score for event to API function /events ( #8079 )
...
* Update api.md
* Update api.md
* Added filter option for min/max score for event to API function /events
* Added filter for submitted events
* Update http.py
2023-10-07 09:22:14 -05:00
Felipe Santos and GitHub
3a460133d4
Add docker healthcheck ( #8006 )
...
* Add docker healthcheck
* Fix unknown start-interval
* Add HEALTHCHECK for tensorrt and bump default start-period
* Move healthcheck to deps stage
2023-10-07 09:21:03 -05:00
Josh Hawkins and GitHub
67a5a7d21a
onvif: use preset token if name is unsupported ( #8046 )
...
* onvif: use preset token if name is unsupported
* move parenthesis
2023-10-07 09:20:42 -05:00
theawes0megamer and GitHub
5d2b87e077
Update ESXi instructions ( #8018 )
2023-10-07 09:20:29 -05:00
Josh Hawkins and GitHub
8298806028
update list of onvif capable cams ( #8021 )
...
* update list of onvif capable cams
* clarify hikvision
* wording
* hikvision
* add sunba and ctronics from forum reports
* add cams
2023-10-07 09:20:10 -05:00
Nicolas Mowen and GitHub
8cc7acd591
Zone docs ( #8047 )
...
* Update zone docs
* Document zone inertia in zone docs
2023-10-07 09:19:56 -05:00
Nicolas Mowen and GitHub
8bde914939
Fix a couple bugs ( #8045 )
2023-10-07 09:18:34 -05:00
Josh Hawkins and GitHub
fe9fcf3eaa
remove erroneous check for move threads ( #8031 )
2023-10-07 09:18:07 -05:00
Josh Hawkins and GitHub
20c2ab39bc
disable zooming if relative zoom not supported ( #8028 )
2023-10-07 09:17:54 -05:00
Nicolas Mowen and GitHub
08ef69bac4
Add recordings timeline entry for frigate+ attributes ( #8063 )
...
* Add attribute item to timeline
* Add face icon
* Add support for other icons
* Cleanup
* Ensure attributes are only updated once
* don't show _ in attributes
2023-10-07 09:17:18 -05:00
Nicolas Mowen and GitHub
79fabbb6b0
Fix recording snapshot time range ( #8073 )
...
* Fix recording snapshot time range
* Formatting
* Formatting
2023-10-07 09:16:12 -05:00
Nicolas Mowen and GitHub
8941aa5311
Ensure deleted export file name is safe ( #8089 )
...
* Ensure deleted export file name is safe
* Fix import
2023-10-07 09:12:48 -05:00
Blake Blackshear and GitHub
14d2b79c72
Security fixes ( #8081 )
...
* use safeloader
* use json responses wherever possible
* remove CORS and add CSRF token
* formatting fixes
* add envjs back
* fix baseurl test
2023-10-06 22:20:30 -05:00
Nicolas Mowen and GitHub
9a4f970337
Set default min score for attributes labels to 0.7 ( #8001 )
...
* Set min score for attributes to 0.7
* Allow other fields to be set
2023-09-30 07:38:15 -05:00
Josh Hawkins and GitHub
22b9507797
add image of debug view ( #8003 )
2023-09-30 06:25:39 -05:00
Nicolas Mowen and GitHub
37379e6fba
Update autotracking gif ( #8002 )
2023-09-29 20:08:15 -05:00
Nicolas Mowen and GitHub
232588636f
Force birdseye to standard aspect ratio ( #7994 )
...
* Force birdseye to standard aspect ratio
* Make rounding consistent
* Formatting
2023-09-29 17:53:45 -05:00
Josh Hawkins and GitHub
e77fedc445
docs for onvif camera support ( #7999 )
...
* docs for onvif camera support
* fix warning
* warning to caution
* update table
* centering
* no autotracking for reolinks
* zoom only for 511WA
2023-09-29 17:52:57 -05:00
Josh Hawkins and GitHub
ead03c381b
Autotracking improvements and bugfixes ( #7984 )
...
* add zoom factor and catch motion exception
* reword error message
* check euclidean distance of estimate points
* use numpy for euclidean distance
* config entry
* use zoom factor and zoom based on velocity
* move debug inside try
* change log type to info
* logger level warning
* docs
* exception handling
2023-09-28 18:21:37 -05:00
Nicolas Mowen and GitHub
0048cd5edc
Pull radeon driver from bookworm ( #7983 )
2023-09-28 18:20:48 -05:00
On Freund and GitHub
56dfcd7a32
Update CAP_PERFMON instructions on hardware_acceleration.md ( #7957 )
...
* Update CAP_PERFMON instructions on hardware_acceleration.md
* Three -> there
2023-09-28 18:20:09 -05:00
Nicolas Mowen and GitHub
9f3ac19e05
Limit max player height ( #7974 )
2023-09-28 18:01:23 -05:00
Josh Hawkins and GitHub
50f13b7196
thread lock for move queues ( #7973 )
2023-09-28 18:01:05 -05:00
tpjanssen and GitHub
50b17031c4
Update api.md ( #7971 )
...
* Update api.md
* Update api.md
2023-09-28 18:00:32 -05:00
mvn23 and GitHub
d11c1a2066
Update camera_specific.md ( #7694 )
...
Add information for TP-Link VIGI stream settings
2023-09-27 06:19:29 -05:00
Josh Hawkins and GitHub
27144eb0b9
Autotracker: Basic zooming and moves with velocity estimation ( #7713 )
...
* don't zoom if camera doesn't support it
* basic zooming
* make zooming configurable
* zooming docs
* optional zooming in camera status
* Use absolute instead of relative zooming
* increase edge threshold
* zoom considering object area
* bugfixes
* catch onvif zooming errors
* relative zooming option for dahua/amcrest cams
* docs
* docs
* don't make small movements
* remove old logger statement
* fix small movements
* use enum in config for zooming
* fix formatting
* empty move queue first
* clear tracked object before waiting for stop
* use velocity estimation for movements
* docs updates
* add tests
* typos
* recalc every 50 moves
* adjust zoom based on estimate box if calibrated
* tweaks for fast objects and large movements
* use real time for calibration and add info logging
* docs updates
* remove area scale
* Add example video to docs
* zooming font header size the same as the others
* log an error if a ptz doesn't report a MoveStatus
* debug logging for onvif service capabilities
* ensure camera supports ONVIF MoveStatus
2023-09-27 06:19:10 -05:00
Josh Hawkins and GitHub
64705c065f
update docs sidebar for go2rc 1.7.1 ( #7946 )
2023-09-27 06:11:37 -05:00
Nicolas Mowen and GitHub
08eefd8385
Fix frame height default value in docs ( #7947 )
2023-09-27 06:11:23 -05:00
Blake Blackshear and GitHub
705ee54315
plus docs update ( #7964 )
...
* plus docs update
* add attribute labels
2023-09-27 06:10:53 -05:00
Nicolas Mowen and GitHub
e26bb94007
Add seconds to exports ( #7955 )
2023-09-27 06:10:37 -05:00
Nicolas Mowen and GitHub
1aba8c1ef5
Refactor time filter ( #7962 )
...
* Add ability to filter events by start time
* Add tests
* Add time param to events
* Add time picker
* Update docs
* Catch overnight case
Update comment
* Cleanup
* Fix tests
2023-09-27 06:09:38 -05:00
Nicolas Mowen and GitHub
f92237c9c1
Fix recording timeline info text in light mode ( #7963 )
2023-09-27 06:08:58 -05:00
Blake Blackshear and GitHub
0858859939
Dep updates ( #7933 )
...
* update actions
* web deps
2023-09-24 07:00:41 -05:00
Nicolas Mowen and GitHub
1c27ee2d2b
Increase initial hit count for norfair tracker ( #7925 )
...
* Increase initial hit count of tracked object
* Formatting
2023-09-24 06:32:43 -05:00
Nicolas Mowen and GitHub
08586f8f65
Fix case where camera is disabled but autotrack is enabled ( #7914 )
2023-09-24 05:05:29 -05:00
Blake Blackshear and GitHub
cfd04d164e
add more robust plus documentation ( #7905 )
...
* add more robust plus documentation
* rename page
* note changing circumstances
2023-09-22 07:35:04 -05:00
Nicolas Mowen and GitHub
fa2e4993d9
fix typo ( #7903 )
2023-09-21 17:08:31 -05:00
Nicolas Mowen and GitHub
080d7a2d88
Update go2rtc to 1.7.1 ( #7657 )
...
* Update go2rtc to 1.7.0
* Update docs references
* Add docs for homekit restream
* Exit with better error message when substitution is not correct
* Formatting
* Fix pin
* Update go2rtc dep
* Update go2rtc docs references
* Fix name
* Mute player by default
* Remove homekit mention
2023-09-21 06:52:46 -06:00
Nicolas Mowen and GitHub
7d0216b8fb
Improve default timelapse args and make timelapse customizable ( #7840 )
...
* Add args to ignore audio and only process keyframes
* Add timelapse args to config
* Update docs
* Formatting
* Fix spacing
* Fix formatting
* add example of math for pts
2023-09-21 06:20:05 -06:00
Scott Stancil and GitHub
c743dfd657
Add capability to link directly to an event ID in the web UI ( #7803 )
...
* Add capability to link directly to an event ID in the web UI
* Move event ID to searchParams, add View All button
* Use searchParams inside eventsFetcher
2023-09-21 05:27:23 -05:00
Nicolas Mowen and GitHub
4a6579527b
Add docs for audio volume config ( #7807 )
...
* Add docs for audio volume
* fix typo
2023-09-21 05:26:44 -05:00
Nicolas Mowen and GitHub
fd9196ae3e
add note about network bandwidth permissions and don't set interfaces by default ( #7813 )
...
* add note about network bandwidth permissions
* Update default net int
* Set default network interfaces to empty
* Don't read interfaces if none are set
* Formatting
* Add stderr output
2023-09-21 05:26:22 -05:00
Josh Hawkins and GitHub
a3eccce8f3
use useEffect for key listeners on camera control panel ( #7827 )
...
* use useEffect for key listeners
* dependencies
* useCallbacks
2023-09-21 05:25:57 -05:00
Nicolas Mowen and GitHub
111933d3b4
Refactor Exports To Better Handle Recording Configs ( #7846 )
...
* Refactor export logic
* Fix param
* Ensure float is used
* Fix variable assignment
* Fix range
* Formatting
2023-09-21 05:24:49 -05:00
Nicolas Mowen and GitHub
76d4f16db3
Add cancel button to delete starred event dialog ( #7853 )
2023-09-21 05:24:12 -05:00
Nate Meyer and GitHub
0d6bb6714a
Add support for selecting a specific GPU to use when converting TRT models ( #7857 )
2023-09-21 05:23:51 -05:00
Nicolas Mowen and GitHub
5d30944d6e
Add fire alarm to default audio labels ( #7854 )
...
* Add fire alarm to default audio list
* Update docs for default audio label list
* Update audio detectors with default label list
2023-09-21 05:23:26 -05:00
Nicolas Mowen and GitHub
3797340efa
Set export sub process to be lower priority ( #7862 )
2023-09-21 05:22:35 -05:00
Nicolas Mowen and GitHub
8728139ae3
Fix birdseye exception handling ( #7864 )
2023-09-21 05:22:11 -05:00
Nicolas Mowen and GitHub
730851cda9
Remove frame interval for qsv timelapse output args ( #7873 )
2023-09-21 05:21:53 -05:00
Nicolas Mowen and GitHub
46412e99d9
revert 1/2 min region size ( #7883 )
2023-09-21 05:21:32 -05:00
Nicolas Mowen and GitHub
e5664826b1
Add ability to play and delete exports from webUI ( #7882 )
...
* add ability to playback exports on exports screen
* Add ability to delete exports from exports screen
* Fix large dialog
* Formatting
2023-09-21 05:20:57 -05:00
Nicolas Mowen and GitHub
9a1c8b2cc4
Remove maximum inertia constraint ( #7890 )
2023-09-21 05:20:26 -05:00
Nicolas Mowen and GitHub
6aedc39a9a
Remove quotes from tensorrt env variable example ( #7823 )
2023-09-16 05:00:07 -05:00
Nicolas Mowen and GitHub
b9e6afa659
Fix webUI success / error messages ( #7820 )
...
* Fix export error handling
* Ensure that config editor success / error is updated each time
* Set response
* Formatting
2023-09-16 04:59:50 -05:00
Nicolas Mowen and GitHub
9185753322
Fix Python Dependabot ( #7762 )
2023-09-11 17:07:51 -05:00
Nicolas Mowen and GitHub
a1b50d2cf4
Update python deps ( #7763 )
2023-09-11 17:07:29 -05:00
a2206bb177
Reduce database queries to necessary fields ( #7751 )
...
* Reduce database queries to necessary labels
* Set columns for other queries
* skip creating model instances
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-09-11 17:07:04 -05:00
Blake Blackshear and GitHub
5658e5a4cc
more deps ( #7712 )
2023-09-06 08:32:09 -05:00
2a0b8a78fe
Bump actions/checkout from 3 to 4 ( #7696 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 08:02:16 -05:00
b80ff1aa3a
Bump actions/setup-python from 4.6.1 to 4.7.0 ( #7156 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.6.1...v4.7.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 07:54:10 -05:00
Blake Blackshear
f682203f9d
Merge remote-tracking branch 'origin/master' into dev
2023-09-04 10:48:24 -05:00
flyize and GitHub
a63af1a891
Update false_positives.md ( #7685 )
...
Mention about false positives from stationary objects. Added because I just had this issue and the current page didn't really help me.
2023-09-04 10:12:24 -05:00
64fd5f8be3
Upgrade more deps ( #7684 )
...
* Bump axios from 1.4.0 to 1.5.0 in /web
Bumps [axios](https://github.com/axios/axios ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @testing-library/jest-dom from 5.17.0 to 6.1.2 in /web
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.17.0 to 6.1.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.1.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump autoprefixer from 10.4.14 to 10.4.15 in /web
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.14 to 10.4.15.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.14...10.4.15 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump postcss from 8.4.27 to 8.4.29 in /web
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.27 to 8.4.29.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.29 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump video.js from 8.3.0 to 8.5.2 in /web
Bumps [video.js](https://github.com/videojs/video.js ) from 8.3.0 to 8.5.2.
- [Release notes](https://github.com/videojs/video.js/releases )
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/videojs/video.js/compare/v8.3.0...v8.5.2 )
---
updated-dependencies:
- dependency-name: video.js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump preact from 10.16.0 to 10.17.1 in /web
Bumps [preact](https://github.com/preactjs/preact ) from 10.16.0 to 10.17.1.
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.16.0...10.17.1 )
---
updated-dependencies:
- dependency-name: preact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Merge
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 10:11:50 -05:00
6e35c97376
Upgrade deps ( #7664 )
...
* Update peewee-migrate requirement from ==1.10.* to ==1.11.*
Updates the requirements on [peewee-migrate](https://github.com/klen/peewee_migrate ) to permit the latest version.
- [Changelog](https://github.com/klen/peewee_migrate/blob/develop/Changelog )
- [Commits](https://github.com/klen/peewee_migrate/compare/1.10.0...1.11.0 )
---
updated-dependencies:
- dependency-name: peewee-migrate
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update web deps
* Update PR deps
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-03 12:33:03 -05:00
Nicolas Mowen and GitHub
db6ee41f3c
Improve error checking and handling for recordings export ( #7647 )
...
* Improve error checking and handling for recordings export
* Cleanup
* Remove order by
2023-09-02 05:42:33 -05:00
Nicolas Mowen and GitHub
36434bb26d
Run flask as multi threaded ( #7648 )
2023-09-02 05:41:46 -05:00
Nicolas Mowen and GitHub
3c25c578f0
Add troubleshooting docs for recordings ( #7381 )
2023-09-01 07:07:55 -05:00
Nicolas Mowen and GitHub
2e4f5bc0e0
Don't fail ptz if camera does not support relative zoom ( #7542 )
...
* Remove relative zoom space as it is not used
* Catch case where camera does not support relative zoom
* Cleanup
2023-09-01 07:07:18 -05:00
Nicolas Mowen and GitHub
bd0d16a75b
Set commands before subscribing to messages ( #7550 )
2023-09-01 07:06:59 -05:00
Nicolas Mowen and GitHub
7069ef93bb
Catch broken pipe when sending to websocket ( #7556 )
2023-09-01 07:06:39 -05:00
Nicolas Mowen and GitHub
737681aa4f
Add default hass location ( #7549 )
2023-09-01 07:06:22 -05:00
77cb469430
Clarify tmpfs and shm in installation docs ( #7551 )
...
* Update installation.md
* Update docs/docs/frigate/installation.md
Name specific endpoints
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update installation.md
shorten `tmpfs` mention
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-09-01 07:05:11 -05:00
Ani Betts and GitHub
3e18d58921
Add link to audio classes ( #7554 )
...
Link to the audio detection class list in the docs
2023-09-01 07:04:26 -05:00
Sergey Krashevich and GitHub
de6a916939
WebUI: audio icons in MultiSelect component ( #7564 )
...
* Add support for audio icons in MultiSelect component
* update icon
* speaker icon
2023-09-01 07:04:07 -05:00
Nicolas Mowen and GitHub
45f7db5cf1
Show sub label in debug view when available ( #7567 )
...
* Show sub label in debug view if available
* Ensure sub label is printable to be used
2023-09-01 07:03:47 -05:00
Nicolas Mowen and GitHub
bbdf5e1bee
Don't count in progress events as duplicates ( #7568 )
...
* Don't count in progress events as duplicates
* Fix sql
2023-09-01 07:02:35 -05:00
Josh Hawkins and GitHub
b538572afb
Clarify autotracking preset docs ( #7576 )
2023-09-01 07:01:48 -05:00
Sergey Krashevich and GitHub
14048cb83e
Update NGINX version to 1.25.2 ( #7583 )
2023-09-01 07:01:34 -05:00
Sergey Krashevich and GitHub
602041beb1
Update s6 overlay version to 3.1.5.0 in the Docker installation script ( #7584 )
2023-09-01 07:01:19 -05:00
Sergey Krashevich and GitHub
ef6b464d0e
Update libusb version to v1.0.26 in Dockerfile ( #7585 )
2023-09-01 07:01:06 -05:00
Sergey Krashevich and GitHub
731743c7e5
Refactor AudioTfl class to accept the number of detection threads as a parameter in the constructor, and update the usage of the num_threads attribute accordingly ( #7588 )
2023-09-01 07:00:11 -05:00
Nicolas Mowen and GitHub
f25bee7672
Remove custom model example from basic coral docs ( #7639 )
2023-09-01 06:59:08 -05:00
7c629c1874
clarify birdseye restream in docs ( #7521 )
...
* clarify birdseye restream in docs
* Update docs/docs/configuration/restream.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-08-19 16:20:43 -05:00
6146afe8f7
Make clear only network storage is supported for addon ( #7505 )
...
* Make clear only network storage is supported for addon
* fix typo
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-08-19 16:19:52 -05:00
Nicolas Mowen and GitHub
c815f3c331
Clarify go2rtc requirement for ha integration ( #7503 )
2023-08-19 13:41:26 -05:00
Nicolas Mowen and GitHub
767abed7f0
Catch websocket exception in output ( #7525 )
2023-08-19 13:38:47 -05:00
Ikko Eltociear Ashimine and GitHub
28ea2afa51
Fix typo in installation.md ( #7463 )
...
intall -> install
2023-08-13 06:23:45 -05:00
Nicolas Mowen and GitHub
3921a7faa2
Catch case where detected object has a height of 0 ( #7425 )
2023-08-10 05:51:30 -05:00
Jirasak Nopparat and GitHub
4c63ad767a
Remove unused code ( #7430 )
2023-08-10 05:50:01 -05:00
Nicolas Mowen and GitHub
afe3b5dd3d
Fix linter error ( #7428 )
2023-08-10 05:49:11 -05:00
Nicolas Mowen and GitHub
fbed3fbb8b
Fix audio filter config ( #7401 )
2023-08-06 12:19:28 -05:00
Andrew Reiter and GitHub
318ae28004
Revert numpy upgrade in -tensorrt image ( #7348 )
2023-08-05 05:49:06 -05:00
24365fb865
bugfix: date selection in events calendar ( #7374 )
...
* Refactor Calendar component to update month details only when year or month changes
* Update web/src/components/Calendar.jsx
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-08-05 05:48:14 -05:00
Nicolas Mowen and GitHub
36ccaa4cff
Improve debug logs for audio & ptz ( #7387 )
...
* Update audio.py
* Add debug log for ptz info
* Formatting
* Fix check
2023-08-05 05:47:56 -05:00
Nicolas Mowen and GitHub
98576418a8
Improve Storage Logs ( #7338 )
...
* Make storage maintenance messages more clear
* Log when storage maintenance is happening
* Formatting
2023-08-01 06:26:45 -05:00
Blake Blackshear and GitHub
c2e2656407
Update web deps ( #7339 )
...
* web dev deps
* update preact
* audit fix
2023-08-01 06:26:01 -05:00
Andrew Reiter and GitHub
e941012d48
Disambiguate 12h export filename timestamp ( #7340 )
...
* Add AM/PM to exported video filename
* Switch to 24h time
2023-08-01 06:25:43 -05:00
Andrew Reiter and GitHub
7d3e5c9c4c
Revert numpy upgrade ( #7341 )
...
* Revert numpy upgrade
* Upgrade arm64 onnx version to match amd64
* Increase CODEOWNERS granularity
Not sure if it has an effect since I don't have repository write access
2023-07-31 21:45:50 -05:00
Nicolas Mowen and GitHub
b7ff6735f6
Add support for stationary and active timeline entires ( #7344 )
...
* Add support for stationary and active timeline entires
* Be sure to update stored event data copy with stationary
2023-07-31 21:43:48 -05:00
Nicolas Mowen and GitHub
f57d21039e
Organize configuration sidebar ( #7333 )
...
* Organize configuration sidebar
* Add go2rtc config file
* More reorganization
2023-07-30 18:29:50 -05:00
Martin Weinelt and GitHub
d0b38f0a47
Reuse CACHE_DIR constant ( #7306 )
2023-07-29 13:19:21 -05:00
Nicolas Mowen and GitHub
b79b1d9443
Fix frame not in cache error ( #7313 )
2023-07-29 07:11:45 -05:00
Nicolas Mowen and GitHub
947ccbc654
Accept floats for export when used directly with event start / end time ( #7314 )
...
* Accept floats for export when used directly with event start / end time
* Formatting
* Formatting
2023-07-29 07:05:17 -05:00
Sergey Krashevich and GitHub
eaf7078d98
Refactor Dockerfile to use scratch as base image and add go2rtc binary using ADD command ( #7321 )
2023-07-28 21:33:21 -05:00
Nate Meyer and GitHub
b42e995f0f
Update OpenVINO 2022.3.1 ( #7319 )
...
* Use build platform for running OpenVino model conversion
* Update OpenVINO to 2022.3.1 and upgrade numpy
2023-07-28 19:27:53 -05:00
Nicolas Mowen and GitHub
f8c0f74ab8
Batch delete recordings for removed cameras as well ( #7302 )
2023-07-28 05:49:52 -05:00
Andrew Reiter and GitHub
f9d422b5b5
Revert the switch to zstd docker layer compression ( #7308 )
...
Setting cache-to=compression=zstd causes the resulting user-pulled image
to have zstd-compressed layers, which are not compatible with docker
prior to 23.0. Ubuntu 20.04 still ships with docker 20.10, which yields
`Error processing tar file` when pulling these images.
Renaming the jetpack cache images is my way of clearing the cache of the
prior zstd layers, and it clarifies the convention I used for the other
cache images in which there is one cache per base image/job, not per
target/step. We don't need to delete the non-jetson cache images because
they haven't been rebuilt since zstd was enabled.
2023-07-28 05:37:51 -05:00
Andrew Reiter and GitHub
f0dda499f8
Fix CI ( #7303 )
...
* fixup! Split independent builds into parallel jobs
* Combine caches within steps of same job
* Remove Maintain Cache workflow
Now that we're caching to ghcr instead of gha, we don't have to worry
about gha's cache eviction after 7 days/10 GB.
2023-07-27 10:41:41 -06:00
Andrew Reiter and GitHub
a96602f3f5
Build CI images in parallel ( #7296 )
...
* Factor out common setup steps
* Re-order
* Split independent builds into parallel jobs
* Cache jetson builds
* Use zstd compression
* Switch from gha cache to registry cache
A CI run (four images cached with mode-max) populates the cache with 295
cache entries totalling 23.44 GB. This exceeds gha's 10GB limit, causing
trashing. Try with a registry instead.
* Enable manual CI runs
2023-07-27 06:56:12 -06:00
961ce03835
Fix ffmpeg preset typo ( #7293 )
...
* Fix ffmpeg preset typo
* Fix qsv typo
Co-authored-by: Sergey Krashevich <svk@svk.su >
---------
Co-authored-by: Sergey Krashevich <svk@svk.su >
2023-07-26 18:48:05 -05:00
Nicolas Mowen and GitHub
761daf46ea
Refactor Recordings ( #7275 )
...
* Run ffmpeg sub process & video_properties as async
* Run recording cleanup in the main process
* More cleanup
* Use inter process communication to write recordings into the DB
* Formatting
2023-07-26 05:55:08 -05:00
Nicolas Mowen and GitHub
9016a48dc7
Refactor Audio Events To Use stdout Pipe ( #7291 )
...
* Cleanup audio detection
* Read audio frames from ffmpeg process directly
* Handle case where process has stopped
2023-07-26 05:51:45 -05:00
Andrew Reiter and GitHub
a96a951e23
Nvidia Jetson ffmpeg + TensorRT support ( #6458 )
...
* Non-Jetson changes
Required for later commits:
- Allow base image to be overridden (and don't assume its WORKDIR)
- Ensure python3.9
- Map hwaccel decode presets as strings instead of lists
Not required:
- Fix existing documentation
- Simplify hwaccel scale logic
* Prepare for multi-arch tensorrt build
* Add tensorrt images for Jetson boards
* Add Jetson ffmpeg hwaccel
* Update docs
* Add CODEOWNERS
* CI
* Change default model from yolov7-tiny-416 to yolov7-320
In my experience the tiny models perform markedly worse without being
much faster
* fixup! Update docs
2023-07-26 05:50:41 -05:00
Nicolas Mowen and GitHub
680198148b
Fix build ( #7266 )
2023-07-23 17:22:54 -05:00
Nicolas Mowen and GitHub
dc44a6c3b4
Community Supported Boards Framework ( #7114 )
...
* Make main frigate build non rpi specific and build rpi using base image
* Add boards to sidebar
* Fix docker build
* Fix docs build
* Update pr branch for testing
* remove target from rpi build
* Remove manual build
* Add push build for rpi
* fix typos, improve wording
* Add arm build for rpi
* Cleanup and add default github ref name
* Cleanup docker build file system
* Setup to use docker bake
* Add ci/cd for bake
* Fix path
* Fix devcontainer
* Set targets
* Fix build
* Fix syntax
* Add wheels target
* Move dev container to trt
* Update key and fix rpi local
* Move requirements files and set intermediate targets
* Add back --load
* Update docs for community board development
* Update installation docs to reflect different builds available
* Update docs with official and community supported headers
* Update codeowners docs
* Update docs
* Assemble main and standard builds
* Change order of pushes
* Remove community board after successful build
* Fix rpi bake file names
2023-07-23 16:45:29 -05:00
Sean Kelly and GitHub
157b160b9d
Resolve conflict ( #7264 )
2023-07-23 10:52:41 -06:00
Thomas Anderson and GitHub
d0413e3ea8
fix: allow env var templating for go2rtc rtsp creds ( #6449 )
2023-07-23 08:21:51 -05:00
Nicolas Mowen and GitHub
6a4f317403
Update reolink config ( #7253 )
2023-07-23 07:48:14 -05:00
JeffWDH and GitHub
8481ab3745
Update TensorRT driver requirement documentation (>=530) ( #7221 )
...
TensorRT release 23.03 requires a minimum of driver version 530.
https://docs.nvidia.com/deeplearning/tensorrt/container-release-notes/index.html#rel-23-03
2023-07-23 07:47:22 -05:00
Sergey Krashevich and GitHub
a8cef179e7
Update go2rtc to version 1.6.2 ( #7250 )
2023-07-22 14:14:48 -05:00
spacebares and GitHub
0fd1eaff43
scroll camera list in camera/recordings route ( #7195 )
2023-07-21 07:31:02 -05:00
Nicolas Mowen and GitHub
d30a738960
Show status when mask is saved ( #7212 )
2023-07-21 07:30:22 -05:00
Nicolas Mowen and GitHub
bfa7a5cc60
db improvements ( #7227 )
...
* Store camera labels in dict and other optimizations
* Add max on timeout so it is at least 60
* Ensure db timeout is at least 60
* Update list once a day to ensure new labels are cleaned up
* Formatting
* Insert recordings as bulk instead of individually.
* Fix
* Refactor event and timeline cleanup
* Remove unused
2023-07-21 07:29:50 -05:00
Nicolas Mowen and GitHub
b655eca152
Set supported ptz features in init to not fail when camera has an error ( #7228 )
2023-07-21 07:27:07 -05:00
Nicolas Mowen and GitHub
f2ff55dba2
Set timeout based on number of cameras ( #7219 )
2023-07-19 07:42:32 -05:00
Nicolas Mowen and GitHub
91aadb6044
Don't show frigate+ button for audio / custom events ( #7203 )
2023-07-18 07:41:45 -06:00
Nicolas Mowen and GitHub
c5b8d13beb
Save audio scores and add audio filter config ( #7185 )
...
* Send and save score for external events
* Add audio filters config
* Fix access
* Add docs
* Cleanup
2023-07-17 06:07:15 -05:00
Nicolas Mowen and GitHub
dacf45cd88
Add tests for recordings retention and fix bug ( #7183 )
...
* Add tests for segment info
* Fix logic
2023-07-16 13:07:15 -05:00
Nicolas Mowen and GitHub
c6d0e93157
Allow customization of tooltip capitalization ( #7172 )
2023-07-16 07:44:05 -05:00
Nicolas Mowen and GitHub
662025a961
Remove faster_fifo ( #7181 )
...
* Remove faster_fifo
* Remove const
2023-07-16 07:42:56 -05:00
Nicolas Mowen and GitHub
07155b1fa9
Show / Download Exported recordings UI ( #7171 )
...
* Start with getting list of exports
* List downloadable exports in export page
* Fix downloading
* use swr instead of effect
2023-07-15 15:13:53 -05:00
Nicolas Mowen and GitHub
8e584cf844
Add option for enabling sync recordings ( #7169 )
2023-07-15 08:38:21 -05:00
Nicolas Mowen and GitHub
d0873631cc
Fix logic ( #7165 )
2023-07-14 20:46:01 -05:00
Nicolas Mowen and GitHub
dfd3fcdff6
Publish audio detections ( #7159 )
...
* Send mqtt message when audio is detected
* Fix value
* Add audio topics to mqtt docs and add mqtt headers
* Use existing standard for values
* Update mqtt.md
2023-07-14 19:06:00 -05:00
Nicolas Mowen and GitHub
00016b7499
Save average dBFS and retain segment with dBFS in motion mode ( #7158 )
...
* Hold audio info queue for recordings
* Add dBFS to db
* Cleanup
* Formatting
* Fix check
2023-07-14 19:05:14 -05:00
Nate Meyer and GitHub
5bb5e2dc5a
Add check for valid label index for object detection ( #7149 ) ( #7164 )
2023-07-14 19:01:53 -05:00
Josh Hawkins and GitHub
dc2e786a6f
remove sleeps and improve queue logic ( #7163 )
2023-07-14 19:01:10 -05:00
Nicolas Mowen and GitHub
598ae98bfe
Fix incorrect import in Config ( #7157 )
2023-07-14 06:32:17 -06:00
ce3a544ecd
Feature: automatic camera resolution configuration ( #6810 )
...
* Add auto configuration for height, width and fps in detect role
* Add auto-configuration for detect width, height, and fps for input roles with detect in the CameraConfig class in config.py
* Refactor code to retrieve video properties from input stream in CameraConfig class and add optional parameter to retrieve video duration in get_video_properties function
* format
* Set default detect dimensions to 1280x720 and update DetectConfig to use the defaults
* Revert "Set default detect dimensions to 1280x720 and update DetectConfig to use the defaults"
This reverts commit a1aed0414d .
* Add default detect dimensions if autoconfiguration failed and log a warning message
* fix warn message spelling on frigate/config.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Ensure detect height and width are not None before using them in camera configuration
* docs: initial commit
* rename streamInfo to stream_info
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs
* handle case then get_video_properties returns 0x0 dimension
* Set detect resolution based on stream properties if available, else apply default values
* Update FrigateConfig to set default values for stream_info if resolution detection fails
* Update camera detection dimensions based on stream information if available
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-07-14 06:56:03 -05:00
Sergey Krashevich and GitHub
6ac36e8436
Fix: Add limit to event query ( #7108 )
...
* Add limit to event query for fetching latest event with specified label and camera name
* Refactor the label_thumbnail function in frigate/http.py to simplify the event_query logic and improve code readability
2023-07-14 06:30:47 -05:00
Nicolas Mowen and GitHub
5c12762cb5
Fix Birdseye Width & PTZ control panel ( #7118 )
...
* Cleanup birdseye UI
* Cleanup
* Fix reversed condition
2023-07-14 06:29:57 -05:00
Nicolas Mowen and GitHub
3a0c36e8db
Refactor ff queue size ( #7116 )
...
* Refactor queue size
* Only use enabled cameras
* Formatting
2023-07-14 06:29:11 -05:00
Nicolas Mowen and GitHub
6adc810145
Sub label api score ( #7113 )
...
* Support setting sub label scores via API
* Update docs
* Update docs
* Formatting
* Throw error when score is outside expected bounds
* Fix / cleanup
2023-07-14 06:28:16 -05:00
Sergey Krashevich and GitHub
6d34f2229b
WebUI: Show label & sub labels values next to the score ( #7121 )
...
* Refactor event label and sub-label score display in Events.jsx to include the event label and sub-label percentage
* Revert "Refactor event label and sub-label score display in Events.jsx to include the event label and sub-label percentage"
This reverts commit 87c23adf1e .
* Refactor event label and sub label score display in Events component
2023-07-14 06:25:53 -05:00
jpverdejo and GitHub
b909ff4ecb
Expose dBFS when doing audio analysis ( #6979 )
...
* Expose dBFS when doing audio analysis
* Implement metadata communicator
* revert test changes
* Reverting the tests changes. For real this time
* Address feedback
* Address feedback
* Address feedback
* Address feedback
2023-07-13 19:52:33 -05:00
Sergey Krashevich and GitHub
2d52fbd8e8
go2rtc v1.6.0 ( #7122 )
2023-07-13 05:40:44 -05:00
Josh Hawkins and GitHub
c9254b256a
Autotracking: reset motion estimator ( #7129 )
...
* reset motion estimator after returning to preset
* small tweaks and a bugfix
2023-07-13 05:32:51 -05:00
Josh Hawkins and GitHub
7a2d09dc35
Autotracking optimizations ( #7109 )
...
* much improved motion estimation and tracking
* docs updates
* move ptz specific mp values to ptz_metrics dict
* only check if moving at frame time
* pass full dict instead of individual values
2023-07-11 06:23:20 -05:00
Bernt Christian Egeland and GitHub
a94346e17e
Improve date and time formatting with fallback for unsupported Intl.DateTimeFormat features ( #7099 )
...
* Intl.DateTimeFormat fallback
* only set timezone when available or in config
2023-07-11 06:19:58 -05:00
Sergey Krashevich and GitHub
20415bb5e0
Refactor code in Events.jsx to conditionally render event zones in the event card view ( #7120 )
2023-07-11 06:10:29 -05:00
Blake Blackshear and GitHub
7c0d25f9da
Attribute scores ( #7100 )
...
* rework attributes to get scores
* show sublabel score
* formatting
2023-07-09 11:40:39 -05:00
Markus and GitHub
5e772c3625
fix edgetpu device type "None" (auto) ( #7097 )
2023-07-08 16:04:51 -05:00
Josh Hawkins and GitHub
691e9d26d2
Autotracking fixes ( #7096 )
...
* only check camera status if autotracking enabled
* a more sensible sleep time
* Only check camera status if preparing for a move
* only update tracked obj position when ptz stopped
* both pantilt *and* zoom should be idle
* check more often after moving
* No need to move pan and tilt separately
2023-07-08 16:02:54 -05:00
f37f034b6a
Only run audio detection when audio is above noise threshold ( #7078 )
...
* Only run audio detection when audio is above noise threshold
* Formatting
* Fix event parsing
* Update frigate/events/audio.py
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-07-08 07:16:24 -05:00
88fc0fac8f
Basic PTZ object autotracking functionality ( #6913 )
...
* Basic functionality
* Threaded motion estimator
* Revert "Threaded motion estimator"
This reverts commit 3171801607 .
* Don't detect motion when ptz is moving
* fix motion logic
* fix mypy error
* Add threaded queue for movement for slower ptzs
* Move queues per camera
* Move autotracker start to app.py
* iou value for tracked object
* mqtt callback
* tracked object should be initially motionless
* only draw thicker box if autotracking is enabled
* Init if enabled when initially disabled in config
* Fix init
* Thread names
* Always use motion estimator
* docs
* clarify fov support
* remove size ratio
* use mp event instead of value for ptz status
* update autotrack at half fps
* fix merge conflict
* fix event type for mypy
* clean up
* Clean up
* remove unused code
* merge conflict fix
* docs: update link to object_detectors page
* Update docs/docs/configuration/autotracking.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* clarify wording
* pass actual instances directly
* default return preset
* fix type
* Error message when onvif init fails
* disable autotracking if onvif init fails
* disable autotracking if onvif init fails
* ptz module
* verify required_zones in config
* update util after dev merge
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-07-08 07:04:47 -05:00
1fd23f86aa
Update ha_network_storage.md to make it clear which config file ( #7084 )
...
* Update ha_network_storage.md to make it clear which config file
* Update docs/docs/guides/ha_network_storage.md with relative url
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-07-08 06:52:22 -05:00
Nicolas Mowen and GitHub
d6f82f9edc
Fix queues ( #7087 )
...
* Fix queues
* Change name
* Use standard queue for limited queue
* remove unused
* isort
2023-07-08 06:46:31 -05:00
Nicolas Mowen and GitHub
00b9a490bb
Hide birdseye width button on mobile devices ( #7077 )
...
* Hide birdseye width button on mobile devices
* Update Birdseye.jsx
2023-07-07 07:35:53 -05:00
5259d51c04
UI Improvement: Full-width birdseye (if no PTZ cameras) ( #6817 )
...
* Refactor video player div class names in Birdseye.jsx to be more responsive
* let's JSMpegPlayer dont takes up the entire screen
* Update Birdseye.jsx
* Add useState hook and toggle button for dynamic width adjustment and refactor code for readability in env.js and Birdseye.jsx
* fix stupid typo
* Swapped the controls around
* Remove useless comments
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Add button styles to the Birdseye component's toggle width button
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-07-07 07:09:55 -05:00
Nicolas Mowen and GitHub
04aada8720
Fix webUI presets ( #7065 )
2023-07-07 07:07:46 -05:00
Nicolas Mowen and GitHub
69630e7385
Fix incorrect respnses ( #7066 )
2023-07-07 07:06:42 -05:00
Nate Meyer and GitHub
dd02958f7c
Upgrade TensorRT to 8.5.3 ( #7006 )
...
* Update to latest tensorrt (8.6.1) release
* Build trt libyolo_layer.so in container
* Update tensorrt_models script to convert models from the frigate container
* Fix typo in model script
* Fix paths to yolo lib and models folder
* Add S6 scripts to test and convert specified TensortRT models at startup.
Rearrange tensorrt files into a docker support folder.
* Update TensorRT documentation to reflect the new model conversion process and minimum HW support.
* Fix model_cache path to live in config directory
* Move tensorrt s6 files to the correct directory
* Fix issues in model generation script
* Disable global timeout for s6 services
* Add version folder to tensorrt model_cache path
* Include TensorRT version 8.5.3
* Add numpy requirement prior to removal of np.bool
* This TRT version uses a mixture of cuda dependencies
* Redirect stdout from noisy model conversion
2023-07-06 14:20:33 -05:00
Sergey Krashevich and GitHub
30dfdf47d4
Add thread-safety to LimitedQueue by implementing a lock for put and get methods ( #7053 )
2023-07-06 13:54:55 -05:00
Sergey Krashevich and GitHub
f48dd8c1ab
Feature: camera debug/config enhancements ( #6920 )
...
* Add functionality to update YAML config file with PUT request in HTTP endpoint
* Refactor copying of text to clipboard with Clipboard API and fallback to document.execCommand('copy') in CameraMap.jsx file
* Update YAML file from URL query parameters in frigate/http.py and add functionality to save motion masks, zones, and object masks in CameraMap.jsx
* formatting
* fix merging fuckup
* Refactor camera zone coordinate saving to use single query parameter per zone in CameraMap.jsx
* remove unnecessary print statements in util.py
* Refactor update_yaml_file function to separate the logic for updating YAML data into a new function update_yaml().
* fix merge errors
* Refactor code to improve error handling and add dependencies to useEffect hooks
2023-07-06 13:54:26 -05:00
Sergey Krashevich and GitHub
22cc2712a6
Bump NGINX version to 1.25.1, VOD module version to 1.31, secure token module version to 1.5, and RTMP module version to 1.2.2 ( #7058 )
2023-07-06 13:51:28 -05:00
Sergey Krashevich and GitHub
cbb77e5794
Bugfix: SqliteQueueDatabase instead of SqliteDatabase and retry_interval for fetching latest frame in http.py ( #7059 )
...
* Refactor http.py to use SqliteQueueDatabase instead of SqliteDatabase and add retry interval for fetching latest frame
* isort && black
2023-07-06 13:50:22 -05:00
Nicolas Mowen and GitHub
baf671b764
Cleanup and organize utils ( #7033 )
...
* Force birdseye cameras into standard aspect ratios
* Organize utils
* Update tests
* Formatting
* Isort
* Fix tests
* Cleanup
* isort
2023-07-06 09:28:50 -05:00
Nicolas Mowen and GitHub
606f00867e
Fix go2rtc getting env var ( #7052 )
2023-07-06 09:11:49 -05:00
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
Nicolas Mowen and GitHub
3f509b6ff9
Update reolink docs to make go2rtc config more clear ( #6985 )
2023-07-06 07:57:03 -05:00
Sergey Krashevich and GitHub
c38c981cd0
Performance: multiprocessing improvement: step 2 ( #6986 )
...
* Refactored queues to use faster_fifo instead of mp.Queue
* Refactored LimitedQueue to include a counter for the number of items in the queue and updated put and get methods to use the counter
* Refactor app.py and util.py to use a custom Queue implementation called LQueue instead of the existing Queue
* Refactor put and get methods in LimitedQueue to handle queue size and blocking behavior more efficiently
* code format
* remove code from other branch (merging fuckup)
2023-07-06 07:56:38 -05:00
Nicolas Mowen and GitHub
d0891e5183
Ptz cleanup ( #6999 )
...
* Use _ instead of - for ptz presets
* Update mqtt.md
* Fix
* Formatting
2023-07-06 07:42:17 -05:00
Andrew Reiter and GitHub
325205740b
Check ffmpeg version instead of checking for presence of BTBN_PATH ( #7023 )
...
* Check ffmpeg version instead of checking for presence of BTBN_PATH
* Query ffmpeg version in s6 run script instead of subprocessing in every import
* Define LIBAVFORMAT_VERSION_MAJOR in devcontainer too
* Formatting
* Default ffmpeg version to current btbn version so unit tests pass
2023-07-06 07:35:26 -05:00
Andrew Reiter and GitHub
f30ba25444
Reduce framerate before downscaling ( #7022 )
...
* Reduce framerate before downscaling
It is cheaper to drop frames and downscale those that remain than it is
to downscale all frames and then drop some of them. This is achieved
with the filter chain `-cv fps=FPS,scale=W:H`, and perhaps was the
original intention. The plain `-r` and `-s` flags do not execute in
order though - they each put themselves at the *end* of the filterchain,
so `-r FPS -s WxH` actually applies the scale filter first, and then the
rate filter.
This fix can halve the CPU used by the detect ffmpeg process.
* Bring back hard rate limits
2023-07-06 07:31:17 -05:00
Nicolas Mowen and GitHub
339b6944f1
Force birdseye cameras into standard aspect ratios ( #7026 )
...
* Force birdseye cameras into standard aspect ratios
* Clarify comment
* Formatting
* Actually use the calculated aspect ratio when building the layout
* Fix Y aspect
* Force canvas into known aspect ratio as well
* Save canvas size and don't recalculate
* Cache coefficients that are used for different size layouts
* Further optimize calculations to not be done multiple times
2023-07-06 07:30:05 -05:00
Nicolas Mowen and GitHub
0f68fbc8db
Use pre capture for custom events ( #7038 )
...
* Use pre capture for custom events
* Formatting
2023-07-06 07:26:53 -05:00
Nicolas Mowen and GitHub
998bffe706
Fix min region size not being divisible by 4 ( #7040 )
...
* Fix min region size not being divisible by 4
* Simplify half calculation
2023-07-06 07:25:37 -05:00
Sergey Krashevich and GitHub
12d4a47e3d
End audio event and update detections if successful, otherwise log a warning if ending audio event fails with a specific status code ( #6984 )
2023-07-03 09:50:25 -05:00
Sergey Krashevich and GitHub
1171f01683
Refactor camera rendering logic in System component to only render enabled cameras ( #6992 )
2023-07-03 09:49:14 -05:00
Sergey Krashevich and GitHub
f905704479
UI: add audio process stats to System page ( #6993 )
...
* Add audio process PID to the list of processes and log the start of the audio process
* Update audio process PID key in processes dictionary to "audioDetector" instead of "audio".
2023-07-03 09:48:29 -05:00
Nicolas Mowen and GitHub
58c6ef1e12
Add designator when events are from the api ( #6997 )
...
* Add designator when events are custom
* Add type field and set via API
2023-07-03 09:48:00 -05:00
Nicolas Mowen and GitHub
83edf9574e
Scale birdseye layout up to max size after it has been calculated ( #6825 )
...
* Scale layout up to max size after it has been calculated
* Limit portrait cameras to taking up 2 rows
* Fix bug
* Fix birdsye not removing cameras once objects are no longer visible
* Fix lint
2023-07-02 07:45:45 -05:00
Nicolas Mowen and GitHub
c25367221e
Fix audio events not being ended ( #6981 )
...
* Fix audio events not being ended
* Fix audio events not being ended correctly
* Clean up debug code
2023-07-01 16:33:47 -05:00
Nicolas Mowen and GitHub
7ee17c7af8
Fix small audio events details ( #6978 )
...
* Fix missed audio details
* Add mqtt docs
* Delete instead of setting to None
2023-07-01 11:19:14 -05:00
c3b313a70d
Audio events ( #6848 )
...
* Initial audio classification model implementation
* fix mypy
* Keep audio labelmap local
* Cleanup
* Start adding config for audio
* Add the detector
* Add audio detection process keypoints
* Build out base config
* Load labelmap correctly
* Fix config bugs
* Start audio process
* Fix startup issues
* Try to cleanup restarting
* Add ffmpeg input args
* Get audio detection working
* Save event to db
* End events if not heard for 30 seconds
* Use not heard config
* Stop ffmpeg when shutting down
* Fixes
* End events correctly
* Use api instead of event queue to save audio events
* Get events working
* Close threads when stop event is sent
* remove unused
* Only start audio process if at least one camera is enabled
* Add const for float
* Cleanup labelmap
* Add audio icon in frontend
* Add ability to toggle audio with mqtt
* Set initial audio value
* Fix audio enabling
* Close logpipe
* Isort
* Formatting
* Fix web tests
* Fix web tests
* Handle cases where args are a string
* Remove log
* Cleanup process close
* Use correct field
* Simplify if statement
* Use var for localhost
* Add audio detectors docs
* Add restream docs to mention audio detection
* Add full config docs
* Fix links to other docs
---------
Co-authored-by: Jason Hunter <hunterjm@gmail.com >
2023-07-01 08:18:33 -05:00
f1dc3a639c
fixed TimeAgo abbreviation ( #6977 )
...
* fixed TimeAgo abbreviation
* Update web/src/components/TimeAgo.tsx
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-07-01 08:16:19 -05:00
Blake Blackshear and GitHub
2f401bd8da
update deps ( #6973 )
...
* update web deps
* update python deps
2023-07-01 07:47:16 -05:00
Nicolas Mowen and GitHub
8cb8a030be
Update docs to reflect HA addon storage feature ( #6681 )
...
* Clean up docs given HA addon storage support
* Add guide for using HA network storage
* Add to sidebar
* Specify that media type needs to be used
* Link to storage guide from install docs
* Instruct users to store DB in /config
* Update ha_network_storage.md
* Recommend that data is moved or deleted
2023-06-30 22:13:08 -05:00
Nicolas Mowen and GitHub
f3f9b36e07
Fix bad check on np.array ( #6968 )
2023-06-30 07:06:38 -06:00
Nicolas Mowen and GitHub
0a8249d6fb
Fix Bad Resize For Camera Snapshot ( #6797 )
...
* Catch cases where incorrect size is requested
* Set a default if calculated height is incorrect
2023-06-30 07:34:10 -05:00
Sergey Krashevich and GitHub
b6fce8f0bb
Integrate ccache into libusb and nginx build scripts for improved build speed ( #6886 )
...
* Add ccache to libusb and nginx build scripts
* Add ccache support to Dockerfile for faster builds
* Add ccache to PATH and use it for compiling nginx with Makefile in build_nginx.sh script
2023-06-30 07:28:48 -05:00
Blake Blackshear and GitHub
d51197eaa2
use a different method for blur and contrast to reduce CPU ( #6940 )
...
* use a different method for blur and contrast to reduce CPU
* blur with radius instead
* use faster interpolation for motion
* improve contrast based on averages
* increase default threshold to 30
* ensure mask is applied after contrast improvement
* update opencv
* update benchmark script
2023-06-30 07:27:31 -05:00
Nicolas Mowen and GitHub
d2a2643cd6
Apply zone filter before inertia ( #6854 )
...
* Apply zone filter before intertia
* Formatting
2023-06-30 07:15:55 -05:00
bd17e7d824
Show object attributes when hovering or tapping timeline bounding box ( #6879 )
...
* Show overlay when hovering on timeline box
* Make it work with mobile too
* Fix lint
* Fix ratio
* Update web/src/components/TimelineEventOverlay.jsx
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
* Show overlay when hovering on timeline box
* Make it work with mobile too
* Fix lint
* Fix ratio
* Remove label and make overlay respect selected theme
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-06-30 07:15:19 -05:00
spacebares and GitHub
ed0d2be321
configurable ffmpeg timeout ( #6897 )
...
* configurable ffmpeg timeout
* configurable ffmpeg healthcheck interval
rename timeout to healthcheck_interval
only grab config value once
* configurable ffmpeg retry interval
rename healthcheck_interval to retry_interval
* add retry_interval to docs
- update retry_interval text in config.py
2023-06-30 07:14:39 -05:00
Nicolas Mowen and GitHub
9137f1594b
Remove legacy recordings file cleanup ( #6947 )
...
* Remove legacy recordings file cleanup
* Remove unused
2023-06-30 07:13:00 -05:00
Cody Cutrer and GitHub
ef14a43930
optimize frame-per-second calculations ( #6887 )
...
* optimize frame-per-second calculations
FPS is never calculated over differing periods for even given
counter. By only storing timestamps within the period that is
used, we avoid having to iterate 1000 entries every time it's
re-calculated (multiple times per second). 1000 entries would
normally only be needed if something is running at 100fps. A
more common speed - anywhere from 5 to 30fps, only needs 50
to 300 entries.
This isn't a huge improvement in the grand scheme, but when motion
detection is disabled, it takes nearly as much time in a flamegraph
as actually transferring the video frame.
* fix python checks
2023-06-28 05:55:53 -05:00
Cody Cutrer and GitHub
ee4a133655
actually keep track of skipped frames ( #6889 )
...
* actually keep track of skipped frames
fixes #6863
* fix black errors
2023-06-28 05:53:28 -05:00
Nicolas Mowen and GitHub
ece070fee1
Load labels dynamically for event filters ( #6896 )
...
* Load labels dynamically to include custom events and audio, do not include attribute labels
* Formatting
* Fix sorting
* Also filter tracked object list on camera page
* isort
* Don't fail before load
2023-06-28 05:51:53 -05:00
spacebares and GitHub
3d40ed5d47
fix tooltip not showing if too far left ( #6909 )
2023-06-28 05:45:54 -05:00
Sergey Krashevich and GitHub
e640981cc4
Performance: multiprocessing improvement ( #6936 )
...
* Add faster-fifo dependency for improved performance
* isort
2023-06-28 05:39:39 -05:00
Blake Blackshear and GitHub
9e531b0b5b
reduce grid size for contrast improvement ( #6870 )
2023-06-21 08:38:51 -05:00
Blake Blackshear and GitHub
7c1568fcb9
use clahe for contrast improvement ( #6835 )
...
* use clahe for contrast improvement
* update tests
2023-06-18 11:56:41 -05:00
Nicolas Mowen and GitHub
09cc4251f0
Fix dict getting overwritten ( #6830 )
2023-06-17 10:31:35 -05:00
Blake Blackshear and GitHub
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 and GitHub
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 and GitHub
0996883a98
Add docs for annotation offset ( #6824 )
2023-06-16 18:00:49 -06:00
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
ff1b5c87aa
Fix stream name not being used for MSE ( #6796 )
2023-06-14 06:49:32 -06:00
Sergey Krashevich and GitHub
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
Daniel Asztalos and GitHub
730416418d
Typo fixed in hardware.md ( #6788 )
2023-06-13 17:34:14 -05:00
Nicolas Mowen and GitHub
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 and GitHub
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 and GitHub
ff90db30e6
Various Bug Fixes ( #6768 )
...
* Fix birdseye infinite loop
* Fix division by zero
2023-06-12 06:06:02 -04:00
bd9942b426
Add FAQ about MQTT not connecting ( #6554 )
...
* Update faqs.md
I spent hours trying to figure this out and if this could be included in some way that would potentially help someone out there.
* Update docs/docs/troubleshooting/faqs.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/troubleshooting/faqs.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update faqs.md
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-06-11 15:07:34 -05:00
Sergey Krashevich and GitHub
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
Bernt Christian Egeland and GitHub
b359ff1b8e
[Feature] Add timepicker to calendar ( #5183 )
...
* added timepicker as children to calendar
* new timepicker component
* Add timepicker
* new timePicker component
* timepicker as calendar child
* hover:border and rounded
* adjusted width
* complete rework
* more code comments
* memorization
* preselect hover, transition
* numberOfDaysSelected has minimum of 1
* prefill hours when component mounts
* persist hours when component mount
* accommodate for the new timePicker
* add reset state
* scroll into view
* reuse before, after
* fix LastDayInRange when a time is selected
* do not add hours if before is zero
* use hours instead of days
* useeffect to reset hour. check timerange before scroll
* scroll to last element, not first
2023-06-11 14:48:45 -05:00
Nicolas Mowen and GitHub
0f1cf67b91
Fix birdseye optimistic approach ( #6764 )
2023-06-11 08:47:34 -05:00
Blake Blackshear and GitHub
d81dd60fef
Improve motion detection and region selection ( #6741 )
...
* refactor existing motion detector
* implement and use cnt bgsub
* pass fps to motion detector
* create a simplified motion detector
* lightning detection
* update default motion config
* lint imports
* use estimated boxes for regions
* use improved motion detector
* update test
* use a different strategy for clustering motion and object boxes
* increase alpha during calibration
* simplify object consolidation
* add some reasonable constraints to the estimated box
* adjust cluster boundary to 10%
* refactor
* add disabled debug code
* fix variable scope
2023-06-11 08:45:11 -05:00
32569842d3
Option to enable / disable stats that require external processes ( #6615 )
...
* Add option for network bandwidth and only calculate if enabled
* Don't show network bandwidth in system stats page if not enabled
* Formatting
* Hide other rows as well
* Add docs
* Add config options for AMD and Intel GPU stats
* Fix stats access
* Update docs
* Use correct bool syntax
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-06-11 08:26:34 -05:00
5c27cb7e9b
Optimization of Sync Records: Implementing Pagination and Temporary Table ( #6585 )
...
* Update pull_request.yml
* Add temporary table for deletion and use pagination to process recordings in chunks for deletion of recordings with missing files
* move RecordingsToDelete class to models.py
* recording cleanup: bugfixes
* Update cleanup.py
* improve log message in cleanup.py
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-06-11 08:01:50 -05:00
7459a1cdde
Enhancement: Add Date and Time Inputs to Export Component with Time Validation ( #6750 )
...
* Add date and time inputs to Export component and ensure end time is larger than start time
* Update web/src/routes/Export.jsx
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-06-11 08:01:16 -05:00
b160abac0d
Ability to configure min frames for zone presence ( #6680 )
...
* Objects need to be in zones multiple times to be considered present in the zone
* Add a field to configure inertia per zone
* Formatting
* Use correct default method
* Clarify zone presence behavior
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-06-11 08:00:53 -05:00
Nicolas Mowen and GitHub
fd6eb78f41
Birdseye Autolayout ( #6734 )
...
* Calculate possible layout
* Working in ideal conditions
* Fix issues with different heights
* Remove logs
* Optimally handle cameras that don't match the canvas aspect ratio
* Make sure to copy so list is not overwritten
* Remove unused import
* Remove try catch
* Optimize layout for low amount of cameras
* Try to scale frames up if not enough space is used
2023-06-11 07:54:18 -05:00
Sergey Krashevich and GitHub
8d941e5e26
Add function to get physical interfaces for bandwidth calculation ( #6618 )
...
* Add function to get physical interfaces for bandwidth calculation in get_bandwidth_stats() function
* Add telemetry configuration option for enabled network interfaces, with default values for monitoring bandwidth stats for camera ffmpeg processes, go2rtc, and object detectors. Also add support for FrigateConfig in set_bandwidth_stats function to get bandwidth stats for specified network interfaces
2023-06-11 07:34:03 -05:00
Nicolas Mowen and GitHub
8bc76d19db
DB Optimizations ( #6712 )
...
* Enable auto vacuums
* Enable auto vacuum
* Fix separator
* Fix separator and remove incorrect log
* Limit to 1 row since that is all that is used
* Add index on camera + segment_size
* Formatting
* Increase timeout and cache_size
* Set DB mode to NORMAL synchronous level
* Formatting
* Vacuum every 2 weeks
* Remove fstring
* Use string
* Use consts
2023-06-11 07:23:18 -05:00
20b52a96bc
Bump docker/login-action from 2.1.0 to 2.2.0 ( #6740 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/f4ef78c080cd8ba55a85445d5b36e214a81df20a...465a07811f14bebb1938fbed4728c6a1ff8901fc )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 07:21:59 -05:00
Sergey Krashevich and GitHub
367d7244d3
Update Double Take link to point to the maintained fork by skrashevich with improved features and fixed errors ( #6746 )
2023-06-11 07:21:06 -05:00
Nicolas Mowen and GitHub
435d152423
Fix bug introduced in new linter ( #6754 )
...
* Fix bug introduced in new linter
* Ignore this error
* Fix more
* Ignore boolean error too
2023-06-11 07:18:47 -05:00
Nicolas Mowen and GitHub
d3949eebfa
Add API and WebUI to export recordings ( #6550 )
...
* Add ability to export frigate clips
* Add http endpoint
* Add dir to nginx
* Add webUI
* Formatting
* Cleanup unused
* Optimize timelapse
* Fix pts
* Use JSON body for params
* Use hwaccel to encode when available
* Print ffmpeg command when fail
* Print ffmpeg command when fail
* Add separate ffmpeg preset for timelapse
* Add docs outlining the export directory
* Add export docs
* Use ''
* Fix playlist max time
* Lower max playlist time
* Add api docs for export
* isort fixes
2023-06-08 07:32:35 -04:00
Michael Wei and GitHub
d1701e127e
fix: don't assume build platform is amd64 ( #6709 )
2023-06-05 16:13:54 -05:00
f0c1b66b0f
Bump actions/setup-python from 4.6.0 to 4.6.1 ( #6609 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 07:05:39 -05:00
Blake Blackshear and GitHub
699248d769
Update deps ( #6669 )
...
* fix gh host key
* python deps
* update web deps
* update docs deps
2023-06-01 06:59:50 -05:00
Blake Blackshear and GitHub
deec5b8bfd
fix build ( #6668 )
2023-06-01 06:30:41 -05:00
Nicolas Mowen and GitHub
62f36b221e
Remove ffmpeg banner ( #6600 )
...
* Hide banner in maintainer
* Hide banner in event download
2023-06-01 05:46:34 -05:00
Blake Blackshear and GitHub
ae0aba44dc
Improve tracking ( #6516 )
2023-05-31 08:12:43 -06:00
Paul Philippov and GitHub
bd1d13d78c
Update docs link ( #6657 )
2023-05-31 07:15:01 -05:00
Martin Weinelt and GitHub
ab50d0b006
Add isort and ruff linter ( #6575 )
...
* Add isort and ruff linter
Both linters are pretty common among modern python code bases.
The isort tool provides stable sorting and grouping, as well as pruning
of unused imports.
Ruff is a modern linter, that is very fast due to being written in rust.
It can detect many common issues in a python codebase.
Removes the pylint dev requirement, since ruff replaces it.
* treewide: fix issues detected by ruff
* treewide: fix bare except clauses
* .devcontainer: Set up isort
* treewide: optimize imports
* treewide: apply black
* treewide: make regex patterns raw strings
This is necessary for escape sequences to be properly recognized.
2023-05-29 05:31:17 -05:00
Martin Weinelt and GitHub
1e17dbaa91
deepstack: pass api key in request ( #6579 )
...
The POST data was prepared, but not passed into the request call.
2023-05-23 17:32:08 -05:00
Nicolas Mowen and GitHub
f66ccb04f6
Fix pydantic ( #6584 )
2023-05-23 08:00:21 -06:00
39bf6c44bc
Update ESXi documentation to point to latest instructions ( #6576 )
...
Signed-off-by: William Lam <wlam@vmware.com >
Co-authored-by: William Lam <wlam@vmware.com >
2023-05-22 20:53:24 -05:00
Sergey Krashevich and GitHub
846a180a7b
go2rtc 1.5.0 forgotten changes ( #6561 )
2023-05-21 12:12:31 -05:00
11738110dc
Add handling for non-existent or empty model file paths ( #6525 )
...
* Add handling for non-existent or empty model file paths in `compute_model_hash()` method
* Remove print() in detector_config.py
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-05-21 08:29:57 -05:00
Nicolas Mowen and GitHub
53d63e0f75
Update go2rtc to 1.5.0 ( #5814 )
...
* Update go2rtc to 1.3.0
* Increment to 1.3.1
* Increment to 1.3.2
* Update webrtc player to match latest
* Update version to 1.4.0
* Update mse player
* Update birdseye mse player
* remove logs
* Update docs to link to new version
* Final web lint fixes
* Update versions
2023-05-21 06:53:25 -06:00
Blake Blackshear and GitHub
deccc4fd46
fix coral libs ( #6558 )
2023-05-21 07:14:53 -05:00
Nicolas Mowen and GitHub
4940826011
Fix false positives ( #6544 )
2023-05-19 13:26:19 -06:00
Nicolas Mowen and GitHub
fec1dd3f46
Fix breakages by manual_event_api branch ( #6542 )
...
* Fix breakages by manual_event_api branch
* More fixes
2023-05-19 10:59:24 -06:00
Blake Blackshear
42f3ee3de5
sync master
2023-05-19 05:47:49 -05:00
e357715a8c
Ability to manually create events through the API ( #3184 )
...
* Move to events package
* Improve handling of external events
* Handle external events in the event queue
* Pass in event processor
* Check event json
* Fix json parsing and change defaults
* Fix snapshot saving
* Hide % score when not available
* Correct docs and add json example
* Save event png db
* Adjust image
* Formatting
* Add catch for failure ending event
* Add init to modules
* Fix naming
* Formatting
* Fix http creation
* fix test
* Change to PUT and include response in docs
* Add ability to set bounding box locations in snapshot
* Support multiple box annotations
* Cleanup docs example response
Co-authored-by: Blake Blackshear <blake@frigate.video >
* Cleanup docs wording
Co-authored-by: Blake Blackshear <blake@frigate.video >
* Store full frame for thumbnail
* Formatting
* Set thumbnail height to 175
* Formatting
---------
Co-authored-by: Blake Blackshear <blake@frigate.video >
2023-05-19 05:16:11 -05:00
Sergey Krashevich and GitHub
6d0c2ec5c8
Add go2rtc & remote detectors network bandwidth usage to System table ( #6526 )
...
* Add network bandwidth usage to System table display in System.jsx and update get_bandwidth_stats function in util.py to include go2rtc processes
* black...
* Add network bandwidth usage to system table in web UI and improve regex in get_bandwidth_stats function to include frigate detector processes
* black...
* Update bandwidth calculation to include both incoming and outgoing traffic
* black:(
2023-05-18 06:40:24 -05:00
17e8a46c7d
add ffmpeg bandwidth stats ( #6492 )
...
* add ffmpeg bandwidth stats
* add ffmpeg bandwidth stats
* Change column name
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* fix lint formatting
---------
Co-authored-by: Korneliusz Jarzębski <k.jarzebski@netverse.pl >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-05-17 20:01:56 -05:00
76dbab6a8b
[Docs] Snapshot config explanation. ( #6439 )
...
* Snapshot config explanation.
related to: https://github.com/blakeblackshear/frigate/issues/6434
* Update docs/docs/configuration/snapshots.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/snapshots.md
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-05-17 07:45:09 -05:00
Nicolas Mowen and GitHub
b568a29fa8
Don't fail if camera does not support presets ( #6497 )
2023-05-17 07:42:56 -05:00
Sergey Krashevich and GitHub
b4038821cc
Update DeepStack detector to set width and height from input image size ( #6429 )
2023-05-17 07:40:41 -05:00
Nicolas Mowen and GitHub
6634be1f79
Make note of mapping rpi device ( #6511 )
2023-05-17 07:38:27 -05:00
Sergey Krashevich and GitHub
5fb96c777a
Add cmdline information to CPU usage stats in get_cpu_stats() function and display it in the System page's ffmpeg table with a copy-to-clipboard button ( #6430 )
2023-05-15 07:39:03 -05:00
Sergey Krashevich and GitHub
181b53a55d
Fix error in parsing DeepStack response JSON and handle cases where predictions field is missing ( #6463 )
2023-05-15 07:37:34 -05:00
5951a740d2
Prevent recordings from being turned on if disabled in config ( #6444 )
...
* Prevent enabling recordings if not enabled in config
* Fix conflict
* Fix spacing
* Update wording
* Update wording
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-05-15 07:36:26 -05:00
Blake Blackshear and GitHub
e3b9998879
Upgrade deps ( #6395 )
...
* update js build tools
* update frontend deps
* python updates
* update requests again
2023-05-05 07:45:13 -05:00
Sergey Krashevich and GitHub
f52b1212cd
add go2rtc version ( #6390 )
...
Update System.jsx
2023-05-04 21:04:06 -05:00
Nicolas Mowen and GitHub
aded314f3c
Timeline UI optimizations ( #6367 )
...
* Fix centering of bottom_center
* Make bottom_center overlap vertically
* Fix timeline icon behavior
* Make disclaimer hidden under aria label
* Don't literally say disclaimer
2023-05-04 17:34:48 -06:00
ede1dedbbd
Add Deepstack/CodeProject-AI.Server detector plugin ( #6143 )
...
* Add Deepstack detector plugin with configurable API URL, timeout, and API key
* Update DeepStack plugin to recognize 'truck' as 'car' for label indexing
* Add debug logging to DeepStack plugin for better monitoring and troubleshooting
* Refactor DeepStack label loading from file to use merged labelmap
* Black format
* add documentation draft
* fix link to codeproject website
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-05-04 18:06:07 -05:00
Stephen Horvath and GitHub
0751358e5b
Fix site.webmanifest + add svg as favicon ( #6304 )
2023-05-04 18:04:24 -05:00
Peeter N and GitHub
17b92aa657
Do not show the loader during recordings api call ( #6366 )
...
* Do not show the loader during recordings api call
Showing the loader during the recordings API call will rerender the recordings list and rerenders the video player
* Fix defauting to 0 seekSeconds if recordings results are missings
2023-05-04 18:02:48 -05:00
Sergey Krashevich and GitHub
0fcfcb85ab
Implement NVML for NVIDIA GPU Stats ( #6359 )
...
* nvml
* black...black...black...
* small fix for avoid errors on strange GPUs and old drivers
* fix type errors
* fix type errors
* fix unittest process crash
where the tests for tests?..
* it's impossible to mock low-level library
* fix double % for other GPU types
* remove space before gpu statistic values
2023-05-04 18:02:01 -05:00
Nicolas Mowen and GitHub
ef50af03f2
Add icon to explain in more detail the system stats / storage info ( #6358 )
...
* Add info icon with additional info for each process.
* Specify single CPU core
* Include storage in tooltips
2023-05-04 18:01:27 -05:00
02f577347d
Hide PTZ Controls in Birdseye when no cameras support it ( #6353 )
...
* Refactor filter logic to exclude cameras with empty onvif host address
* Refactor filter logic to exclude cameras with empty onvif host address-2
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-05-04 18:00:18 -05:00
Sergey Krashevich and GitHub
03b45c153b
Increase maximum event sub_label length to 100 characters ( #6350 )
...
* Increase maximum sub label length to 100 characters and update corresponding fields in models and API
* black format...
2023-05-04 17:59:44 -05:00
2add675d42
Refactor Process Stats and Bugfixes ( #6344 )
...
* test refactor process stats
* Update util.py
* bugfix
* black formatting
* add missing processes field to StatsTrackingTypes class
* fix python checks and tests...
* use psutil for calcilate cpu utilization on get_cpu_stats
* black...black...black...
* add cpu average
* calculate statiscts for logger process
* add P-ID for other processes in System.jsx
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* make page beautiful again :)
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-05-04 17:58:59 -05:00
Nicolas Mowen and GitHub
305323c9e9
Update Rpi preset ( #6385 )
...
* Update Rpi preset
* Fix rpi test
2023-05-04 17:55:44 -05:00
Nicolas Mowen and GitHub
85015d9409
Update version to 0.12.1 ( #6386 )
2023-05-04 17:55:19 -05:00
Sergey Krashevich and GitHub
b38c9e82e2
Replace subprocess usage with os module for better performance and maintainability ( #6298 )
...
* avoid executing external tools by using Python's built-in os module to interact with the filesystem directly
* Refactor recording cleanup script to use os module instead of subprocess
* black format util.py
* Ooooops
* Refactor get_cpu_stats() to properly identify recording process
2023-05-01 21:22:35 -05:00
Nicolas Mowen and GitHub
82aa238eca
Add instructions for custom go2rtc build ( #6333 )
...
* Add instructions for custom go2rtc build
* Fix numbering
2023-04-30 14:04:19 -06:00
Blake Blackshear and GitHub
19890310fe
Bug fixes ( #6332 )
...
* fix timeline delete
* fix labelmap in config response
* create cache dirs if needed
2023-04-30 14:58:39 -05:00
Blake Blackshear and GitHub
9bf98f908d
add plus integration for models ( #6328 )
2023-04-30 13:32:36 -05:00
Nicolas Mowen and GitHub
ad52e238ce
Refactor events to be more generic ( #6320 )
...
* Organize event table to be more generalized
* Add appropriate fields to data
* Move tracked object logic to own function
* Add source type to event queue
* rename enum
* Fix types that are used in webUI
* remove redundant
* Formatting
* fix typing
* Rename enum
2023-04-30 12:07:14 -05:00
Nicolas Mowen and GitHub
ca7790ff65
Cleanup timeline entries when relevant recording segments are removed ( #6319 )
...
* Cleanup timeline entries when relevant recording segments are removed
* Make timeline cleanup simpler
* Formatting
2023-04-30 09:28:21 -05:00
cbd07696b5
Clarify stationary object behavior ( #6273 )
...
* Clarify stationary object behavior
* typo
* tweak
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-04-28 07:48:13 -05:00
Nicolas Mowen and GitHub
37360edbc1
Show other system processes in system page ( #6276 )
2023-04-28 07:47:49 -05:00
Nicolas Mowen and GitHub
df016ddd0d
Fix http-jpeg template insertion ( #6291 )
2023-04-28 07:11:01 -05:00
Nicolas Mowen and GitHub
b48f6d750f
Add annotation support ( #6288 )
2023-04-28 06:02:06 -05:00
Alin Balutoiu and GitHub
83006eeb65
Add option to have cameras sorted inside the Birdseye stream ( #5450 )
...
* Add option to sort cameras inside Birdseye
* Make default order to be sorted alphabetically
* Add docs for sorting cameras
* Update index.md for cameras
* Remove irelevant comments
2023-04-26 19:29:01 -05:00
Nicolas Mowen and GitHub
e451f44ced
Move recording management to separate process ( #6248 )
...
* Move recordings management to own process and ensure db multiprocess access
* remove reference to old threads
* Cleanup directory remover
* Mypy fixes
* Fix mypy
* Add support back for setting record via MQTT and WS
* Formatting
* Fix rebase issue
2023-04-26 07:25:26 -06:00
Blake Blackshear and GitHub
6dc82b6cef
dependency updates ( #6246 )
...
* python
* easy web deps
2023-04-26 06:20:29 -05:00
Nicolas Mowen and GitHub
43ade86796
Support Controlling PTZ Cameras Via WebUI ( #4715 )
...
* Add support for ptz commands via websocket
* Fix startup issues
* Fix bugs
* Set config manually
* Add more commands
* Add presets
* Add zooming
* Fixes
* Set name
* Cleanup
* Add ability to set presets from UI
* Add ability to set preset from UI
* Cleanup for errors
* Ui tweaks
* Add visual design for pan / tilt
* Add pan/tilt support
* Support zooming
* Try to set wsdl
* Fix duplicate logs
* Catch auth errors
* Don't init onvif for disabled cameras
* Fix layout sizing
* Don't comment out
* Fix formatting
* Add ability to control camera with keyboard shortcuts
* Disallow user selection
* Fix mobile pressing
* Remove logs
* Substitute onvif password
* Add ptz controls ot birdseye
* Put wsdl back
* Add padding
* Formatting
* Catch onvif error
* Optimize layout for mobile and web
* Place ptz controls next to birdseye view in large layout
* Fix pt support
* Center text titles
* Update tests
* Update docs
* Write camera docs for PTZ
* Add MQTT docs for PTZ
* Add ptz info docs for http
* Fix test
* Make half width when full screen
* Fix preset panel logic
* Fix parsing
* Update mqtt.md
* Catch preset error
* Add onvif example to docs
* Remove template example from main camera docs
2023-04-26 06:08:53 -05:00
David Buezas and GitHub
6bcf44aee8
Update configuring_go2rtc.md ( #6232 )
...
Remove reference to opening the port to use via WebRTCCamera card, since this is not the correct way of using it.
2023-04-24 21:54:53 -05:00
Blake Blackshear and GitHub
0d16bd0144
False positives ( #6217 )
...
* add false positive submission
* switch timeline events to x,y,w,h
* update docs
* fix type checks
* convert to upsert
* fix config test
2023-04-24 07:24:28 -05:00
9dca1e1d9f
Bump actions/setup-python from 4.5.0 to 4.6.0 ( #6192 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 06:40:26 -05:00
Nicolas Mowen and GitHub
7f96d89ec4
Use correct method for retrieving current unix time ( #6218 )
2023-04-24 05:19:38 -05:00
Nicolas Mowen and GitHub
04a22f8283
Fix timeline event overlay when recordings mode is not all ( #6215 )
...
* Fix case where not all segments are saved in recording for timeline overlay
* Remove unused vars
2023-04-23 15:02:52 -05:00
Nicolas Mowen and GitHub
ece7dc29e7
Fix substitution change ( #6212 )
2023-04-23 12:19:56 -05:00
Felipe Santos and GitHub
cdd8e6fd4e
Migrate default database path from /media/frigate to /config ( #5219 )
...
* Migrate db path to /config
* Ensure oneshot runs
* Put logic inside of Frigate's run
* Use new db default path in code
* Fix missing config dir
* Upgrade yq to 4.33.3
2023-04-23 11:35:40 -05:00
Nicolas Mowen and GitHub
fbaab71d78
Metadata Timeline ( #6194 )
...
* Create timeline table
* Fix indexes
* Add other fields
* Adjust schema to be less descriptive
* Handle timeline queue from tracked object data
* Setup timeline queue in events
* Add source id for index
* Add other fields
* Fixes
* Formatting
* Store better data
* Add api with filtering
* Setup basic UI for timeline in events
* Cleanups
* Add recordings snapshot url
* Start working on timeline ui
* Add tooltip with info
* Improve icons
* Fix start time with clip
* Move player logic back to clips
* Make box in timeline relative coordinates
* Make region relative
* Get box overlay working
* Remove overlay when playing again
* Add disclaimer when selecting overlay points
* Add docs for new apis
* Fix mobile
* Fix docs
* Change color of bottom center box
* Fix vscode formatting
2023-04-23 10:45:19 -05:00
83aad5262a
contributing.md: add note about extra coral device ( #6071 )
...
* contributing.md: add note about extra coral device
I was banging my head against the wall until I found this comment: https://github.com/blakeblackshear/frigate/issues/132#issuecomment-712170307
* Update docs/docs/development/contributing.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-04-23 08:09:18 -05:00
lucas_nz and GitHub
3c72b96042
Use browser timezone if not specified in config ( #6205 )
2023-04-23 07:42:15 -05:00
David Buezas and GitHub
35ddc896fa
Docs: access go2rtc stream externally while using add-on #6208 ( #6209 )
...
It took me quite a while to figure out why I couldn't access the go2rtc streams, maybe this saves others some time too.
Original question: #6148
2023-04-23 07:41:22 -05:00
ba6794fb99
adding instructions for Nginix reverse proxy ( #6159 )
...
* adding instructions for Nginix reverse proxy
adding an example of subdomain reverse proxy for nginx
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* add some descriptions for steps
add more information on each of the reverse proxy sections.
* cleanup
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-04-23 07:38:21 -05:00
my-umd and GitHub
7960090409
Added instruction to install Frigate on QNAP NAS. ( #6196 )
...
* Added instruction to install Frigate on QNAP NAS.
* Incorporate PR review suggestions, minor text changes
* Remove LIBVA_DRIVER_NAME from sample command.
2023-04-23 07:24:23 -05:00
366c31259f
Edit dsize order ( #6172 )
...
dsize could be (width, height).
Co-authored-by: kt.lu <kt.lu@latticeworkinc.com >
2023-04-22 21:38:58 -05:00
9b109a7d14
Add docs for getting intel_gpu_top to work without privileged mode ( #6166 )
...
* Add docs for getting intel_gpu_top to work without privileged mode
* Apply suggestions from code review
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Address more review comments
* Rename sections
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-04-19 17:54:42 -05:00
Nicolas Mowen and GitHub
03d37fe830
Make camera naming more clear ( #6164 )
2023-04-19 17:48:39 -05:00
felikcat and GitHub
433bf690e3
live.md: Add a note for Tailscale usage ( #6121 )
2023-04-17 19:49:10 -05:00
c820badb40
Update installation.md ( #6128 )
...
* Update installation.md
* Update installation.md
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update installation.md
addressed comment
* Update installation.md
updated documentation as per comment
* Update installation.md
* Update installation.md
formatting
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/frigate/installation.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Clarify that password template is optional
* Typo
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-04-17 16:19:43 -05:00
Blake Blackshear and GitHub
98384789d4
update api key for search ( #6119 )
2023-04-17 07:14:06 -05:00
Nicolas Mowen and GitHub
75e0ed38eb
Correct bridge network explanation ( #6102 )
2023-04-16 09:49:34 -05:00
Blake Blackshear and GitHub
8535213ad9
update python deps ( #6101 )
2023-04-16 07:20:51 -05:00
Felipe Santos and GitHub
416ce66b51
Auto approve dependabot PRs ( #5147 )
2023-04-16 07:15:10 -05:00
Martin Weinelt and GitHub
cb73d0cd39
Migrate away from deprecated np.float ( #5898 )
...
It is an alias for the python float type, and got deprecated in 1.20 and
was removed in 1.24. The rest of the project already uses float32
(single), so I believe this is also correct here, as opposed to float64
(double).
2023-04-16 07:13:33 -05:00
Blake Blackshear and GitHub
f8f76fcb94
update to 8.3.x ( #6100 )
2023-04-16 07:09:51 -05:00
149d6694d6
Bump docker/build-push-action from 3 to 4 ( #5319 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 15:21:23 -05:00
Blake Blackshear and GitHub
15415bab10
update deps ( #6093 )
...
* update dev deps
* update deps
* docs deps
* python dev deps
* update python deps
2023-04-15 14:17:59 -05:00
Nicolas Mowen and GitHub
3b62ff093a
Ensure the frigate config validators are also checked when saving config ( #6069 )
2023-04-15 07:24:13 -05:00
Kevin David and GitHub
a218d2f6ff
docker-compose.yml: remove :ro for config.yml ( #6086 )
...
This should be editable by default from the UI
2023-04-15 07:22:55 -05:00
SgtBatten and GitHub
6e0faa930a
Change blueprint url to newest version. ( #6091 )
...
When home assistant mate the default values change last year it broke the original blueprint when it looked for the camera fps as no default was coded. I've been maintaining a fixed version with new features in hunterjms absence. Yesterday the mods split the thread so this is the latest post and blueprint now.
2023-04-15 07:20:31 -05:00
d6c9538859
Improve documentation on web rtc ( #6005 )
...
* Improve documentation on web rtc
* Update docs/docs/configuration/live.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Specify code type in markdown
* Match docker config
* Add indication that there are other attributes
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-04-14 08:02:57 -06:00
Bernt Christian Egeland and GitHub
dee471e9e9
[Rework RelativeModal] calculate available window height ( #6000 )
...
* overflow-auto
* removed the restrict menu height from #5601 .
* remove top from the equations due to scroll height
* calculate available height
2023-04-14 07:14:28 -05:00
Nicolas Mowen and GitHub
e3eae53cb9
Fix tensorrt script url ( #6015 )
2023-04-12 20:37:56 -05:00
Nicolas Mowen and GitHub
6986949d84
Remove deprecated retain_days config ( #5952 )
2023-04-09 11:23:34 -05:00
Nicolas Mowen and GitHub
19a65eaaac
Update npm command ( #5938 )
2023-04-08 10:50:55 -05:00
Blake Blackshear and GitHub
cefbed614f
Remove arm32 ( #5935 )
...
* remove references to 32bit arm
* scheduled build to maintain actions cache
2023-04-08 09:24:28 -06:00
Blake Blackshear
37db4070ce
increment version
2023-04-08 09:52:30 -05:00
Blake Blackshear and GitHub
da3e197534
Merge pull request #4055 from blakeblackshear/dev
...
0.12.0 Release
2023-04-08 09:24:50 -05:00
Blake Blackshear
0e61ea7723
cleanup hardware recommendations
2023-04-08 07:44:02 -05:00
f855b1a2b3
Update Unifi specific configuration ( #5927 )
...
* Update Unifi specific configuration
Provided more specific detail on what modifications are required to the Unifi camera rtsps links: change to rtspx to remove authentication and remove the ?enableSrtp to function on TCP. Provided a sample configuration for a Unifi camera.
* Update docs/docs/configuration/camera_specific.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/camera_specific.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-04-08 07:28:16 -05:00
Felipe Santos and GitHub
bc16ad1f13
Fix small warning not appearing in go2rtc logs in UI ( #5882 )
...
I always forget that for the logs to appear there, they should not be sent to stderr but stdout.
2023-03-30 20:03:42 -05:00
Felipe Santos and GitHub
1b8cd10142
Allow to override go2rtc binary in add-on ( #5876 )
2023-03-29 19:08:04 -05:00
Nicolas Mowen and GitHub
83c80c570c
Cleanup docs based on RC feedback ( #5864 )
...
* Comment out timezone as it should not be set with None if copied
* Use "" for ffmpeg: so it does not appear as comment
* Add example to timezone setting
2023-03-29 19:06:19 -05:00
Patrick Decat and GitHub
4c5cd02ab7
Fix confusing storage display when calculating per camera usage ( #5835 )
2023-03-25 16:49:46 -05:00
Nicolas Mowen and GitHub
7d589bd6e1
Point go2rtc links in docs to 1.2.0 specifically ( #5816 )
...
* Point to specific tag of go2rtc docs
* Point to go2rtc 1.2.0 docs
* Point to go2rtc 1.2.0 docs
* Update camera_specific.md
2023-03-23 17:12:53 -05:00
1bf3b83ef3
Fixed extension of config file ( #5803 )
...
* Fixed extension of config file
Using frigate.yml as the config file for the HA addon gives a validation error, the same contents in frigate.yaml work.
* More accurate description of config file handling.
* Update docs/docs/configuration/index.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-03-22 19:48:24 -05:00
Nicolas Mowen and GitHub
b61b6f46cd
Update ha integration instructions to reflect new settings names ( #5806 )
2023-03-22 19:47:13 -05:00
Nicolas Mowen and GitHub
ac339d411c
Make note that snapshots are required for Frigate+ ( #5807 )
...
* Make note that snapshots are required for Frigate+
* Fix spacing
2023-03-22 19:46:43 -05:00
Nicolas Mowen and GitHub
3f17f871fa
Fix cleaning logs with rtsp in middle ( #5800 )
2023-03-21 17:21:37 -05:00
Nicolas Mowen and GitHub
e454daf727
Fix timezone issues with strftime ( #5762 )
...
* Fix timezone issues with strftime
* Fix timezone adjustment
* Fix bug
2023-03-18 07:32:39 -05:00
luzik and GitHub
732e527401
RTSP instead of RTMP in HA integration docs ( #5761 )
...
I believe that it should be RTSP there
2023-03-18 07:29:04 -05:00
luzik and GitHub
b44e6cd5dc
typo in live config documentation ( #5760 )
...
I believe that we should use defined rtsp_cam_sub, not test_cam_sub
2023-03-17 17:15:38 -05:00
Blake Blackshear and GitHub
2d9556f5f3
set threads to 2 ( #5747 )
2023-03-17 17:14:57 -05:00
Blake Blackshear and GitHub
e82f72a9d3
clarify that mqtt is required in frigate config for home assistant ( #5722 )
2023-03-15 17:43:36 -05:00
Blake Blackshear and GitHub
ce2d589a28
fix config ( #5721 )
2023-03-14 08:51:09 -05:00
Blake Blackshear and GitHub
750bf0e79a
Revert "Update ffmpeg args with low risk improvements ( #5519 )" ( #5715 )
...
This reverts commit 52459bf348 .
2023-03-14 08:25:27 -05:00
John Ritsema and GitHub
4dc6c93cdb
docs: adds note about dynamic config ( #4882 )
...
* docs: adds note about dynamic config
* less technical verbiage
* removes `dynamic configuration` verbiage
* list all replaceable values
2023-03-07 06:28:51 -06:00
Nicolas Mowen and GitHub
f7e9507bee
Fix typo ( #5655 )
2023-03-06 21:06:36 -06:00
Dermot Duffy and GitHub
e8d8cc4f55
Return sub_labels in event summary information. ( #5642 )
2023-03-05 11:39:41 -06:00
Blake Blackshear and GitHub
c20c982ad0
free up some disk space ( #5644 )
2023-03-05 09:14:11 -06:00
Nicolas Mowen and GitHub
962bdc7fa5
Update detector support to be more generic ( #5638 )
2023-03-04 21:37:18 -06:00
Nicolas Mowen and GitHub
a5e561c81d
Restrict menu height to ensure it does not overflow ( #5601 )
2023-03-03 17:45:25 -06:00
Nicolas Mowen and GitHub
c4ebafe777
Fix plus menu not showing ( #5606 )
...
* Set end time for download event
* Set the value
2023-03-03 17:44:58 -06:00
Nicolas Mowen and GitHub
7ed715b371
Make note of other supervised limitations ( #5627 )
2023-03-03 17:44:32 -06:00
Martin Weinelt and GitHub
161e7b3fd7
Allow using full tensorflow in cpu/edgetpu detector plugins ( #5611 )
...
It supports the same entrypoints, given that tflite is a small cut-out
of the big tensorflow picture.
This patch was created for downstream usage in nixpkgs, where we don't
have the tflite python package, but do have the full tensorflow package.
2023-03-03 17:44:17 -06:00
Nicolas Mowen and GitHub
42eaa13402
Enable CORS for go2rtc by default ( #5610 )
...
* Enable CORS for go2rtc by default
* Fix typo
2023-03-03 17:43:50 -06:00
Nicolas Mowen and GitHub
17c26c9fa9
Sub label filter fixes ( #5602 )
...
* Fix list access issue
* Specifically include item when in list or individual only
* Formatting
* Sort sub labels to ensure consistent list
2023-03-03 17:43:27 -06:00
Nicolas Mowen and GitHub
318240c14c
Add docs for time / date styling ( #5572 )
...
* Add docs for time / date styling
* Convert 12hour time format option to enum
* Change option in web
* Add docs with examples
* Fix errors in docs
* Fix mismatched names
2023-02-26 09:37:18 -06:00
Nicolas Mowen and GitHub
34bdf2fc10
Clean up output for vainfo and ffprobe ( #5586 )
...
* Clean up output for vainfo and ffprobe
* Fix cleanup
* Format vainfo display
* Fix ffprobe output
* Fix stringification
* remove unused
2023-02-26 07:05:27 -06:00
Nicolas Mowen and GitHub
d97fa99ec5
Fix logging for corrupt segments ( #5582 )
...
* Fix logging for corrupt segments
* Formatting
2023-02-24 19:13:33 -06:00
herostrat and GitHub
a554b22968
Add docs about additions ( #4504 )
...
* Add docs about additions
* Fix review findings: Spelling
* Add suggestions from PR
2023-02-23 21:29:14 -06:00
Nicolas Mowen and GitHub
9621b4b9a1
Add tips for debugging playback issues ( #5574 )
2023-02-23 21:23:14 -06:00
Bernt Christian Egeland and GitHub
3611e874ca
Events Page: Added option to override browser time format and style ( #5538 )
...
* use12hour optional config
* use12hour config arg
* added use12HourFormat arg to format function
* dateStyle & timeStyle option
* moved timezone & locales to format function
* added dateStyle & timeStyle
* re-formatted
* added strftime_fmt config entry
* strftime package
* added strftime option
* underscore instead of camelCase
* underscore props instead of camelCase
2023-02-22 06:54:16 -07:00
Felipe Santos and GitHub
fbf29667d4
Upgrade s6-overlay from 3.1.4.0 to 3.1.4.1 ( #5558 )
2023-02-21 06:30:32 -06:00
Nicolas Mowen and GitHub
c13dd132ee
Clean up camera specific docs ( #5556 )
2023-02-21 06:26:43 -06:00
Nicolas Mowen and GitHub
3524d1a055
Fix go2rtc dashboard link ( #5546 )
...
* Fix go2rtc dashboard link
* Add trailing /
2023-02-20 20:16:26 -06:00
a8c567d877
Add healthcheck for go2rtc service ( #5545 )
...
* Upgrade s6-overlay from 3.1.3.0 to 3.1.4.0
* Add go2rtc healthcheck service
Also don't make go2rtc exits cause the container to fail.
* Reword healthcheck message
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Add timeout to go2rtc healthcheck
* Update healthcheck message
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Give additional time for go2rtc start/restart
* Fix typo
* Avoid creating go2rtc config multiple times
* Fix healthcheck not starting
* Fix sleep
* Fix more hidden logs
* Decrease time window and use curl's timeout flag
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-02-19 13:11:12 -06:00
Nicolas Mowen and GitHub
80135342c2
Update Go2rtc to 1.2.0 ( #5528 )
...
* Update dep
* Update docs
2023-02-19 07:49:12 -06:00
yeahme49 and GitHub
c2b13fdbdf
Add new models to docs ( #5533 )
...
Yolov7-640, Yolov7-320, Yolov7x-640 and Yolov7x-320 models got added to the download_yolo.sh script that gets used as part of generating tensorrt models so they can now be generated
2023-02-19 07:41:55 -06:00
Nicolas Mowen and GitHub
2797a60d4f
Don't fail if openvino fails to import ( #5532 )
...
* Don't fail if openvino fails to import
* Ensure all modules are imported safely
* Undo
* Fix list append
2023-02-19 07:41:14 -06:00
0592c8b0e2
YOLOv5 & YOLOv8 support for the OpenVINO Detector ( #5523 )
...
* Initial commit that adds YOLOv5 and YOLOv8 support for OpenVINO detector
* Fixed double inference bug with YOLOv5 and YOLOv8
* Modified documentation to mention YOLOv5 and YOLOv8
* Changes to pass lint checks
* Change minimum threshold to improve model performance
* Fix link
* Clean up YOLO post-processing
---------
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-02-19 07:39:47 -06:00
Nicolas Mowen and GitHub
2b685ac343
Plus upload in progress ( #5521 )
...
* Fix frigate+ uploading bug
Fixes https://github.com/blakeblackshear/frigate/issues/5515
* wording
* Formatting
* Don't show button when event is in progress
* Don't show in download menu either
2023-02-19 07:38:16 -06:00
k1n6b0b and GitHub
13122fc2b1
Update ha_notifications.md ( #5457 )
...
Home Assistant Entity ID uses _ not - and is lower case. This works for me - there was a ticket about this by someone else
2023-02-19 07:37:37 -06:00
Nicolas Mowen and GitHub
c901707670
Docs & WebUI Cleanup ( #5527 )
...
* Remove browser from timezone description
* Remove outdated info
2023-02-17 11:02:33 -06:00
Nicolas Mowen and GitHub
27d3676ba5
Fix rpi birdseye encode ( #5522 )
...
* Remove invalid bframe argument for rpi encoder
* Remove gop size arg as well
2023-02-16 18:38:32 -06:00
Nicolas Mowen and GitHub
52459bf348
Update ffmpeg args with low risk improvements ( #5519 )
...
* Add threads 1 to input / output args
* Remove cuvid from hwaccel
* Update docs for new args
* Formatting
2023-02-16 15:44:10 -07:00
Nicolas Mowen and GitHub
6cfa73a284
Add link to go2rtc in system page ( #5478 )
...
* Add link to go2rtc in the system page
* Open in new page
* Add color and underline behavior
* Cleanup
* Cleanup
* Fix color
* fix tests
2023-02-16 07:50:03 -06:00
Nicolas Mowen and GitHub
7b26935462
Ensure birdseye restream is not left with partially read frames ( #5504 )
...
* Ensure birdseye pipe does not get corrupted
* Fix conditionals
* Change log
* Formatting
2023-02-16 07:49:31 -06:00
Bernt Christian Egeland and GitHub
c9cd810c9f
reposition the modal when close to bottom ( #5507 )
2023-02-16 07:47:18 -06:00
Nicolas Mowen and GitHub
1715e2e09d
Init birdseye restream command in S6 ( #5494 )
...
* remove restream from frigate logic
* Migrate birdseye stream definition to S6
* Cleanup
* Use consts to import as well
2023-02-15 07:09:25 -06:00
Nicolas Mowen and GitHub
b69c0daadb
Add docs for required_zones ( #5499 )
...
* Add docs for required_zones
* fix spacing
2023-02-15 06:30:29 -06:00
Nicolas Mowen and GitHub
56d2978bc8
Remove more outdated restream from docs ( #5497 )
2023-02-14 17:19:07 -06:00
Nicolas Mowen and GitHub
1ef109e171
Remove restream role mention ( #5468 )
2023-02-12 15:29:08 -06:00
Nicolas Mowen and GitHub
08ab9dedf7
Update ffmpeg_presets.py ( #5462 )
2023-02-12 08:02:40 -06:00
Nicolas Mowen and GitHub
3d90366af2
Fix Webui Default Stream ( #5455 )
...
* Pass restream enabled
* Use livemode for birdseye as well
2023-02-12 07:36:36 -06:00
Nicolas Mowen and GitHub
c74c9ff161
Add nvidia detector inference times from survey ( #5456 )
...
* Add nvidia detector inference times from survey
* Fix typo
* Update hardware.md
2023-02-11 19:59:36 -06:00
Blake Blackshear and GitHub
27a31e731f
install i965-va-driver-shaders ( #5451 )
2023-02-11 09:57:15 -06:00
Nicolas Mowen and GitHub
562e2627c2
Auto select gpu for hwaccel presets ( #5406 )
...
* Add ability to GPU device to be automatically detected when multiple exist
* Add logging info
* Fix access
* Fix
* Formatting
* Fix path of device
* Use log error instead of raise
* Remove log which could apply to other caess
* Set default value
* rework logic and support auto gpu selection for encoding gpu as well
2023-02-11 08:00:58 -06:00
Felipe Santos and GitHub
babd976533
Bump go2rtc from 1.1.1 to 1.1.2 ( #5440 )
...
* Bump go2rtc from 1.1.1 to 1.1.2
* Update go2rtc version in docs
2023-02-09 09:32:46 -06:00
Felipe Santos and GitHub
748815b6ce
Fix logging IP instead of WebRTC port ( #5417 )
2023-02-08 21:28:20 -06:00
Nicolas Mowen and GitHub
88252e0ae6
Update ffmpeg_presets.py ( #5433 )
2023-02-08 21:27:43 -06:00
Nicolas Mowen and GitHub
c0bf69b4bf
add note about go2rtc webui ( #5430 )
2023-02-08 21:26:38 -06:00
Nicolas Mowen and GitHub
b6b10e753f
Update docs for H265 ( #5398 )
...
* Update hwaccel docs for h265
* Update camera specific
* Update hardware_acceleration.md
* Update hardware_acceleration.md
2023-02-06 07:54:01 -06:00
4a45089b95
Scrollbar juddering ( #5383 )
...
* added scrollbar width to observer width.
* subtract scrollBarWidth from scaledWidth
* useMemo dependencies
---------
Co-authored-by: Bernt Christian Egeland <cbegelan@gmail.com >
2023-02-05 09:13:15 -06:00
Blake Blackshear and GitHub
3b9bcb356b
update presets docs ( #5386 )
2023-02-05 09:12:40 -06:00
Blake Blackshear and GitHub
e10ddb343c
additional shutdown optimizations ( #5380 )
2023-02-04 08:58:45 -06:00
Blake Blackshear and GitHub
e8cd25ddf2
Docs tweaks ( #5379 )
...
* add note about cameras needing ffmpeg for go2rtc
* clarify error message on GPU stats
2023-02-04 08:47:27 -06:00
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 and GitHub
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
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 and GitHub
db131d4971
Add Low latency preset ( #5367 )
...
* Create new low latency preset
* Update chart for new preset
2023-02-03 19:33:25 -06:00
Nicolas Mowen and GitHub
74d6ab0555
Fix copying logs ( #5373 )
2023-02-03 19:32:31 -06:00
Nicolas Mowen and GitHub
66881eb89f
Add examples of intel inference times from survey answers ( #5332 )
2023-02-01 18:10:24 -06:00
Nicolas Mowen and GitHub
ad60f4894b
Update go2rtc to 1.1.1 ( #5333 )
...
* Update go2rtc to 1.1.1
* Remove redundant qualifiers
* Remove qualifiers
* Set default_query
* Update version
2023-02-01 18:09:56 -06:00
James L and GitHub
8d21c950a3
Name capture processes ( #5340 )
2023-02-01 17:49:18 -06:00
Felipe Santos and GitHub
ea8ec23cbe
Upgrade go2rtc from v1.0.1 to v1.1.0 ( #5320 )
...
* Upgrade go2rtc to v1.1.0 and set AAC audio as preferred
* Remove change from Python file
2023-01-31 19:43:29 -06:00
Blake Blackshear and GitHub
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 and GitHub
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
7a7e30e1ff
Bump ASzc/change-string-case-action from 1 to 5 ( #5308 )
...
Bumps [ASzc/change-string-case-action](https://github.com/ASzc/change-string-case-action ) from 1 to 5.
- [Release notes](https://github.com/ASzc/change-string-case-action/releases )
- [Commits](https://github.com/ASzc/change-string-case-action/compare/v1...v5 )
---
updated-dependencies:
- dependency-name: ASzc/change-string-case-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 06:15:04 -06:00
CZonin and GitHub
78dc75a4f1
Add "" to go2rtc docs examples ( #5292 )
...
* Update live.md
Placed `ffmpeg:http_cam#audio=opus` in quotes so it doesn't appear as commented out in docs.
* Update restream.md
Placed `ffmpeg:http_cam#audio=opus` in quotes so it doesn't appear as commented out in docs.
2023-01-29 17:25:51 -06:00
Bernt Christian Egeland and GitHub
a5078b8517
rework - ts, interval ( #5291 )
2023-01-29 17:25:28 -06:00
Nicolas Mowen and GitHub
77876bd663
Add docs for adding authentication to rtsp restream ( #5289 )
...
* Add docs for adding authentication to rtsp restream
* Update restream.md
* Update restream.md
* Remove duplicate docs
2023-01-29 17:22:40 -06:00
Sammy1Am and GitHub
a0697b81a1
Replace hardcoded package name in CI workflow ( #5281 )
2023-01-29 17:21:31 -06:00
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
Nicolas Mowen and GitHub
116edce3dc
Set jsmpeg manually when restream is disabled ( #5265 )
2023-01-28 08:15:52 -06:00
Blake Blackshear and GitHub
7130d93616
warn if unable to keep up with moving segments ( #5264 )
2023-01-27 07:32:55 -06:00
James L and GitHub
11054daebe
System page: add last updated time ago ( #5195 )
2023-01-27 06:20:41 -06:00
Nicolas Mowen and GitHub
7926ddd008
Clear file before unlinking ( #5259 )
2023-01-27 06:16:40 -06:00
Nicolas Mowen and GitHub
93f2316711
Update live.md ( #5254 )
2023-01-27 06:14:02 -06:00
Felipe Santos and GitHub
fd3688a9c7
Upgrade s6-overlay from 3.1.2.1 to 3.1.3.0 ( #5239 )
2023-01-25 21:33:47 -06:00
Nicolas Mowen and GitHub
a63dd9bccd
Add low delay args to restream input args ( #5231 )
2023-01-25 18:39:35 -06:00
Nicolas Mowen and GitHub
f54b223adf
Print webrtc info to stderr ( #5227 )
...
* Update create_config.py
* Print to stderr
2023-01-25 18:38:45 -06:00
Nicolas Mowen and GitHub
9ddcf7b1fe
Add exec docs ( #5230 )
2023-01-25 18:37:48 -06:00
James L and GitHub
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
Nicolas Mowen and GitHub
6ed8977548
Update flv docs ( #5238 )
...
* Update camera_specific.md
* Update restream.md
2023-01-25 18:35:27 -06:00
Felipe Santos and GitHub
e50cccc78a
Upgrade go2rtc from 1.0.0 to 1.0.1 ( #5235 )
...
https://github.com/AlexxIT/go2rtc/releases/tag/v1.0.1
2023-01-25 18:35:12 -06:00
Felipe Santos and GitHub
feeb7107d5
Fix Frigate stuck at finishing when restarting from UI ( #5216 )
2023-01-24 07:27:57 -06:00
Nicolas Mowen and GitHub
f52de322d3
Set hard frame rate limit ( #5210 )
2023-01-24 07:27:07 -06:00
Felipe Santos and GitHub
2f3e046130
Fix HA IP address and WebRTC port inferring ( #5209 )
...
* Fix HA IP address and WebRTC port inferring
* Add note for when candidates aren't being injected
2023-01-24 07:26:16 -06:00
sev and GitHub
edbdbb7f07
Update NVIDIA hwdecode docs ( #5182 )
...
Closes #4716
2023-01-22 10:27:13 -06:00
4bb5785d89
Update go2rtc to 1.0.0 ( #5173 )
...
* Update Dockerfile
* update version in docs
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-01-20 20:59:03 -06:00
36c6ee73fe
Update Nvidia Hwaccel Docs ( #5172 )
...
* Update hardware_acceleration.md
* Update hardware_acceleration.md
* Update hardware_acceleration.md
* Update hardware_acceleration.md
* Update docs/docs/configuration/hardware_acceleration.md
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
2023-01-20 20:41:34 -06:00
Nicolas Mowen and GitHub
924f946e46
Fix birdseye snapshot ( #5171 )
2023-01-20 20:40:55 -06:00
Nicolas Mowen and GitHub
d22e25064b
Fix reolink docs and add example of manual ffmpeg restream ( #5165 )
...
* Update camera_specific.md
* Update restream.md
2023-01-19 08:14:38 -06:00
James L and GitHub
12d51d3c73
System page: fix 0 FPS for disabled camera ( #5155 )
2023-01-18 18:05:18 -06:00
Nicolas Mowen and GitHub
5fa1fbafed
Use frigate env var substitution ( #5153 )
2023-01-18 17:51:35 -06:00
Felipe Santos and GitHub
d36ab05bf1
Do not wait forever for services to exit ( #5149 )
...
* Fix frigate service restarting inside devcontainer
* Add timeouts to services exit process
So s6 won't wait forever.
2023-01-18 17:50:51 -06:00
fb85c8ca54
Optimize restream docs ( #5132 )
...
* Update live.md
* Update restream.md
* Update live.md
* Update camera_specific.md
* Update restream.md
* Update live.md
* Update live.md
* Update restream.md
* Typo
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-01-18 17:50:06 -06:00
Blake Blackshear and GitHub
b2a2a9d6c7
only run the latest commit to avoid cache overwrites ( #5154 )
2023-01-18 17:30:49 -06:00
e2239d36c9
Auto discover internal WebRTC candidate for add-on ( #5089 )
...
* Auto discover internal WebRTC candidate for add-on
* Write logs to stderr
* Fix port number
* Integrate with newest changes
* Update docs
* Use local variable more
* Use Python to write file, fix JSON->YAML
* Store into variable
* Update docs/docs/configuration/live.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/live.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/configuration/live.md
* Update docs/docs/configuration/live.md
* Refator s6 scripts to the new format
* Remove unneeded workaround
* Update docker/rootfs/usr/local/go2rtc/create_config.py
* 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 >
* Improve scripts logging
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-01-18 17:23:40 -06:00
Nicolas Mowen and GitHub
6620236bc3
Catch case where go2rtc streams is not defined ( #5150 )
2023-01-18 17:20:44 -06:00
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
89513e469a
Fix shm size calculation ( #5123 )
...
* Fix shm size calculation
* Improve shm examples
* Add note about default shm size for add-ons
* adjust language
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-01-18 07:46:57 -06:00
Nicolas Mowen and GitHub
f5466426df
Fix go2rtc error when not set ( #5133 )
2023-01-17 22:38:17 -06:00
Nicolas Mowen and GitHub
2631a4c35b
Fix not using custom set stream name ( #5134 )
2023-01-17 22:36:52 -06:00
Nicolas Mowen and GitHub
ef9338f5af
Remove rpi warning about not working hwaccel ( #5145 )
2023-01-17 22:36:27 -06:00
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
Felipe Santos and GitHub
a7751f210b
Add dependabot auto merge workflow ( #5105 )
2023-01-16 17:30:48 -06:00
Blake Blackshear and GitHub
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 and GitHub
81b3fdb423
Pre clear retained messagse ( #5117 )
2023-01-16 17:16:46 -06:00
Ryan Mounce and GitHub
30f520f6f0
Patch nginx-vod-module to ignore RBSP trailing bits ( #5114 )
...
Works around https://github.com/blakeblackshear/frigate/issues/4572
2023-01-16 07:01:04 -06:00
Felipe Santos and GitHub
0de1da5943
Upgrade go2rtc from v0.1-rc.8 to v0.1-rc.9 ( #5104 )
2023-01-15 22:28:20 -06:00
yeahme49 and GitHub
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
Bernt Christian Egeland and GitHub
621aa0cf61
Rework events page to include timeago ( #5097 )
...
* new timeago component
* added timeago to event
* clock icon
* clock icon. flex items center
* dense prop
* moved clipDuration. cleaner jsx, sm hidden
* renamed clipduration => getDurationFromTimestamps
* func description
* duration in parenthesis
2023-01-15 09:43:40 -06:00
Nicolas Mowen and GitHub
367ac28a94
Fix qsv h265 ( #5095 )
2023-01-15 09:41:13 -06:00
Nicolas Mowen and GitHub
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
Bernt Christian Egeland and GitHub
65bc644d03
Rework storage page to show sizes with relevant units ( #5093 )
...
* new getUnitSize function
* check if isNaN
2023-01-15 09:39:03 -06:00
Nicolas Mowen and GitHub
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
daadd206dd
Update live view documentation to match newest go2rtc ( #5083 )
...
* Remove host network suggestion from docs
* Mention alternative network modes
* Update docs/docs/configuration/live.md
* Update docs/docs/configuration/live.md
* Wording tweaks
* Update docs/docs/configuration/live.md
* Update docs/docs/configuration/live.md
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-01-15 09:35:21 -06:00
Nate Meyer and GitHub
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 and GitHub
19d17c8c81
Use memo for recordings timezone ( #5086 )
2023-01-14 11:03:29 -06:00
Felipe Santos and GitHub
24410849b7
Revisit FAQs ( #5084 )
2023-01-14 11:02:20 -06:00
Nicolas Mowen and GitHub
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
Nicolas Mowen and GitHub
170899bd71
Update to Go2rtc rc8 ( #5078 )
...
* Remove redundant default port
* Update version
* Suggest port mapping 8555 tcp and udp
2023-01-13 17:18:18 -06:00
James L and GitHub
2031c3146f
System page: make clear if detect disabled ( #5075 )
2023-01-13 17:14:07 -06:00
Nicolas Mowen and GitHub
dafc7edb59
Show recording and snapshot storage separately if different sizes ( #5072 )
...
* Show recording and snapshot storage separately if different sizes
* Fix preload
* Fix compare
2023-01-13 17:13:21 -06:00
Nicolas Mowen and GitHub
7fbfdb3cb8
Replace localhost with explicit address ( #5070 )
...
* Replace localhost
* Replace localhost
2023-01-13 17:12:37 -06:00
e0a0d129df
Bump actions/setup-python from 4.4.0 to 4.5.0 ( #5064 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.4.0...v4.5.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 07:23:23 -06:00
Nicolas Mowen and GitHub
2d76363da5
Catch FileNotFoundError when getting file system stats ( #5056 )
2023-01-13 07:22:47 -06:00
Nicolas Mowen and GitHub
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
Nicolas Mowen and GitHub
3c708d7672
Update docs to point to ghcr ( #5053 )
...
* Update install docs to point to ghcr
* Update hwaccel image mention
2023-01-13 07:20:49 -06:00
Nicolas Mowen and GitHub
b4fb6086b3
Clarify docs about rtmp ( #5052 )
...
* Update readme features
* Remove RTMP setup from setup guide
* Update integration for RTSP
* Remove rtmp from faq
* Remove RTMP stream from guide
* Remove rtmp from install
* Remove rtmp from dev config
2023-01-13 07:20:25 -06:00
Nicolas Mowen and GitHub
ab44a65fe3
Make live docs more clear ( #5050 )
2023-01-13 07:18:44 -06:00
Felipe Santos and GitHub
95596b39fd
Capitalize the Frigate word ( #5044 )
2023-01-13 07:18:15 -06:00
Nicolas Mowen and GitHub
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 and GitHub
6b123675c4
System page: add detector process mem% ( #5028 )
2023-01-11 18:11:45 -06:00
James L and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
1643b4d108
Clean up go2rtc logs to not show color text unicode ( #5027 )
...
* Use color logs for go2rtc
* Update docs to show need for formatted logs
* Fix log selector
2023-01-11 17:21:13 -06:00
James L and GitHub
acd1fb9e3e
System page: various minor UI tweaks ( #4985 )
...
* System page: various minor UI tweaks
* Be consistent with capitalisation
* Change detection start epoch to running/idle
* Remove detection start column entirely
2023-01-11 06:11:57 -06:00
Nicolas Mowen and GitHub
ddde477770
Use scale_qsv and don't apply deinterlacing ( #4997 )
2023-01-11 06:11:26 -06:00
Nicolas Mowen and GitHub
3edbb8dc41
Camera WebUI fixes ( #5010 )
...
* Show jsmpeg when restream is disabled
* Fix debug button status not showing correctly when switching cameras
* Change label to make clear only motion masks are shown
2023-01-11 06:09:58 -06:00
Nicolas Mowen and GitHub
581c2591ae
Use library to handle copying to clipboard ( #4989 )
...
* Use library to handle copying
* Typo
2023-01-10 06:23:04 -06:00
Nicolas Mowen and GitHub
d49359e26a
Fix None filter for sub labels ( #4981 )
2023-01-09 19:44:26 -06:00
Nicolas Mowen and GitHub
e79eab711a
Fix RPi preset ( #4968 )
2023-01-08 20:58:06 -06:00
Nicolas Mowen and GitHub
5b7cd9ce64
Update go2rtc to rc7 ( #4965 )
2023-01-08 13:43:11 -07:00
Blake Blackshear and GitHub
3cb96091ec
update before install ( #4966 )
2023-01-08 14:39:39 -06:00
Nicolas Mowen and GitHub
fdd2cc972e
Update record.md ( #4964 )
2023-01-08 14:28:48 -06:00
Nicolas Mowen and GitHub
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
Nicolas Mowen and GitHub
5f4c439f57
Fix btbn pulling wrong build ( #4961 )
2023-01-08 09:23:58 -06:00
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 and GitHub
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 and GitHub
57dce4ec38
Make label colors consistent ( #4951 )
2023-01-07 12:05:11 -06:00
Blake Blackshear and GitHub
0dbf909ca6
try and further improve caching ( #4947 )
2023-01-07 08:07:56 -06:00
Pavels Veretennikovs and GitHub
47ac5ed522
fix: preset-http-jpeg-generic reference ( #4946 )
2023-01-07 07:21:18 -06:00
Blake Blackshear and GitHub
ec7aaa18ab
try and avoid caching extra large tensorrt layers ( #4942 )
2023-01-06 19:58:35 -06:00
Ryan G and GitHub
bee965df06
Fix integration link in the installation docs ( #4937 )
...
The link to the home assistant integration documentation was missing the leading slash which caused the path to be appended to the `/frigate` path of this page.
2023-01-06 19:32:23 -06:00
Nicolas Mowen and GitHub
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 and GitHub
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
AML225 and GitHub
417a42b0b3
Update installation.md ( #4871 )
...
Mounting the configuration file with the ":ro" flag will prevent users from editing config in new v12.0 UI.
2023-01-06 07:03:48 -06:00
Nate Meyer and GitHub
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
740d932848
Add ffmpeg presets docs and update nvidia-smi docs ( #4928 )
...
* Add tables for ffmpeg presets and how to use them
* Make it clear that ffmepg processes may not show when nvidia-smi is run inside the container
* Add specific example of mixed input arg presets
* Update docs/docs/configuration/ffmpeg_presets.md
Co-authored-by: Nate Meyer <Nate.Devel@gmail.com >
* typos
Co-authored-by: Nate Meyer <Nate.Devel@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2023-01-06 07:01:53 -06:00
Nate Meyer and GitHub
e645c8e007
Update TensorRT Docs ( #4920 )
...
* Remove branch from URL to tensorrt_models.sh
* Reword to make TensorRT model singular
* Add note about installing nvidia docker runtime and compatible drivers
2023-01-06 06:52:49 -06:00
Nicolas Mowen and GitHub
9ee367d9e9
Fix Other Stats Access Too ( #4917 )
2023-01-06 06:51:58 -06:00
8410788e99
add information about frigate plus to docs ( #4919 )
...
* add information about frigate plus to docs
* Update docs/docs/integrations/plus.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-01-06 06:51:40 -06:00
12235acd75
Build nginx with tmpfs ( #4933 )
...
* Update Dockerfile
* Update Dockerfile
* refactor into script and to be consistent
Co-authored-by: Sergey Krashevich <svk@svk.su >
2023-01-06 06:48:41 -06:00
yayitazale and GitHub
ba5cffac55
Update index.md ( #4915 )
...
Change the RTMP restream to RTSP
2023-01-05 06:30:35 -06:00
Nicolas Mowen and GitHub
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 and GitHub
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 and GitHub
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
Nicolas Mowen and GitHub
5e71d95cb1
Docs updates ( #4903 )
...
* Make note that Firefox does not work with MSE
* Add restream recommendation for mjpeg
2023-01-04 18:11:50 -06:00
9fd13aad11
check stream specific hwaccel_args for gpu stats ( #4869 )
...
* check stream specific hwaccel_args for gpu stats
* fix indentation
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* check special chars for linter
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2023-01-04 07:37:42 -06:00
Nicolas Mowen and GitHub
ebef38e408
Fix href for cameras direct link ( #4875 )
2023-01-03 19:32:56 -06:00
Nicolas Mowen and GitHub
b6592c67d1
Add None option to zones & sub labels ( #4886 )
...
* Add None option to zones
* Catch blank sub labels too
2023-01-03 19:29:25 -06:00
Nicolas Mowen and GitHub
d547680116
Only replace topic ( #4884 )
2023-01-03 19:25:15 -06:00
Nicolas Mowen and GitHub
bc5aa1141a
Set host as blank by default ( #4880 )
2023-01-03 19:24:53 -06:00
Nicolas Mowen and GitHub
ea7d1aabba
Ability to set different codec for restream and use go2rtc hardware ( #4876 )
...
* Add video codec to restream config
* Add handling of encode engine and video codec
* Add test for video encoding
* Set in main configuration docs as well
* Add example to restream docs
* Put back patch
2023-01-03 19:24:34 -06:00
Nicolas Mowen and GitHub
760d65b214
Don't fail to load when cameras stats are not available ( #4877 )
2023-01-03 19:23:56 -06:00
Nicolas Mowen and GitHub
ceab294840
Catch case where args are a string but not preset ( #4864 )
...
* Catch case where args are a string but not preset
* Fix formatting
2023-01-02 18:32:12 -06:00
Nicolas Mowen and GitHub
abc40f2581
only return stderr if return code is not 0 ( #4863 )
2023-01-02 17:31:59 -06:00
Felipe Santos and GitHub
dc738e9be7
Upgrade go2rtc from v0.1-rc.5 to v0.1-rc.6 ( #4860 )
2023-01-02 17:31:18 -06:00
Nicolas Mowen and GitHub
53d39a1373
Fix schema url ( #4855 )
2023-01-02 07:47:37 -06:00
Nicolas Mowen and GitHub
cee52e9cfd
Remove vaapi interlace which caused fps to be higher than specified ( #4843 )
2023-01-01 13:41:27 -06:00
9c6193b9b5
Update recommended hardware page to reflect multiple detectors ( #4746 )
...
* Update recommended hardware page to reflect multiple detectors are supproted
* Shift numbers around slightly
* Update with specific range
* Update with new observed range
* Add i5 example
Co-authored-by: Nate Meyer <Nate.Devel@gmail.com >
* Should support arm32 as well
Co-authored-by: Nate Meyer <Nate.Devel@gmail.com >
* Add more detail to supported platforms
* Fix typo
* Format table
* Fix table header
* Add info about tensorrt detectors and link to docs
* Add info about tensorrt detectors and link to docs
Co-authored-by: Nate Meyer <Nate.Devel@gmail.com >
2022-12-31 10:58:18 -06:00
Blake Blackshear and GitHub
e4a79b12eb
set env vars needed for nvidia support ( #4837 )
2022-12-31 09:13:08 -06:00
Tiago Delgado and GitHub
5eac767758
Remove duplicate "GET /vod/event/<event-id>/index.m3u8" ( #4836 )
2022-12-31 09:05:24 -06:00
spacebares and GitHub
b6ad287ef2
[API] filter for favorite events ( #4737 )
...
* [API] filter for favorite events
* Added /api/events filter for favorite (retain_indefinitely) events
* New Star button to filter for favorite events on the Events page
* fix python formatting
* keep Events favorite button to right side
2022-12-31 08:56:45 -06:00
spacebares and GitHub
f4991b46f8
[API] filter for favorite events ( #4737 )
...
* [API] filter for favorite events
* Added /api/events filter for favorite (retain_indefinitely) events
* New Star button to filter for favorite events on the Events page
* fix python formatting
* keep Events favorite button to right side
2022-12-31 08:56:30 -06:00
ecc7b93dc0
Bump json5 from 2.2.1 to 2.2.2 in /docs ( #4826 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 08:54:54 -06:00
Nicolas Mowen and GitHub
ff56262c6e
Add ability to restream birdseye ( #4761 )
...
* Try using RTSP for restream
* Add ability to get snapshot of birdseye when birdseye restream is enabled
* Write to pipe instead of encoding mpeg1
* Write to cache instead
* Use const for location
* Formatting
* Add hardware encoding for birdseye based on ffmpeg preset
* Provide framerate
* Adjust args
* Fix order
* Delete pipe file if it exists
* Cleanup spacing
* Fix spacing
2022-12-31 08:54:10 -06:00
Nicolas Mowen and GitHub
da1b7c2e28
Fix handling of timezones ( #4831 )
2022-12-30 17:51:13 -06:00
Blake Blackshear
76bbd838f7
Merge remote-tracking branch 'origin/master' into dev
2022-12-30 16:50:02 -06:00
a8e81a255d
Bump actions/setup-python from 4.3.0 to 4.4.0 ( #4786 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.3.0...v4.4.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 16:44:05 -06:00
Blake Blackshear and GitHub
fee48e555e
easier python deps ( #4827 )
...
* easier python deps
* update build wheels deps
* dependencies PRs cant become stale
2022-12-30 16:43:32 -06:00
Nicolas Mowen and GitHub
59b52f3879
Update max operations for stalebot ( #4828 )
2022-12-30 16:31:01 -06:00
Nicolas Mowen and GitHub
d6731b17a4
Add hardware accelerated scaling when using ffmpeg hwaccel presets ( #4804 )
...
* Use hardware accelerated scaling when hwaccel preset is set
* Set output types
* Add tests for scale, fix bugs
* Need to copy specific scale too
2022-12-30 10:56:52 -06:00
Nate Meyer and GitHub
3f05f74ecb
Nvidia TensorRT detector ( #4718 )
...
* Initial WIP dockerfile and scripts to add tensorrt support
* Add tensorRT detector
* WIP attempt to install TensorRT 8.5
* Updates to detector for cuda python library
* TensorRT Cuda library rework WIP
Does not run
* Fixes from rebase to detector factory
* Fix parsing output memory pointer
* Handle TensorRT logs with the python logger
* Use non-async interface and convert input data to float32. Detection runs without error.
* Make TensorRT a separate build from the base Frigate image.
* Add script and documentation for generating TRT Models
* Add support for TensorRT devcontainer
* Add labelmap to trt model script and docs. Cleanup of old scripts.
* Update detect to normalize input tensor using model input type
* Add config for selecting GPU. Fix Async inference. Update documentation.
* Update some CUDA libraries to clean up version warning
* Add CI stage to build TensorRT tag
* Add note in docs for image tag and model support
2022-12-30 10:53:17 -06:00
Nicolas Mowen and GitHub
e3ec292528
Fix config missing ( #4825 )
2022-12-30 09:52:10 -06:00
63260119fb
Frontend deps ( #4824 )
...
* Bump fake-indexeddb from 4.0.0 to 4.0.1 in /web
Bumps [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases )
- [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dumbmatter/fakeIndexedDB/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: fake-indexeddb
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @types/video.js from 7.3.49 to 7.3.50 in /web
Bumps [@types/video.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/video.js ) from 7.3.49 to 7.3.50.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/video.js )
---
updated-dependencies:
- dependency-name: "@types/video.js"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.47.1 in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.44.0 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump axios from 1.2.0 to 1.2.2 in /web
Bumps [axios](https://github.com/axios/axios ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.2.0...1.2.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* json5 vulnerability
* update linters
* reformat
* dev deps
* more deps
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 09:48:22 -06:00
Jonathan Zhang and GitHub
ffd637cc0c
fix: handle multi-word timezones ( #4816 )
2022-12-30 08:34:01 -06:00
Nicolas Mowen and GitHub
be2408b366
Update Reolink docs ( #4757 )
...
* Update reolink docs
* Remove outdated reolink settings page
* Update camera_specific.md
2022-12-29 10:37:56 -06:00
Nicolas Mowen and GitHub
6e519e0071
Fix error when saving the config unsuccessfully ( #4780 )
2022-12-29 10:37:04 -06:00
Nicolas Mowen and GitHub
f3e0ced1cd
Frontend Player Fixes ( #4778 )
...
* Fix Firefox WebRTC support
* Set max size for birdseye
2022-12-29 10:36:13 -06:00
Blake Blackshear and GitHub
368c07cc34
Update certs ( #4729 )
...
* force upgrade certs
* switch to debian for nginx build
2022-12-17 19:39:42 -06:00
Blake Blackshear and GitHub
d999575832
force upgrade certs ( #4728 )
2022-12-17 18:31:39 -06:00
Blake Blackshear
06bc9bb4dc
Merge remote-tracking branch 'origin/master' into dev
2022-12-17 18:07:01 -06:00
Blake Blackshear and GitHub
161991df1f
update contributing docs ( #4727 )
2022-12-17 18:02:14 -06:00
herostrat and GitHub
e3e03ec12f
Folderize Docs: Each topic gets a folder ( #4514 )
...
* Each topic gets a folder
* Fix wrong link
* Fix missing links in docs
* Unify all links: Include .md in filename
2022-12-17 17:57:18 -06:00
Nicolas Mowen and GitHub
c85df9c691
Fix MSE Issues ( #4725 )
...
* Don't close mse when pausing video
* Add message about MSE on iOS
2022-12-17 17:56:26 -06:00
Nicolas Mowen and GitHub
7953d131ae
Fix monaco editor issues ( #4724 )
...
* Add sub filter for monaco editor
* Don't include files for unused languages
* Move necessary files and cleanup build
* Update sub filter for new location
* Still need to include default editor worker
* Fix error when model already exists
2022-12-17 17:55:41 -06:00
spacebares and GitHub
c6f0abf732
Show All and Solo selection buttons for MultiSelect. ( #4723 )
...
* Show All and Solo selection buttons for MultiSelect.
Similar to previous behavior of viewing events for single camera with 1 click, or All.
* Fix visual bug with MultiSelect when selecting similar named options.
eg. options like frontdoor, frontside, backdoor, etc
* fix key prop for lint
* Change MultiSelect onSolo to onSelectSingle
* cosmetic changes on MultiSelect
* Different look for SelectSingle buttons
* Show All button is aligned with the items below it, no matter the popup size
* MultiSelect ShowAll unfocused by default
2022-12-17 17:54:54 -06:00
Nicolas Mowen and GitHub
49f70b9563
Update hardware_acceleration.md ( #4726 )
2022-12-17 17:54:02 -06:00
Nicolas Mowen and GitHub
369299315f
Optimize nginx & recordings ( #4688 )
...
* Add segment duration metadata
* Use faststart only for kept segments
* Add more options for performance
* Build nginx locally
* Build nginx in dockerfile and enable threaded vod handling
* Use DASH instead of hls
* Allow player to continue on error
* Undo DASH change
* Fix typo
* Correct log
* Fix bad comments
* Fix indentation
* Preload stream
* remove unused
* Fix spacing
* Fix tabs / sspaces
* Retab
* More cleanup
2022-12-17 17:53:34 -06:00
Felipe Santos and GitHub
9b99ba81e5
Use presets by default ( #4597 )
2022-12-16 07:41:03 -06:00
499866bf94
Add apache2 reverse proxy documentation ( #4502 )
...
* fix: add JetBrains IDE exclusions
* add: document apache2 reverse proxy configuration
* fix: qualify that steps included do not constitute a security guide (and users must rely on own experience)
* Update reverse_proxy.md
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update docs/docs/guides/reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Update reverse_proxy.md
* Update reverse_proxy.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2022-12-16 07:38:05 -06:00
Dennis George and GitHub
420bcd7aa0
Convert detectors to factory pattern, ability to set different model for each detector ( #4635 )
...
* refactor detectors
* move create_detector and DetectorTypeEnum
* fixed code formatting
* add detector model config models
* fix detector unit tests
* adjust SharedMemory size to largest detector model shape
* fix detector model config defaults
* enable auto-discovery of detectors
* simplify config
* simplify config changes further
* update detectors docs; detect detector configs dynamic
* add suggested changes
* remove custom detector doc
* fix grammar, adjust device defaults
2022-12-15 07:12:52 -06:00
Nicolas Mowen and GitHub
43c2761308
System page improvements ( #4707 )
...
* Catch case where camera is disabled
* Add ffprobe timeout and catch case where camera is disabled
2022-12-14 17:20:47 -06:00
Nicolas Mowen and GitHub
b1ec56de29
Add multiselect filtering to events view ( #3367 )
2022-12-12 06:30:34 -06:00
Nicolas Mowen and GitHub
45c43d7cf5
UI Cleanup & Optimization ( #4673 )
...
* Use prewrap so vainfo output appears normalized
* Move copy button to top so user doesn't need to scroll to copy logs
* Show calculating if no value for stream bandwidth
2022-12-12 06:28:44 -06:00
Nicolas Mowen and GitHub
037f3761e7
Use UTC for recordings ( #4656 )
...
* Write files in UTC and update folder structure to not conflict
* Add timezone arg for events summary
* Fixes for timezone in calls
* Use timezone for recording and recordings summary endpoints
* Fix sqlite parsing
* Fix sqlite parsing
* Fix recordings summary with timezone
* Fix
* Formatting
* Add pytz
* Fix default timezone
* Add note about times being displayed in localtime
* Improve timezone wording and show actual timezone
* Add alternate endpoint to cover existing usecase to avoid breaking change
* Formatting
2022-12-11 07:45:32 -06:00
Nicolas Mowen and GitHub
739a267462
Don't catch presets ( #4653 )
2022-12-09 08:35:28 -06:00
Nate Meyer and GitHub
ba3fbc99ba
Update method of aquiring signing keys for packages ( #4649 )
2022-12-09 06:39:02 -06:00
Nicolas Mowen and GitHub
cd9f6b074e
Restart record process if segments stop being written. ( #4604 )
...
* Catch when recording segments are not being written to cache and restart ffmpeg responsible for record
* Ensure this check is only run for role with record
* Fix formatting
* Redo recordings validator to watch segments time and restart if no segment for 30 seconds
* Formatting
* Increase wait time to 120 seconds and improve error message
* Add more config checks for record args and add test
* Formatting
* Specify output args.
2022-12-08 20:03:54 -07:00
964bcc0733
Logs in UI ( #4562 )
...
* Log all services to RAM
* Gracefully handle shutdown
* Add logs route
* Remove tail
* Return logs for services
* Display log chooser with copy button
* show logs for specific services
* Clean up settings logs
* Add copy functionality to logs
* Add copy functionality to logs
* Fix merge
* Set archive count to 0
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
2022-12-08 20:15:00 -06:00
Nicolas Mowen and GitHub
4f79ca1bf0
Fix ffprobe with special characters ( #4646 )
...
* Clean path from scpecial characters before running ffprobe
* Fix camera paths
2022-12-08 19:02:11 -06:00
Nicolas Mowen and GitHub
bc52fc1e79
Fix end events for mqtt ( #4647 )
2022-12-08 19:00:44 -06:00
Nicolas Mowen and GitHub
fee3418e60
Update advanced.md ( #4634 )
2022-12-08 06:47:27 -06:00
Felipe Santos and GitHub
2a5ab77637
Log all services to memory ( #4587 )
...
* Log all services to RAM
* Fix tests workdir
* Rotate logs when they reach 10MB and keep only 1 archive
* Gracefully handle shutdown
* Add note about gracetime not working
* Fix logs permission, create fake logs for devcontainer
* Remove empty line
* Update docker/rootfs/etc/services.d/frigate/run
* Fix fake Frigate shebang
2022-12-07 07:47:40 -06:00
Nicolas Mowen and GitHub
6abc0ce921
Cleanup names in webUI ( #4607 )
...
* Fix _ in labels
* Capitalize camera names in system
* Update storage to link to cameras and share name styling with rest of ui
2022-12-07 07:37:45 -06:00
Nicolas Mowen and GitHub
7888059c9f
Add config editor to webUI ( #4608 )
...
* Add raw config endpoint
* Add config editor
* Add code editor
* Add error
* Add ability to copy config
* Only show the save button when code has been edited
* Update errors
* Remove debug config from system page
* Break out config saving steps to pinpoint where error occurred.
* Show correct config errors
* Switch to monaco editor
* Adjust UI colors and behavior
* Get yaml validation working
* Set success color
2022-12-07 07:36:56 -06:00
Nicolas Mowen and GitHub
97161310a5
Update go2rtc version ( #4616 )
2022-12-07 07:35:41 -06:00
Nicolas Mowen and GitHub
2651bc18cd
Set max height so vainfo doesn't overflow ( #4598 )
2022-12-06 22:13:48 -06:00
Felipe Santos and GitHub
87e2810725
Do not apply -user_agent for rtmp streams ( #4596 )
2022-12-04 09:46:03 -06:00
Nicolas Mowen and GitHub
007fa75294
Fix intel gpu stats ( #4581 )
...
* Fix return code for timeout call
* Rewrit intel gpu logic
* Fix test and output
2022-12-03 10:28:01 -06:00
Felipe Santos and GitHub
94a2b6bb88
Upgrade s6-overlay from 2.2.0.3 to 3.1.2.1 ( #4584 )
...
Also remove the unnecessary xz-utils from the final image.
2022-12-03 10:23:19 -06:00
Nate Meyer and GitHub
e5fe323aca
Add OpenVino Detector ( #3768 )
...
* Initial work for adding OpenVino detector. Not functional
* Load model and submit for inference.
Sucessfully load model and initialize OpenVino engine with either CPU or GPU as device.
Does not parse results for objects.
* Detection working with ssdlite_mobilenetv2 FP16 model
* Add OpenVIno support and model to docker image
* Add documentation for OpenVino detector configuration
* Adds support for ARM32/ARM64 and the Myriad X hardware
- Use custom-built openvino wheel for all platforms
- Add libusb build without udev for NCS2 support
* Add documentation around Intel CPU requirements and NCS2 setup
* Print all available output tensors
* Update documentation for config parameters
2022-12-03 10:19:34 -06:00
Felipe Santos and GitHub
4523c9b06d
Set User Agent for FFmpeg calls ( #4555 )
...
* Set User Agent for FFmpeg calls
* Allow to use shell-like string args
* Add test for arg as string with space
2022-11-30 16:53:45 -06:00
Nicolas Mowen and GitHub
5ad391977e
FEAT: Storage API & Frontend ( #3409 )
...
* Get storage output stats for each camera
* Add storage route
* Add storage route
* Add storage page
* Cleanup
* Add stats and show more storage
* Add tests for mb abbrev util fun
* Rewrite storage logic to use storage maintainer and segment sizes
* Include storage maintainer for http
* Use correct format
* Remove utils
* Fix tests
* Remove total from equation
* Multiply by 100 to get percent
* Add basic storage info
* Fix storage stats
* Fix endpoint and ui
* Fix formatting
2022-11-29 19:59:56 -06:00
Nicolas Mowen and GitHub
25a7c4ee81
Fix gpu stats for ffmpeg presets ( #4554 )
2022-11-29 19:56:01 -06:00
Nicolas Mowen and GitHub
87144cd572
FEAT: Support for ffmpeg presets ( #3840 )
...
* Add hwaccel presets
* Use hwaccel presets
* Add input arg presets
* Use input arg presets
* Make util to clean up redundant code
* Add support for output arg presets
* Add tests
* Update camera specific to use presets
* Update hwaccel to use presets
* Format files and fix tests
* Rewrite tests to test record correctly
* Move presets from string to list to avoid manually separating into a list
* Add mjpeg cuvid decoder preset
* Fix tests
* Fix comment
2022-11-28 21:48:11 -06:00
Nicolas Mowen and GitHub
69560c8bde
Replace green screen with error message and force camera_fps to 0 ( #4544 )
...
* Move to images specific folder
* Send error image when camera stream is not available
* Immediately set camera_fps to 0 if camera crashes
* Cache error image so it is not read from file system on each run
* Move camera fps set
2022-11-28 21:47:20 -06:00
Nicolas Mowen and GitHub
aaedd24f37
Add GPU stats to the /stats API and debug screen ( #3931 )
...
* Add ffprobe endpoint
* Get ffprobe for multiple inputs
* Copy ffprobe in output
* Fix bad if statement
* Return full output of ffprobe process
* Return full output of ffprobe process
* Make ffprobe button show dialog with output and option to copy
* Add driver names to consts
* Add driver env var name
* Setup general tracking for GPU stats
* Catch RPi args as well
* Add util to get radeontop results
* Add real amd GPU stats
* Fix missed arg
* pass config
* Use only the values
* Fix vram
* Add nvidia gpu stats
* Use nvidia stats
* Add chart for gpu stats
* Format AMD with space between percent
* Get correct nvidia %
* Start to add support for intel GPU stats
* Block out RPi as util is not currently available
* Formatting
* Fix mypy
* Strip for float conversion
* Strip for float conversion
* Fix percent formatting
* Remove name from gpu map
* Add tests and fix AMD formatting
* Add nvidia gpu stats test
* Formatting
* Add intel_gpu_top for testing
* Formatting
* Handle case where hwaccel is not setup
* Formatting
* Check to remove none
* Don't use set
* Cleanup and fix types
* Handle case where args is list
* Fix mypy
* Cast to str
* Fix type checking
* Return none instead of empty
* Fix organization
* Make keys consistent
* Make gpu match style
* Get support for vainfo
* Add vainfo endpoint
* Set vainfo output in error correctly
* Remove duplicate function
* Fix errors
* Do cpu & gpu work asynchonously
* Fix async
* Fix event loop
* Fix crash
* Fix naming
* Send empty data for gpu if error occurs
* Show error if gpu stats could not be retrieved
* Fix mypy
* Fix test
* Don't use json for vainfo
* Fix cross references
* Strip unicode still
* await vainfo response
* Add gpu deps
* Formatting
* remove comments
* Use empty string
* Add vainfo back in
2022-11-28 19:24:20 -06:00
Nicolas Mowen and GitHub
3cb6d43fac
Fix recordings set name ( #4543 )
2022-11-28 18:58:41 -06:00
Nicolas Mowen and GitHub
68248cc274
Clean http password, clean path in debug config as well ( #4519 )
...
* Clean ffmpeg paths
* Clean http passwords too
* Make check optional
2022-11-26 19:18:33 -06:00
Blake Blackshear and GitHub
047c2408d2
fix support for yuv models ( #4523 )
2022-11-26 19:15:47 -06:00
Nicolas Mowen and GitHub
91982c4f7e
Remove topic prefix ( #4515 )
2022-11-25 20:10:09 -06:00
Nicolas Mowen and GitHub
4e5512e35d
Fix stats prefix ( #4505 )
2022-11-24 20:12:43 -06:00
Blake Blackshear and GitHub
1f4ce6ff1e
fix image build ( #4503 )
2022-11-24 11:42:25 -06:00
Blake Blackshear and GitHub
c497e83a54
Update python dependencies ( #4500 )
...
* low risk updatea
* revert scipy
* update flask
2022-11-24 10:47:45 -06:00
Blake Blackshear and GitHub
93f94a7afb
update web deps ( #4498 )
2022-11-24 08:20:27 -06:00
Nicolas Mowen and GitHub
6c0978498d
Abstract MQTT from communication and make mqtt optional ( #4462 )
...
* Add option for mqtt config
* Setup communication layer
* Have a dispatcher which is responsible for handling and sending messages
* Move mqtt to communication
* Separate ws communications module
* Make ws client conform to communicator
* Cleanup imports
* Migrate to new dispatcher
* Clean up
* Need to set topic prefix
* Remove references to mqtt in dispatcher
* Don't start mqtt until dispatcher is subscribed
* Cleanup
* Shorten package
* Formatting
* Remove unused
* Cleanup
* Rename mqtt to ws on web
* Fix ws mypy
* Fix mypy
* Reformat
* Cleanup if/else chain
* Catch bad set commands
2022-11-23 20:03:20 -06:00
Blake Blackshear and GitHub
370276a7b6
Faster image builds with caching ( #4491 )
...
* fix makefile variable
* add branch for testing
* fix arm32 build
* use amd64 for web build
* install wheels in a separate layer for better parallel builds
* try build-push-action
* try using gh context
* use short sha
* cleanup
2022-11-23 20:00:45 -06:00
Felipe Santos and GitHub
f4187d6b83
Reduce amount layers of the docker image ( #4448 )
...
* Reduce amount layers of the docker image
* Fix models file name
2022-11-21 19:31:39 -06:00
Felipe Santos and GitHub
c4d442450b
Remove ffplay from docker image ( #4449 )
2022-11-20 20:46:31 -06:00
Blake Blackshear and GitHub
82432a78b7
rename debug to system ( #4447 )
2022-11-20 08:56:48 -06:00
Nicolas Mowen and GitHub
ebdf36e0b9
Refactor mqtt to handle reconnects and not cause frigate to stop. ( #4440 )
...
* Refactor mqtt client
* Protect callback method
* Use async to handle reconnects
* Set types and clenup
* Don't set connected until rc code is checked
2022-11-20 07:36:01 -06:00
Felipe Santos and GitHub
65825040a3
Improve the devcontainer experience ( #3492 )
...
* Make it easier to run the devcontainer
* Some more improvements
* Tidy up few other things
* Better name stages
* Fix CI
* Setup everything with one click
* Allow to set IMAGE_OWNER
* Change IMAGE_OWNER to IMAGE_REPO
* Fix CI with IMAGE_REPO
* Fix nodejs installation
* Test devcontainer build as part of CI
* Build devcontainer in its own job
* Fix devcontainer cli installation
* Fix devcontainer build
* Fix devcontainer build in CI again
* Enable buildkit only
* Increase coverage of devcontainer test
* Fix devcontainer start in CI
* Ensure latest version of docker compose is used
* Fix install compose action
* Disable CI stuff which does not work until we fix them
2022-11-20 07:34:12 -06:00
Blake Blackshear
253061ee5f
Merge remote-tracking branch 'origin/master' into dev
2022-11-19 07:29:39 -06:00
Nicolas Mowen and GitHub
a46c37018f
Using testing repo for hwaccel dependencies ( #4368 )
2022-11-19 07:21:43 -06:00
2e81c94d8e
Typing Part 3: events.py ( #3352 )
...
* Typing: events.py
* Remove unused variable
* Fix return Any from return statement
Not all elements from the event dict are sure to be something that can be evaluated
See e.g.: https://github.com/python/mypy/issues/5697
* Sort out Event disambiguity
There was a name collision of multiprocessing Event type and frigate events
Co-authored-by: Sebastian Englbrecht <sebastian.englbrecht@kabelmail.de >
2022-11-19 07:16:33 -06:00
Nicolas Mowen and GitHub
a04fa105ef
Fix internal restream error and add docs for reducing camera connections ( #4431 )
...
* Start restream before detection
* Add docs explaining how to reduce connections to the camera
* Fix typos for consistency
* Add link to other part of doc for readability
2022-11-19 07:15:20 -06:00
Nicolas Mowen and GitHub
ad3f6fc551
Fix mixed params ( #4432 )
2022-11-19 07:14:54 -06:00
Nicolas Mowen and GitHub
53045de1c2
Update hardware_acceleration.md ( #4436 )
2022-11-19 07:14:22 -06:00
410cea71f1
Easy Python Updates ( #4424 )
...
* Update black requirement from ==22.3.* to ==22.10.*
Updates the requirements on [black](https://github.com/psf/black ) to permit the latest version.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.3.0...22.10.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update pylint requirement from ==2.13.* to ==2.15.*
Updates the requirements on [pylint](https://github.com/PyCQA/pylint ) to permit the latest version.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.0...v2.15.5 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update types-requests requirement from ==2.27.* to ==2.28.*
Updates the requirements on [types-requests](https://github.com/python/typeshed ) to permit the latest version.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update pyyaml requirement from ==6.0.* to ==6.0
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml ) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0b1...6.0 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 06:33:10 -06:00
Blake Blackshear
cc27c94e03
Merge remote-tracking branch 'origin/master' into dev
2022-11-17 07:11:03 -06:00
a9d95b89e1
Web updates and fixes ( #4411 )
...
* update dependencies
* Bump loader-utils from 2.0.3 to 2.0.4 in /docs
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* update BASE_PATH replacement
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 07:05:27 -06:00
Nicolas Mowen and GitHub
4eb3e98076
Update go2rtc, simplify manual stream, and support audio for MSE & WebRTC ( #4391 )
...
* Update go2rtc to rc3
* Simplify ffmpeg / audio conversions
* Set ffmpeg bin location
* Manually set video as copied
* Run go2rtc with env vars
* Remove manual ffmpeg declaration
* Enable force_audio by default
* Fix test
2022-11-16 06:29:47 -06:00
Felipe Santos and GitHub
664e04836d
Remove wheels from final container ( #4395 )
2022-11-16 06:27:37 -06:00
Nicolas Mowen and GitHub
a1b21a87a1
Catch case where recording is not enabled ( #4069 )
...
* Catch case where recording is not enabled
* Add test for Record to catch this
* Add test for Record to catch this
2022-11-13 12:50:25 -06:00
Nicolas Mowen and GitHub
e718d09c79
Fix new lines for instructions ( #4371 )
...
* Fix new lines for instructions
* Use correct formatting for list
* Fix formatting
2022-11-13 12:49:08 -06:00
Nicolas Mowen and GitHub
c97aac6c94
Revamped debug UI and add camera / process info, ffprobe copying ( #4349 )
...
* Move each camera to a separate card and show per process info
* Install top
* Add support for cpu usage stats
* Use cpu usage stats in debug
* Increase number of runs to ensure good results
* Add ffprobe endpoint
* Get ffprobe for multiple inputs
* Copy ffprobe in output
* Add fps to camera metrics
* Fix lint errors
* Update stats config
* Add ffmpeg pid
* Use grid display so more cameras can take less vertical space
* Fix hanging characters
* Only show the current detector
* Fix bad if statement
* Return full output of ffprobe process
* Return full output of ffprobe process
* Don't specify rtsp_transport
* Make ffprobe button show dialog with output and option to copy
* Adjust ffprobe api to take paths directly
* Add docs for ffprobe api
2022-11-13 12:48:14 -06:00
9c9220979e
Update web deps ( #4383 )
...
* Bump jest from 27.5.1 to 29.3.1 in /web
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 27.5.1 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump msw from 0.38.2 to 0.48.0 in /web
Bumps [msw](https://github.com/mswjs/msw ) from 0.38.2 to 0.48.0.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v0.38.2...v0.48.0 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump idb-keyval from 6.1.0 to 6.2.0 in /web
Bumps [idb-keyval](https://github.com/jakearchibald/idb-keyval ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/jakearchibald/idb-keyval/releases )
- [Changelog](https://github.com/jakearchibald/idb-keyval/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jakearchibald/idb-keyval/compare/v6.1.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: idb-keyval
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @babel/preset-typescript from 7.16.7 to 7.18.6 in /web
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.7 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump typescript from 4.6.2 to 4.8.4 in /web
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.6.2 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.8.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @testing-library/user-event from 13.5.0 to 14.4.3 in /web
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 13.5.0 to 14.4.3.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.4.3 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump preact-router from 4.0.1 to 4.1.0 in /web
Bumps [preact-router](https://github.com/preactjs/preact-router ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/preactjs/preact-router/releases )
- [Commits](https://github.com/preactjs/preact-router/compare/4.0.1...4.1.0 )
---
updated-dependencies:
- dependency-name: preact-router
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump axios from 0.26.0 to 1.1.3 in /web
Bumps [axios](https://github.com/axios/axios ) from 0.26.0 to 1.1.3.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.26.0...v1.1.3 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @preact/preset-vite from 2.1.7 to 2.4.0 in /web
Bumps [@preact/preset-vite](https://github.com/preactjs/preset-vite ) from 2.1.7 to 2.4.0.
- [Release notes](https://github.com/preactjs/preset-vite/releases )
- [Commits](https://github.com/preactjs/preset-vite/compare/v2.1.7...v2.4.0 )
---
updated-dependencies:
- dependency-name: "@preact/preset-vite"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @testing-library/jest-dom from 5.16.2 to 5.16.5 in /web
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.2 to 5.16.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.2...v5.16.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* revamp frontend
* disable broken tests
* disable a few more tests
* update typescript
* couple docs updates
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-13 10:31:36 -06:00
Nicolas Mowen and GitHub
42bc372d6e
Update mask editor to have instructions ( #4324 )
2022-11-10 06:31:19 -06:00
Nicolas Mowen and GitHub
47c1985c26
Go2rtc update and MSE improvements ( #4309 )
...
* Update go2rtc to rc2
* Update MSE player
* Update mse player
* Update mse player
* Close stream when pausing
2022-11-08 19:48:36 -06:00
Nicolas Mowen and GitHub
9e31873520
More config checks ( #4310 )
...
* Move existing checks to own functions
* Add config check for zone objects that are not tracked
* Add tests for config error
* Formatting
* Catch case where field is defined multiple times and add test
* Add warning for rtmp
2022-11-08 19:47:45 -06:00
8665a24560
Update web dependencies ( #4321 )
...
* Bump prettier from 2.5.1 to 2.7.1 in /web
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.1 to 2.7.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.7.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump tailwindcss from 3.0.23 to 3.2.2 in /web
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) from 3.0.23 to 3.2.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.23...v3.2.2 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump videojs-seek-buttons from 2.2.1 to 3.0.1 in /web
Bumps [videojs-seek-buttons](https://github.com/mister-ben/videojs-seek-buttons ) from 2.2.1 to 3.0.1.
- [Release notes](https://github.com/mister-ben/videojs-seek-buttons/releases )
- [Changelog](https://github.com/mister-ben/videojs-seek-buttons/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mister-ben/videojs-seek-buttons/commits )
---
updated-dependencies:
- dependency-name: videojs-seek-buttons
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump eslint-plugin-jest from 26.1.4 to 27.1.4 in /web
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.1.4 to 27.1.4.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.1.4...v27.1.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump eslint from 8.13.0 to 8.27.0 in /web
Bumps [eslint](https://github.com/eslint/eslint ) from 8.13.0 to 8.27.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.13.0...v8.27.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump video.js and @types/video.js in /web
Bumps [video.js](https://github.com/videojs/video.js ) and [@types/video.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/video.js ). These dependencies needed to be updated together.
Updates `video.js` from 7.20.2 to 7.20.3
- [Release notes](https://github.com/videojs/video.js/releases )
- [Changelog](https://github.com/videojs/video.js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/videojs/video.js/compare/v7.20.2...v7.20.3 )
Updates `@types/video.js` from 7.3.44 to 7.3.49
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/video.js )
---
updated-dependencies:
- dependency-name: video.js
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: "@types/video.js"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @babel/preset-env from 7.16.11 to 7.20.2 in /web
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.11 to 7.20.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.20.2/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump immer from 9.0.12 to 9.0.16 in /web
Bumps [immer](https://github.com/immerjs/immer ) from 9.0.12 to 9.0.16.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v9.0.12...v9.0.16 )
---
updated-dependencies:
- dependency-name: immer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @typescript-eslint/eslint-plugin from 5.18.0 to 5.42.1 in /web
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.18.0 to 5.42.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.42.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump @typescript-eslint/parser from 5.18.0 to 5.42.1 in /web
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.18.0 to 5.42.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.42.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* update gitignore
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 07:18:43 -06:00
Blake Blackshear and GitHub
2b842468ad
Upgrade to latest docusaurus ( #4303 )
...
* upgrade to latest docusaurus
* patch vuln
* fix broken link
2022-11-07 21:14:29 -06:00
8cddf87f9e
Github actions version updates ( #4302 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 07:18:10 -06:00
herostrat and GitHub
573fdae37f
Configure Dependabot ( #4271 )
...
* Configure dependabot
* Set dependabot on dev branch
2022-11-07 06:10:08 -06:00
Blake Blackshear and GitHub
9b5c6bea56
Automatic image builds for dev/master ( #4260 )
...
* try a different approach for build_web
* add automatic image builds
* build web first
* try disabling log file
* chown dir
* use volume
* set cache path
* test a push
* limit to dev/master branch commits
2022-11-06 07:19:00 -06:00
Nate Meyer and GitHub
40cb5102b0
Support more special chars in camera passwords ( #4259 )
...
* Support more special chars in camera passwords
* End password test with double @ chars
* Escape passwords in paths for go2rtc
* Fixes for formatting
2022-11-05 21:42:32 -05:00
Blake Blackshear
95343b6094
Merge remote-tracking branch 'origin/master' into dev
2022-11-05 09:27:38 -05:00
Blake Blackshear and GitHub
e15b2627fc
Update funding list and fix demo link ( #4258 )
...
* update funding list
* fix demo link
2022-11-05 09:25:19 -05:00
Nicolas Mowen and GitHub
02caeb9f87
Update go2rtc to rc1 ( #4252 )
2022-11-05 09:13:03 -05:00
4383b883c0
Refactor to simplify support for additional detector types ( #3656 )
...
* Refactor EdgeTPU and CPU model handling to detector submodules.
* Fix selecting the correct detection device type from the config
* Remove detector type check when creating ObjectDetectProcess
* Fixes after rebasing to 0.11
* Add init file to detector folder
* Rename to detect_api
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Add unit test for LocalObjectDetector class
* Add configuration for model inputs
Support transforming detection regions to RGB or BGR.
Support specifying the input tensor shape. The tensor shape has a standard format ["BHWC"] when handed to the detector, but can be transformed in the detector to match the model shape using the model input_tensor config.
* Add documentation for new model config parameters
* Add input tensor transpose to LocalObjectDetector
* Change the model input tensor config to use an enumeration
* Updates for model config documentation
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2022-11-03 21:23:09 -05:00
bcc26dd86a
Update docs to reflect recommended custom birdseye icon size ( #4065 )
...
* ffmpeg stopped working without correct png size
When I made my own size for my picture, ffmpeg stopped working. Only with a size of 180x180 my frigate runs normal
* Adjusting language
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2022-11-02 07:03:32 -05:00
Nicolas Mowen and GitHub
1bc9efd529
Support special characters in passwords, redacted logs & debug config ( #4057 )
...
* Consts for regex
* Add regex for camera username and password
* Redact user:pass from ffmpeg logs
* Redact ffmpeg commands
* Move common function to util
* Add tests
* Formatting
* Remove unused imports
* Fix test
* Add port to test
* Support special characters in passwords
* Add tests for special character handling
* Remove docs about not supporting special characters
2022-11-02 07:00:54 -05:00
11624d4759
Bump vite from 2.8.6 to 2.9.13 in /web ( #3885 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 2.8.6 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 06:51:31 -05:00
94e2a500c7
Bump @xmldom/xmldom from 0.7.5 to 0.7.8 in /web ( #4230 )
...
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom ) from 0.7.5 to 0.7.8.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.7.5...0.7.8 )
---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 06:50:17 -05:00
banthungprong and GitHub
552638d000
Adding clip duration to event details ( #4133 )
...
* Adding clip length in s to Events View
* added function returning human readable length
* switched to date-fns functions for formatting
* fixed switched start/end time, changed length to duration
2022-11-02 06:45:32 -05:00
banthungprong and GitHub
8163afce79
Allow cameras to be disabled in config ( #4162 )
...
* add option enabled for each camera in config
* Simplified If-block and removed wrong Optional
* Update Docs enabling/disabling camera in config
* correct format for option
* Disabling Camera for processes, no config changes
* Describe effects of disabled cam in documentation
* change if-logic, obsolete copy, info disabled cam
* changed color to white, added top padding in disabled camera info
* changed indentation
2022-11-02 06:41:44 -05:00
Nicolas Mowen and GitHub
2a36a1b980
Catch case where segment is bad length ( #4228 )
...
* Catch case where segment is bad length
* Log ffprobe error code and error
2022-11-02 06:37:27 -05:00
d8123d2497
Add go2rtc and add restream role / live source ( #4082 )
...
* Pull go2rtc dependency
* Add go2rtc to local services and add to s6
* Add relay controller for go2rtc
* Add restream role
* Add restream role
* Add restream to nginx
* Add camera live source config
* Disable RTMP by default and use restream
* Use go2rtc for camera config
* Fix go2rtc move
* Start restream on frigate start
* Send restream to camera level
* Fix restream
* Make sure jsmpeg works as expected
* Make view rspect live size config
* Tweak player options to fit live view
* Adjust VideoPlayer to accept live option which disables irrelevant controls
* Add multiple options from restream live view
* Add base for webrtc option
* Setup specific restream modules
* Make mp4 the default streaming for now
* Expose 8554 for rtsp relay from go2rtc
* Formatting
* Update docs to suggest new restream method.
* Update docs to reflect restream role
* Update docs to reflect restream role
* Add webrtc player
* Improvements to webRTC
* Support webrtc
* Cleanup
* Adjust rtmp test and add restream test
* Fix tests
* Add restream tests
* Add live view docs and show different options
* Small docs tweak
* Support all stream types
* Update to beta 9 of go2rtc
* Formatting
* Make jsmpeg the default
* Support wss if made from https
* Support wss if made from https
* Use onEffect
* Set url outside onEffect
* Fix passed deps
* Update docs about required host mode
* Try memo instead
* Close websocket on changing camera
* Formatting
* Close pc connection
* Set video source to null on cleanup
* Use full path since go2rtc can't see PATH var
* Adjust audio codec to enable browser audio by default
* Cleanup stream creation
* Add restream tests
* Format tests
* Mock requests
* Adjust paths
* Move stream configs to restream
* Remove live source
* Remove live config
* Use live persistence for which view to use on each camera
* Fix live sizes
* Only use jsmpeg sizes for jsmpeg live
* Set max live size
* Remove access of live config
* Add selector for live view source in web view
* Remove RTMP from default list of roles
* Update docs
* Fix tests
* Fix docs for live view modes
* make default undefined to avoid race condition
* Wait until camera source is loaded to avoid race condition
* Fix tests
* Add config to go2rtc
* Work with config
* Set full path for config
* Set to use stun
* Check for mounted file
* Look for frigate-go2rtc
* Update docs to reflect webRTC configuration.
* Add link to go2rtc config
* Update docs to be more clear
* Update docs to be more clear
* Update format
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
* Update live docs
* Improve bash startup script
* Add option to force audio compatibility
* Formatting
* Fix mapping
* Fix broken link
* Update go2rtc version
* Get go2rtc webui working
* Add support for mse
* Remove mp4 option
* Undo changes to video player
* Update docs for new live view options
* Make separate path for mse
* Remove unused
* Remove mp4 path
* Try to get go2rtc proxy working
* Try to get go2rtc proxy working
* Remove unused callback
* Allow websocket on restrea dashboard
* Make mse default stream option
* Fix mse sizing
* don't assume roles is defined
* Remove nginx mapping to go2rtc ui
Co-authored-by: Felipe Santos <felipecassiors@gmail.com >
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2022-11-02 06:36:09 -05:00
MariusMueller and GitHub
86268b99fb
Doc Update: Added "-c:v mjpeg" to MJPEG Cameras input_agrs in order to make a video stream work that comes from an ESP32-cam using ESPHome standard software ( #4171 )
2022-10-25 17:30:12 -05:00
Nicolas Mowen and GitHub
b4d4adb75b
Limit recording retention to available storage ( #3942 )
...
* Add field and migration for segment size
* Store the segment size in db
* Add comment
* Add default
* Fix size parsing
* Include segment size in recordings endpoint
* Start adding storage maintainer
* Add storage maintainer and calculate average sizes
* Update comment
* Store segment and hour avg sizes per camera
* Formatting
* Keep track of total segment and hour averages
* Remove unused files
* Cleanup 2 hours of recordings at a time
* Formatting
* Fix bug
* Round segment size
* Cleanup some comments
* Handle case where segments are not deleted on initial run or is only retained segments
* Improve cleanup log
* Formatting
* Fix typo and improve logging
* Catch case where no recordings exist for camera
* Specifically define sort
* Handle edge case for cameras that only record part time
* Increase definition of part time recorder
* Remove warning about not supported storage based retention
* Add note about storage based retention to recording docs
* Add tests for storage maintenance calculation and cleanup
* Format tests
* Don't run for a camera with no recording segments
* Get size of file from cache
* Rework camera stats to be more efficient
* Remove total and other inefficencies
* Rewrite storage cleanup logic to be much more efficient
* Fix existing tests
* Fix bugs from tests
* Add another test
* Improve logging
* Formatting
* Set back correct loop time
* Update name
* Update comment
* Only include segments that have a nonzero size
* Catch case where camera has 0 nonzero segment durations
* Add test to cover zero bandwidth migration case
* Fix test
* Incorrect boolean logic
* Formatting
* Explicity re-define iterator
2022-10-09 06:28:26 -05:00
Blake Blackshear
3c01dbed7d
increment version
2022-10-08 19:32:45 -05:00
2eada219cd
Restructured camera specific documentation ( #4005 )
...
* Restructured camera specific documentation
* Make room for manufacture specific docs
* Added initial (more or less) working setup for Annke C800 camera
* Update docs/docs/configuration/camera_specific.md
remove tracking settings from example
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
* Moved unify and blue iris cams examples
* headline cleanup
* removed doubled headline in advanced options
* changed headline level for camera specific setup to make headlines
show up in toc
* removed specific optimizations not related to cam
* more generic phrasing
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2022-10-07 21:15:12 -05:00
Nicolas Mowen and GitHub
8dd367efa9
Link to env var option ( #4032 )
2022-10-07 21:13:47 -05:00
Nicolas Mowen and GitHub
66dc8c772b
Remove snapshot requirement for thumbnail event query ( #4039 )
2022-10-07 21:13:15 -05:00
Sean Kelly and GitHub
68cdd9b94c
Fix some typos in docs ( #4020 )
2022-10-05 06:15:15 -05:00
Nicolas Mowen and GitHub
65c211bb6d
Catch ffprobe empty stdout ( #4016 )
2022-10-04 19:56:04 -05:00
Nicolas Mowen and GitHub
60ad38261b
Fix sub label access ( #4015 )
...
* Fix access
* Formatting
2022-10-04 18:49:37 -05:00
Blake Blackshear
c02100ee6f
increment version
2022-10-04 06:28:56 -05:00
Blake Blackshear and GitHub
8669c29e3d
don't overwrite segments that already exist ( #3995 )
2022-10-01 18:11:29 -05:00
10783fec49
identation, device Id ( #3921 )
...
* identation, device Id
indentation issue : "deploy" need to ne at th esame level as "image"
Device ID : use "device id" instead of "count: 1" cf : https://docs.docker.com/compose/gpu-support/
* Update docs/docs/configuration/hardware_acceleration.md
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com >
2022-10-01 09:04:28 -05:00
Julien Ehrhart and GitHub
3bed4611f1
Add an example for birdseye override at camera level ( #3922 )
2022-10-01 09:04:05 -05:00
Nicolas Mowen and GitHub
f0e836e5b6
Update MQTT along with enabling motion detection ( #3898 )
2022-10-01 09:01:43 -05:00
Nicolas Mowen and GitHub
a1ae5b67d8
Mqtt sub labels ( #3899 )
...
* Set sub label on object data if event is in progress
* Include sub_label in dict
* Don't need to set and passively get
* Formatting
* Don't expect event to be valid
* Update docs to reflect that sub label is included
2022-10-01 09:00:56 -05:00
Nicolas Mowen and GitHub
53f7190d42
Set a timeout on github release check ( #3969 )
...
* Set a timeout on github release check
* Formatting
2022-10-01 08:58:23 -05:00
Blake Blackshear and GitHub
3846a13805
Merge pull request #2829 from blakeblackshear/release-0.11.0
...
Release 0.11.0
2022-09-22 18:47:05 -05:00
Blake Blackshear
7c60753ab0
Merge remote-tracking branch 'origin/master' into release-0.11.0
2022-09-22 18:42:20 -05:00
Nicolas Mowen and GitHub
df40b96b44
BUG: Fixes and cleanup around region / bounding box calculation ( #3879 )
...
* -1 so ensure indexes are correct
* Catch case of zero division
* Due to the -1, it may be negative
* Ignore source of error
The error is occurring due to a detections bounding box starting beyond the frame, this should be immediately ignored
* Formatting
* Check horizontal placement as well
* Remove original frame clamping
2022-09-22 08:07:16 -05:00
Aksel Skauge Mellbye and Blake Blackshear
faf583451f
Recording: Fix z-index issue with recording playlist ( #3762 )
2022-09-20 06:05:43 -05:00
Nicolas Mowen and GitHub
be7b858cbd
Remove JELLYFIN from intel driver name hwaccel docs ( #3855 )
2022-09-16 10:47:22 -06:00
Aksel Skauge Mellbye and Blake Blackshear
a6a0e4d1de
Bring recording playlist in front of video.js modals
...
Ensure that the playlist doesn't get covered by video.js error messages,
preventing interaction.
2022-09-15 06:36:32 -05:00
Aksel and GitHub
14faf0b2f6
Show snapshots on events page ( #3763 )
...
* Add tabs to show snapshot or thumbnail as part of event details,
even if event has a clip available.
* Add ability for TextTab to render as disabled.
2022-09-15 06:35:51 -05:00
Nicolas Mowen and GitHub
bdfe4a961a
Add documentation for custom ffmpeg builds ( #3771 )
...
* Add instructions for custom ffmpeg build
* Add note about mapping /bin
2022-09-15 06:34:07 -05:00
Nick Mowen and Blake Blackshear
1bc8d94312
Fix edge of frame after region adjustments
2022-09-15 06:33:32 -05:00
Nick Mowen and Blake Blackshear
7e9f913ff6
Fix edge case where browser sends multiple requests to download file.
2022-09-15 06:32:54 -05:00
Blake Blackshear
0882e4a454
update recommended hardware links
2022-09-06 20:59:23 -05:00
Nicolas Mowen and GitHub
699bd3748a
Add note about special characters in passwords ( #3719 )
2022-09-06 20:51:49 -05:00
Nicolas Mowen and GitHub
2ca59f0abe
Fix stalebot ( #3731 )
...
* Reconfigure stalebot with new stale action
* remove old stalebot configuration
2022-09-06 20:51:29 -05:00
Nicolas Mowen
64b1b8e15c
Add support request template for edgetpu and hwaccel
2022-08-28 16:58:43 -06:00
Nick Mowen and Blake Blackshear
b6f799e641
Add camera specific for unify protect cameras
2022-08-28 11:14:01 -05:00
uvjustin and GitHub
c461c9e700
Set vod_ignore_edit_list option ( #3710 )
2022-08-26 06:33:16 -05:00
uvjustin and GitHub
9df415b3f2
Fix VOD issues with longer keyframe intervals ( #3671 )
...
* Fix VOD issues with longer keyframe intervals
* Move probe function to util
Update comment
* Use recording duration for keyFrameDurations
* Remove unused early return
* Avoid clipping first clip
2022-08-26 06:32:34 -05:00
Blake Blackshear
f7c5e02a35
Merge remote-tracking branch 'origin/master' into release-0.11.0
2022-08-25 07:40:26 -05:00
Nicolas Mowen and GitHub
656e6a2a89
Events setup docs ( #3164 )
...
* Add events setup to guides
* Add to sidebar
* Fix relative docs references
2022-08-25 07:34:39 -05:00
Jason and GitHub
afefa3ec02
Update camera_specific.md ( #3292 )
...
Change fflag arg to remove `nobuffer`, which causes stream errors in 0.11-beta2
2022-08-25 07:33:47 -05:00
uvjustin and GitHub
8c45dab9b8
Handle spaces in labels ( #3679 )
...
* Unquote label in flask routes
Encode label in Camera.jsx
* Don't use preprocessor
* Update nginx location for cacheable images
2022-08-25 07:32:30 -05:00
Nicolas Mowen and GitHub
0d6dd1ed0f
Cleanup names of cameras, zones, & labels in the UI ( #3708 )
...
* Cleanup names of cameras, zones, & labels in the UI
* Fix tests to include camera name
2022-08-25 06:44:34 -05:00
Nicolas Mowen and GitHub
911d6fdfa7
Ensure bounding box is within camera frame ( #3702 )
...
* Ensure bounding box is within camera frame
* Account for 0 index
2022-08-24 07:39:47 -05:00
Blake Blackshear
0cf759acad
Merge remote-tracking branch 'origin' into release-0.11.0
2022-08-24 07:22:57 -05:00
Justin Wong and Blake Blackshear
7c57c8c2da
Use master playlist for videojs
2022-08-24 07:21:39 -05:00
Justin Wong and Blake Blackshear
89c04acdff
Bump videojs to 7.20.2
...
Bump videojs-seek-buttons to 2.2.1
Bump types/video.js to 7.3.44
2022-08-24 07:21:39 -05:00
Nick Mowen and Blake Blackshear
05d5f13f0e
Remove outdated section on events
2022-08-24 06:52:18 -05:00
Blake Blackshear
4682af81fb
update recommended hardware links
2022-08-24 06:43:42 -05:00
Nick Mowen and Blake Blackshear
e649a1eb98
Use btbn build for ffmpeg since jellyfin has compatibility issues with rtsp-simple-server
2022-08-24 06:43:42 -05:00
Blake Blackshear
01482d791b
Merge remote-tracking branch 'origin/master' into release-0.11.0
2022-08-13 06:50:21 -05:00
Nick Mowen and Blake Blackshear
6e2e297aeb
Add clean copy to configuration docs
2022-08-13 06:47:58 -05:00
Stéphane Graber and Blake Blackshear
5577ef081f
docker: Add VAAPI to arm64
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com >
2022-08-13 06:47:29 -05:00
Nicolas Mowen and GitHub
2d5d3bdaf4
Wait for recordingSummary and recordings to be valid before playing ( #3558 )
...
* Wait for recordingSummary and recordings to be valid before playing
* Wait for recordingSummary and recordings to be valid before playing
2022-08-13 06:46:08 -05:00
3376e85be6
Update docs to reflect new image multiarch tag ( #3570 )
...
* Update docs to reflect new image multiarch
* simplify
Co-authored-by: Blake Blackshear <blake@frigate.video >
2022-08-13 06:45:32 -05:00
7a1215d581
Adding configuration example for retain modes ( #3589 )
...
* Adding configuration example for retain modes
Reading the documentation on its own didn't help me but when I found https://github.com/blakeblackshear/frigate/discussions/2447 I was able to understand how to add this to my configuration. I've added the example given in that discussion to help future readers of the page.
* Update record.md
Added suggested changes and have also added wording beneath the example mentioning the configuration can be added on a per camera basis.
Have also built on the example to add object specific retentions timings - Not sure if it would be preferred to have it all within one example to not complicate things?
Let me know your thoughts
* Update record.md
Created Object Specific Retention header
* Typo
Co-authored-by: Blake Blackshear <blake@frigate.video >
2022-08-13 06:42:25 -05:00
Nick Mowen and Blake Blackshear
a94297ac93
Add link to supported encoding for each GPU
2022-08-13 06:32:24 -05:00
Blake Blackshear
37325c70ba
fix plus enabled for addons
2022-07-22 08:12:58 -05:00
Blake Blackshear
3c46a33992
revert false warning messages
2022-07-20 06:55:06 -05:00
ed1897db71
Add log message when discarding recording segments in cache ( #3439 )
...
* Add log message when discarding recording segments in cache
Currently Frigate silently discards recording segments in cache if there's more than "keep_count" for a camera, which can happen on high load/busy/slow systems.
This results in recording segments being lost with no apparent cause in the logs (even when set to debug).
This PR adds a warning log entry when discarding segments, in the same way as discarding corrupted segments
* Add explanatory warning and properly format cache_path warning
* lint fixes
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2022-07-19 07:24:44 -05:00
Caros2017 and Blake Blackshear
dfbebb63ff
Update hardware_acceleration.md
...
Added the solution for the problem in https://github.com/blakeblackshear/frigate/issues/3227
2022-07-19 07:06:40 -05:00
Matthew Parlane and Blake Blackshear
e68f80b44a
Use relative path without .. for rtmp documentation to fix #3481
...
../faq was used in rtmp.md which leads to the wrong URL when
the current URL ends in a slash due to 301 redirect of netlify
2022-07-19 07:06:27 -05:00
JohnMark Sill and Blake Blackshear
a67a768e89
improvement: better play/pause
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
43f05c18d6
chore: remove unused import
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
3b076c28c2
chore: removed unused properties interface
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
cbf12e3f90
fix: removed unused state
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
17b745434c
improvement: migrated to videojs
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
37011c2fda
improvement: use useCallback instead of setting ref auto-magically
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
fa95a041dd
fix: height of video is now constant in history viewer
2022-07-19 07:04:33 -05:00
JohnMark Sill and Blake Blackshear
0879d7a2d1
fix: marker time image
2022-07-19 07:04:33 -05:00
Nick Mowen and Blake Blackshear
653c2274e1
Add FAQ about database locked error
2022-07-19 06:59:50 -05:00
Nick Mowen and Blake Blackshear
061fb15a80
Reset motion to false on startup
2022-07-19 06:59:20 -05:00
Blake Blackshear
3246fcce22
document buildx setup
2022-07-19 06:56:23 -05:00
Blake Blackshear
f2a3797b46
add additional render group
2022-07-19 06:44:11 -05:00
Blake Blackshear
b80080ac52
don't refetch data on refocus
2022-07-07 07:05:05 -05:00
Blake Blackshear
b36b63599b
update stimeout to timeout
2022-07-05 11:55:55 -05:00
Blake Blackshear
5d8c0e43c2
try ffmpeg5 again
2022-07-05 11:54:21 -05:00
Josh Hawkins and Blake Blackshear
7845995dfd
Adjust threshold and contour_area with mqtt
2022-07-05 08:46:10 -05:00
Blake Blackshear
afe88d6e3a
switch back to upgraded numpy
2022-07-04 16:51:48 -05:00
Blake Blackshear
560ee0104d
arm32 compat
2022-07-04 09:06:26 -05:00
Blake Blackshear
dc8b625d55
sync numpy version
2022-07-03 10:12:14 -05:00
Blake Blackshear
162c0147d2
use jellyfin for all arch
2022-07-03 10:12:00 -05:00
Blake Blackshear
ef54cd6fb3
add plus endpoint to docs
2022-07-01 06:57:03 -05:00
Nicolas Mowen and GitHub
c2465a46a8
Http tests ( #3350 )
...
* Set up for http tests
* Setup basics for testing and first test
* Add testing consts
* Cleanup db creation
* Add one more check to test
* Get event that does not exist
* Get events working with cleaner db
* Test retain / un-retain
* Test setting and deleting sub label
* Test getting list of sub labels
* Fix bug caught in tests
* Test deleting event
* Test geting list of events
* Expand test
* Test more event filters
* Write version module so tests don't fail on version import
* Test config
* Test recordings endpoint
* Formatting
* Remove unused imports
* Test stats
* Add cleanup files in const
* Add name to match other checks
2022-06-30 07:53:46 -05:00
Blake Blackshear
24d3a9cdd5
read plus api key from addon options
2022-06-30 07:19:40 -05:00
Blake Blackshear
5e82eaed88
switch back to ffmpeg 4.4.1
2022-06-28 06:50:19 -05:00
Blake Blackshear
1d45b0b351
update hwaccel docs
2022-06-11 06:42:09 -05:00
Blake Blackshear
ba119e4f96
revert back to ffmpeg 4.3.2
2022-06-10 07:38:26 -05:00
Blake Blackshear
75c2feb387
ffmpeg5 and intel va driver
2022-06-09 07:16:21 -05:00
Nicolas Mowen and GitHub
da637d3c8f
Limit size of player in events view ( #3288 )
...
* Set max width
* Set data-options so videojs accepts size changing
* Add comment to explain exmpty data-setup value
* Clarify comment
2022-06-02 07:06:39 -05:00
Blake Blackshear
bc078fcc88
remove deprecated max_seconds config option
2022-06-01 06:50:09 -05:00
Nicolas Mowen and GitHub
93cd973e59
Update index.md ( #3267 )
2022-05-29 09:48:55 -05:00
Nicolas Mowen and GitHub
5f9d477863
Update event filters naming and add sub label filter ( #3194 )
...
* Use default names so filters are more clear
* Add endpoint to get list of sub labels inside DB
* Fix crash on no internet
* Cleanups for sub_label http
* Add sub label selector to events UI
* Add event filtering for sub label
* Formatting files
* Reduce size of filters to fit on one line
* Add handler for tests
* Remove unused imports
* Only show the sub labels filter when there are sub labels in the DB
* Fix tests
* Use distinct instead of group_by
* Formatting
* Cleanup event logic
2022-05-29 09:47:43 -05:00
Nicolas Mowen and GitHub
ca693240b1
Favorite events delete button warning ( #3225 )
...
* Add dialog to shield deletion of favorite event
* Use state to keep track of event id
* Adjust named
* Set color of button
2022-05-26 10:06:02 -05:00
Nicolas Mowen and GitHub
468febc434
Catch crash on no internet ( #3246 )
2022-05-26 10:04:33 -05:00
Blake Blackshear
4b81c88794
use specific jellyfin-ffmpeg build
2022-05-26 10:02:43 -05:00
Blake Blackshear
2ac28b93f3
fix development port
2022-05-20 09:28:26 -05:00
Blake Blackshear
3e7ed982d4
fix tests
2022-05-20 09:28:26 -05:00
Nicolas Mowen and GitHub
d8d410802f
Set height and width of delete icon for firefox ( #3226 )
2022-05-19 07:41:31 -05:00
Blake Blackshear
ca7bad8909
get ingress to play nice with vite
2022-05-19 07:31:51 -05:00
Patrick Fruh and Blake Blackshear
7b2b5bfa71
update hwaccel docs for nvidia docker-compose
2022-05-18 17:19:37 -05:00
Blake Blackshear
d2c3cdcf04
don't add 16x on every render
2022-05-16 07:00:33 -05:00
Blake Blackshear
7c8142174e
mqtt motion adjustments
2022-05-15 07:45:04 -05:00
Blake Blackshear
efe3f96223
update hwaccel docs for RPi
2022-05-15 07:19:55 -05:00
de244d6873
Send mqtt message when motion is detected ( #3152 )
...
* Send mqtt message when motion is detected
* Use object processing instead of passing mqtt client around
* Cleanup
* Formatting
* add comment
* Make off delay configurable.
* Handle updating each camera based on config off delay
* Formatting
* Update docker-compose.yml
* Fix processing issue
* Update mqtt docs
* Update main config docs
* Make sure multiple True values aren't published for the same motion
* Make sure multiple True values aren't published for the same motion
* Update payload to fit existing HA standard values
* Update docs to fit new values
* Update docs
* Update motion topic
* Use datetime.datetime and remove unused imports
* Cast to int
* Clarify motion detector behavior in docs
* Fix typo
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2022-05-15 07:03:33 -05:00
Nick Mowen and Blake Blackshear
53bf3cd2e6
Use tip for casting notes and specific note for no audio cameras
2022-05-14 07:32:31 -05:00
Nick Mowen and Blake Blackshear
f59871a189
Fix bolding
2022-05-14 07:32:31 -05:00
Nick Mowen and Blake Blackshear
2dda7608bb
Clarify camera streaming
2022-05-14 07:32:31 -05:00
Nick Mowen and Blake Blackshear
10db9faff9
Add docs about casting
2022-05-14 07:32:31 -05:00
Carlos Gustavo Sarmiento and Blake Blackshear
90bff605fa
Only include 16x if browser is not Firefox
2022-05-14 07:31:52 -05:00
Carlos Gustavo Sarmiento and Blake Blackshear
f512df44c1
Add 16x Playback rate to VideoPlayer.jsx
2022-05-14 07:31:52 -05:00
Blake Blackshear
4e8ce28948
center portrait thumbnails
2022-05-14 06:37:06 -05:00
Blake Blackshear
16057cdef7
only use jellyfin-ffmpeg for amd64
2022-05-14 06:36:38 -05:00
Blake Blackshear
da36f25fd0
fix swr fetcher
2022-05-12 12:05:34 -05:00
Blake Blackshear
0e9c8a4ddd
update docusaurus
2022-05-12 06:29:43 -05:00
Blake Blackshear
ccc9b90625
update docs
2022-05-12 06:29:43 -05:00
Blake Blackshear
d992a959f2
sync lint settings
2022-05-12 06:29:43 -05:00
Blake Blackshear
358d0521a1
fix plus active check and add logging
2022-05-12 06:29:43 -05:00
Blake Blackshear
691ed6a4c7
revamp recordings
2022-05-12 06:29:43 -05:00
Blake Blackshear
78e1782084
optimize query performance
2022-05-12 06:29:43 -05:00
Blake Blackshear
0d5ae9a399
cleanup
2022-05-12 06:29:43 -05:00
Blake Blackshear
d343a658ec
batch deletes for massive cleanups
2022-05-12 06:29:43 -05:00
Nicolas Mowen and GitHub
0bd3cff13b
Set event thumbnail cache timeout to 1 day ( #3150 )
...
* Set event thumbnail cache timeout to 1 day
* Pass max age as a param and set default to 30 days
2022-04-26 19:42:07 -05:00
Nicolas Mowen and GitHub
5b71271b3c
Set motion switch on mqtt connection ( #3149 )
2022-04-26 19:09:53 -05:00
Nicolas Mowen and GitHub
0a4d658c7f
Ability to enable / disable motion detection via MQTT ( #3117 )
...
* Starting working on adding motion toggle
* Add all info to mqtt command
* Send motion to correct funs
* Update mqtt docs
* Fixes for contingencies
* format
* mypy
* Tweak behavior
* Fix motion breaking frames
* Fix bad logic in detect set
* Always set value for motion boxes
2022-04-26 07:29:28 -05:00
Blake Blackshear
b75929a846
add all jellyfin-ffmpeg binaries to path
2022-04-26 07:24:30 -05:00
Blake Blackshear
e33cd442cd
ensure params get passed to api for jpg
2022-04-26 07:24:30 -05:00
Blake Blackshear
91539de3ff
optimize caching of image data from api
2022-04-26 06:36:26 -05:00
Blake Blackshear
bc0206de9d
retain the set topic for switches
2022-04-25 07:13:22 -05:00
Blake Blackshear and GitHub
f536494a38
Multi arch image with nvidia decode support
...
* build working
* update makefile
* use jellyfin-ffmpeg for all arch
* just build web once for all arch
* update actions build
* update docs
2022-04-24 13:52:12 -05:00
Blake Blackshear
f2030d301f
type fixes
2022-04-18 06:52:13 -05:00
Blake Blackshear
d890217447
Merge remote-tracking branch 'origin/master' into release-0.11.0
2022-04-18 06:45:30 -05:00
Sebastian Englbrecht and Blake Blackshear
cafe0917c7
Typing: mypy fixes for
...
* __main__.py
* app.py
* models.py
* plus.py
* stats.py
In addition a new module was introduced: types
There all TypedDicts are included. Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
2022-04-17 08:55:38 -05:00
Sebastian Englbrecht and Blake Blackshear
ebf4e43ced
Modernizing Typing
...
All Dict, List were converted to dict, list, see: https://mypy.readthedocs.io/en/stable/builtin_types.html#generic-types
2022-04-17 08:55:38 -05:00
Blake Blackshear
a1afade9ba
fix birdseye config
2022-04-16 09:08:10 -05:00
Blake Blackshear
b86b2d6602
cleanup print statements
2022-04-16 09:08:10 -05:00
Blake Blackshear
12abbc59d6
add lint check to workflow
2022-04-16 09:08:10 -05:00
Blake Blackshear
ec91466fe4
lint fixes
2022-04-16 09:08:10 -05:00
Blake Blackshear
0044f73d7a
armv7 compatibility
2022-04-16 09:08:10 -05:00
Josh Hawkins and GitHub
65e0ec7826
Allow improve_contrast to be toggled via mqtt ( #3011 )
...
* Toggle improve_contrast for cameras via MQTT
* Process parameter to mqtt toggle improve_contrast
* Update mqtt docs for improve_contrast topic
* Spacing
* Add class variable and update in process_frames
* Pass to constructor
* pass by reference mistake
* remove parameter
* remove parameter
2022-04-16 08:52:02 -05:00
Nicolas Mowen and GitHub
a5016afdd4
FEAT: Ability to reorder & ability to hide Cameras in UI ( #2981 )
...
* Add options for reordering and hiding cameras selectively
* Add newline at end of camera file
* Make each camera for birdseye togglable as well
* Update names to be less ambiguous
* Update defaults
* Include sidebar change
* Remove birdseye toggle (will be added in separate PR)
* Remove birdseye toggle (will be added in separate PR)
* Remove birdseye toggle (will be added in separate PR)
* Update sidebar to only sort cameras once
* Simplify sorting logic
2022-04-15 07:23:02 -05:00
Nicolas Mowen and GitHub
6808ba1b3b
Add more issue templates ( #3095 )
...
* Create camera_support_request.yml
* Update camera_support_request.yml
* Create config_support_request.yml
* Update and rename support_request.yml to general_support_request.yml
2022-04-15 07:03:04 -05:00
Sebastian Englbrecht and Blake Blackshear
41f58c7692
Add basic typing for multiple modules:
...
* log.py
* video.py
* watchdog.py
* zeroconf.py
2022-04-15 07:01:43 -05:00
Sebastian Englbrecht and Blake Blackshear
c6234bf548
fix depreciated import from collections
2022-04-15 07:01:43 -05:00
Sebastian Englbrecht and Blake Blackshear
d995761419
Prepare mypy for typing checks
2022-04-15 07:01:43 -05:00
Nicolas Mowen and GitHub
d749cf2e6b
Allow birdseye to be overridden at the camera level ( #3083 )
...
* Add camera level processing for birdseye
* Add camera level birdseye configruation
* Propogate birdseye from global
* Update docs to show that birdseye is overridable
* Fix incorrect default factory
* Update note to indicate values that can be overridden
* Cleanup config accessing
* Add tests for birdseye config behavior
* Fix mistake on test format
* Update tests
2022-04-15 06:59:30 -05:00
164e9b7eb8
Use requirement file for pip installs ( #3090 )
...
Co-authored-by: Sebastian Englbrecht <sebastian.englbrecht@kabelmail.de >
2022-04-12 07:21:21 -05:00
d43f9189a6
Changes group type from int to str ( #3086 )
...
Co-authored-by: Sebastian Englbrecht <sebastian.englbrecht@kabelmail.de >
2022-04-12 07:20:28 -05:00
Nicolas Mowen and GitHub
a292f272e9
DOCS: Add stationary tracking config section to elaborate more on stationary tracking ( #3077 )
...
* Add docs to elaborate more on stationary tracking
* Add link to guide on avoiding stationary objects in driveway scenario
* Update wording in reference config
* Small cleanups
* Update with PR comments
2022-04-11 07:19:25 -05:00
Nicolas Mowen and GitHub
58c32857d3
Add latest frigate version to stats endpoints ( #3038 )
...
* Add latest version to stats in mqtt and http
* Update json to include new field
* Update to use requests
* Don't use incorrect exception
2022-04-11 07:10:19 -05:00
Blake Blackshear and GitHub
35bd1de5ba
limit send to plus where appropriate ( #3080 )
2022-04-11 06:56:53 -05:00
Nicolas Mowen and GitHub
51fd18f56d
FEAT: Ability to set custom birdseye icon and birdseye docs ( #2979 )
...
* Show custom.png for birdseye icon if available
* Don't look for config value
* Add birdseye docs
2022-04-10 09:15:56 -05:00
Nicolas Mowen and GitHub
162e275ef3
Always show camera recordings in sidebar regardless of state ( #2846 )
2022-04-10 09:13:30 -05:00
Blake Blackshear
44a2b54773
package updates
2022-04-10 09:11:16 -05:00
Blake Blackshear
d17828931b
include prettier in extensions
2022-04-10 09:11:16 -05:00
Blake Blackshear
cef77fba01
add frontend for frigate+ submission
2022-04-10 09:11:16 -05:00
Blake Blackshear
e724fe3da6
add endpoint to submit to plus
2022-04-10 09:11:16 -05:00
Nick and GitHub
045aac8933
Add object filter ratio ( #2952 )
...
* Add object ratio config parameters
Issue: #2948
* Add config test for object filter ratios
Issue: #2948
* Address review comments
- Accept `ratio` default
- Rename `bounds` to `box` for consistency
- Add migration for new field
Issue: #2948
* Fix logical errors
- field migrations require default values
- `clipped` referenced the wrong index for region, since it shifted
- missed an inclusion of `ratio` for detections in `process_frames`
- revert naming `o[2]` as `box` since it is out of scope!
This has now been test-run against a video, so I believe the kinks are
worked out.
Issue: #2948
* Update contributing notes for `make`
Issue: #2948
* Fix migration
- Ensure that defaults match between Event and migration script
- Deconflict migration script number (from rebase)
Issue: #2948
* Filter objects out of ratio bounds
Issue: #2948
* Update migration file to 009
Issue: #2948
2022-04-10 08:25:18 -05:00
Nicolas Mowen and GitHub
2e5d082ef3
Update docs to include warnings about needing record enabled in the config ( #3045 )
...
* Update record docs to include note for automations.
* Update config to warn about recording needing to be enabled.
* Update wording from PR comments
2022-04-02 08:33:10 -05:00
Nicolas Mowen and GitHub
923d07b1a4
BUG: Event stuck if recording & snapshot disabled while in-progress ( #3023 )
...
* Fix recording getting stuck bug
* Fix typo
2022-03-30 06:33:34 -05:00
Dermot Duffy and GitHub
c424c4b7ef
Fix tiny timing bug. ( #2994 )
2022-03-21 06:43:27 -05:00
Nicolas Mowen and GitHub
b1cc64d4fa
FEAT: Ability to set sub labels for specific events ( #2949 )
...
* Add sub label to model and set / delete funs
* Add migrations for sub label
* Tweaks to API and model
* Show sublabel if available
* Cleanups
* Update docs
* Show person in UI title
* Fix typo and don't fail on no json
* Transfer sub labels for in progress events
* Remove sublabel reset
* Remove person only check
* Make default null
* Update docs and formatting
* Make default null
* Make nullable in migration
* Undo null
* Update model to accept null
* Update migration to accept null
* Don't set to default values
* Remove redundant defaults and update http logic
* Only need a single route
* Enforce 20 character limit in http
* Update docs to mention 20 character limit
* Cleanup
* Separate insert and update to make sure updated values are retained when event ends
* Use insert instead of replace
* Remove redundant if and have should_update_db include clip or snapshot requirement.
2022-03-17 07:18:43 -05:00
Nicolas Mowen and GitHub
0abd0627df
FEAT: Replace best jpg endpoint ( #2944 )
...
* Added object thumbnail def and made camera tracked objects use it.
* Add object snapshot def
* Remove documentation for best.jpg
* Update docs for label thumbnail and snapshot defs
2022-03-11 07:56:39 -06:00
Blake Blackshear
dccfc3b84f
fix camera list on debug page
2022-03-11 07:49:06 -06:00
Blake Blackshear
deb3536cb2
fix date picker
2022-03-11 07:49:06 -06:00
Blake Blackshear
1d8f1b24a9
update to node 16
2022-03-11 07:49:06 -06:00
Blake Blackshear
7cabf8e5f5
run tests in container
2022-03-11 07:49:06 -06:00
Blake Blackshear
ffee9c8065
update makefile and docker dir
2022-03-11 07:49:06 -06:00
Blake Blackshear
00112eb7bc
update frontend docs
2022-03-11 07:49:06 -06:00
Blake Blackshear
9bbe75d64e
fix dark mode
2022-03-11 07:49:06 -06:00
Blake Blackshear
95fe62e141
switch to vite
2022-03-11 07:49:06 -06:00
Blake Blackshear
1c9ba11e07
swr events refactor
2022-03-11 07:49:06 -06:00
Blake Blackshear
4bae3993da
update dev compose to assign groups
2022-03-11 07:49:06 -06:00
Blake Blackshear
d03865d1a5
add amd64 specific packages to container
2022-03-11 07:49:06 -06:00
707Alex707 and Blake Blackshear
83481afee1
remove print statement
2022-03-10 20:02:10 -06:00
Blake Blackshear
b1a2b0cda2
make dynamic contrast optional and disable by default
2022-03-10 19:46:55 -06:00
Blake Blackshear
0dfba6e8d9
bump version
2022-03-10 19:46:55 -06:00
e4afe50509
Docs: Update recording docs to include examples of retain modes. ( #2914 )
...
* Update recording docs to include examples of retain modes.
* Minor adjustment
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2022-03-10 06:37:20 -06:00
Nicolas Mowen and GitHub
006569391f
MQTT support for all objects for each camera & zone ( #2908 )
2022-03-10 06:03:00 -06:00
Blake Blackshear
f4c3bb0617
affiliate link updates
2022-03-01 18:45:56 -06:00
JohnMark Sill and GitHub
3e07d4eddb
feat: Timeline UI ( #2830 )
2022-02-27 08:04:12 -06:00
Nicolas Mowen and GitHub
4004048add
Ability to retain specific clips / events indefinitely ( #2831 )
2022-02-21 22:03:01 -06:00
Blake Blackshear
cbf26e09a4
fix for opencv changes
2022-02-21 06:51:33 -06:00
Blake Blackshear
20b4b503f0
refactor dockerbuild for multiarch
2022-02-21 06:51:33 -06:00
Blake Blackshear and GitHub
08f573aaa5
Clarify max_frames setting
2022-02-20 08:17:43 -06:00
Blake Blackshear
3dd3786055
increment version
2022-02-18 22:15:30 -06:00
Blake Blackshear
bfecee9650
add missing optional comment in docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
395c16300d
deregister based on max_frames setting
2022-02-18 21:18:26 -06:00
Blake Blackshear
ff19cdb773
refactor stationary config into section
2022-02-18 21:18:26 -06:00
Nicolas Mowen and Blake Blackshear
5627b66a6e
Always show recording link even if recordings are currently disabled ( #2787 )
...
* Always show recording link even if recordings are currently disabled
* Fix test to consider all cameras to have recording link
2022-02-18 21:18:26 -06:00
Blake Blackshear
ebdfbfe96c
update birdseye to handle stationary objects
2022-02-18 21:18:26 -06:00
Blake Blackshear
1a009c7fd1
use second stream in docs example
2022-02-18 21:18:26 -06:00
Blake Blackshear
c14f986fae
stop forcing detection all the way to stationary_threshold
2022-02-18 21:18:26 -06:00
Blake Blackshear
ee5b9986ad
bump default stationary_threshold to 10s
2022-02-18 21:18:26 -06:00
Blake Blackshear
190f217b13
set stationary_threshold default to 5x fps
2022-02-18 21:18:26 -06:00
Blake Blackshear
e78662b924
fix the bounding box calculation position at 10
2022-02-18 21:18:26 -06:00
Blake Blackshear
5a2e395352
selectively increment position changes
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
8de15af7b4
Fix duration for long events and playback rate for top of the hour
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
21178613de
Only send significant update once when motionless count reaches the defined threshold.
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
340be7f86d
Allow download of in progress clips
2022-02-18 21:18:26 -06:00
Blake Blackshear
0ff4acd59c
remove invalid warning
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
28dd43f8ae
Fix playback rate resetting to 1 on source change
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
56d24cbf6d
Update package-lock.json
2022-02-18 21:18:26 -06:00
Jason Hunter and Blake Blackshear
e433bec17f
Add in progress events to recordings view
2022-02-18 21:18:26 -06:00
Blake Blackshear
3189467a36
update an object once per minute
2022-02-18 21:18:26 -06:00
Blake Blackshear
63536d249f
signal an update when object becomes stationary
2022-02-18 21:18:26 -06:00
Blake Blackshear
3e90f3032c
make stationary_threshold configurable
2022-02-18 21:18:26 -06:00
Blake Blackshear
5cff849e59
publish an update on position changes
2022-02-18 21:18:26 -06:00
Blake Blackshear
06cc7527a9
only update db entry when a stored property changes
2022-02-18 21:18:26 -06:00
Blake Blackshear
d78dc2388c
increment motionless_count
2022-02-18 21:18:26 -06:00
Blake Blackshear
583912db9c
allow motion based retention when detect is disabled
2022-02-18 21:18:26 -06:00
Blake Blackshear
5792cf042e
fix resolution on reolink example
2022-02-18 21:18:26 -06:00
Blake Blackshear
4524dca3ed
clarify addon versions
2022-02-18 21:18:26 -06:00
Blake Blackshear
304a569c7e
remove outdated output args tip
2022-02-18 21:18:26 -06:00
Blake Blackshear
10c200dc24
clarify that zones are based on the bottom center
2022-02-18 21:18:26 -06:00
Blake Blackshear
0b8617d09f
update addon urls
2022-02-18 21:18:26 -06:00
Blake Blackshear
e7026dfd6e
add example for ios camera live feed notification
2022-02-18 21:18:26 -06:00
Blake Blackshear
b82d75b79e
avoid rare divide by zero
2022-02-18 21:18:26 -06:00
Blake Blackshear
ac30091258
note for future
2022-02-18 21:18:26 -06:00
Blake Blackshear
de58bdcc9f
improve warning for retain modes
2022-02-18 21:18:26 -06:00
Blake Blackshear
329e5f8f91
invert active_count logic
2022-02-18 21:18:26 -06:00
Blake Blackshear
4a16171f96
set has_clip to false when recordings fail
2022-02-18 21:18:26 -06:00
Blake Blackshear
f0212c2aa4
adjust error messages on ffmpeg crash
2022-02-18 21:18:26 -06:00
Blake Blackshear
7401cf2399
add stacktrace to config validation errors
2022-02-18 21:18:26 -06:00
Blake Blackshear
493d16519a
add new properties to the docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
a87675d3cc
add additional info for non-H264 cameras
2022-02-18 21:18:26 -06:00
Blake Blackshear
0bef16bb17
upgrade npm in dev container
2022-02-18 21:18:26 -06:00
Blake Blackshear
e0078f388e
package updates for docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
cf6e66c453
allow dash in camera name
2022-02-18 21:18:26 -06:00
Blake Blackshear
34fa53afcc
make motion the default retain mode
2022-02-18 21:18:26 -06:00
Blake Blackshear
663bf05fd7
update stationary interval docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
f512af2563
make expire interval configurable for users wanting to minimize i/o
2022-02-18 21:18:26 -06:00
Blake Blackshear
7e7d70aa5b
avoid extra tracking work on stationary frames
2022-02-18 21:18:26 -06:00
Blake Blackshear
dd1cf4d2ce
use iou instead of centroid
2022-02-18 21:18:26 -06:00
Blake Blackshear
e627f4e935
dont stop scanning when there are other regions
2022-02-18 21:18:26 -06:00
Blake Blackshear
c6445898ce
default periodic checks to never
2022-02-18 21:18:26 -06:00
Blake Blackshear
f1ddd0e6f7
scan the frame on startup
2022-02-18 21:18:26 -06:00
Blake Blackshear
db369a5b7f
require a position change to be an active object
2022-02-18 21:18:26 -06:00
Blake Blackshear
87cd618998
randomize the region multiplier for variation
2022-02-18 21:18:26 -06:00
Blake Blackshear
338e4004d4
improve method for determining position
...
compares the centroid to a history of bounding boxes
2022-02-18 21:18:26 -06:00
Blake Blackshear
675f21e23a
if recording not on disk, delete from db and return
2022-02-18 21:18:26 -06:00
Blake Blackshear
4d2d11193f
cleanup clean snapshots on event deletion too
2022-02-18 21:18:26 -06:00
Blake Blackshear
69aaf1f8e6
require url safe camera names
2022-02-18 21:18:26 -06:00
Bernt Christian Egeland and Blake Blackshear
a10970d7c9
Event Datepicker ( #2428 )
...
* new datepicker
* dev
* dev
* dev
* fix for version 0.10
* added rounded corners for date range
* lint
* Commented out some Select.test.
* improved date range selection
* improved functions with useCallback
* improved Select.test.jsx
* keyboard navigation
* keyboard navigation
* added dropdown menu icon
* Hide filters on xs, Button to show
* check if to far left before right
* Filter button text
* improved local timezone
2022-02-18 21:18:26 -06:00
6eecb6780e
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-02-18 21:18:26 -06:00
80627e4989
safe refactoring ( #2552 )
...
Co-authored-by: YS <ys@gm.com >
2022-02-18 21:18:26 -06:00
TJ Horner and Blake Blackshear
9e987fdebc
Change JPEG mime type ( #2543 )
2022-02-18 21:18:26 -06:00
Blake Blackshear
e6292c719d
disable disk sync on startup
2022-02-18 21:18:26 -06:00
Blake Blackshear
7c74bf2566
fix migrations
2022-02-18 21:18:26 -06:00
Blake Blackshear
2c91e7853c
check for apex dir
2022-02-18 21:18:26 -06:00
Ryan McLean and Blake Blackshear
1e7f196e5c
#2117 change entered_zones from set to list so that they are not automatically alphabetically ordered ( #2212 )
2022-02-18 21:18:26 -06:00
Justin Goette and Blake Blackshear
f91f4f0053
Allow for ".yaml" ( #2244 )
...
* allow for ".yaml"
* remove unused import
2022-02-18 21:18:26 -06:00
Matt Clayton and Blake Blackshear
8b2622a234
Add temperature of coral tpu to telemetry mqtt message
2022-02-18 21:18:26 -06:00
Blake Blackshear
a2ddb12eb3
limit vod response cache
2022-02-18 21:18:26 -06:00
Blake Blackshear
985bd6d9bd
update docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
ec3c15e4a7
expire overlapping segments based on mode
2022-02-18 21:18:26 -06:00
Blake Blackshear
188b202836
store objects and motion counts in the db
2022-02-18 21:18:26 -06:00
Blake Blackshear
01e607a14e
warn when retention mismatch
2022-02-18 21:18:26 -06:00
Blake Blackshear
5b164b72dc
refactor segment stats logic
2022-02-18 21:18:26 -06:00
Blake Blackshear
dcf65febba
switch to retain config instead of retain_days
2022-02-18 21:18:26 -06:00
Blake Blackshear
56a2d4e64d
pass processed tracked objects
2022-02-18 21:18:26 -06:00
Blake Blackshear
ef214fb80a
retain frame data for recording maintenance
2022-02-18 21:18:26 -06:00
Blake Blackshear
93f418ac0b
fix process_clip
2022-02-18 21:18:26 -06:00
Blake Blackshear
689af4ff87
sync recordings with disk once on startup
2022-02-18 21:18:26 -06:00
Blake Blackshear
4ab0927de8
no need to expire recordings every minute
2022-02-18 21:18:26 -06:00
Blake Blackshear
014e6fc909
ensure cache copies when events have ended
2022-02-18 21:18:26 -06:00
Blake Blackshear
6832575643
cleanup missing files from database once per hour
2022-02-18 21:18:26 -06:00
Blake Blackshear
07ad2d97b1
handle missing file edge case
2022-02-18 21:18:26 -06:00
Blake Blackshear
039f1a522e
log error messages on vod endpoints
2022-02-18 21:18:26 -06:00
Blake Blackshear
24e2f84231
ensure duration > 0 for segments
2022-02-18 21:18:26 -06:00
Blake Blackshear
e0c0033852
use snapshot url to support in progress events
2022-02-18 21:18:26 -06:00
Blake Blackshear
c50e9d48bf
ensure stationary interval is greater than 0
2022-02-18 21:18:26 -06:00
Blake Blackshear
173eaabddf
add duration to cache
2022-02-18 21:18:26 -06:00
Blake Blackshear
a748b70da1
avoid running ffprobe for each segment multiple times
2022-02-18 21:18:26 -06:00
Blake Blackshear
8eabe5dd41
warn if no wait time
2022-02-18 21:18:26 -06:00
Blake Blackshear
114415b5e1
keep 5 segments in cache
2022-02-18 21:18:26 -06:00
Blake Blackshear
ba55b5a6db
better cache handling
2022-02-18 21:18:26 -06:00
Blake Blackshear
7533f2a8ab
avoid proactive messages with retain_days 0 and handle first pass
2022-02-18 21:18:26 -06:00
Blake Blackshear
543a8a1712
avoid divide by zero
2022-02-18 21:18:26 -06:00
Blake Blackshear
9b23ff597c
revert switch to b/w frame prep
2022-02-18 21:18:26 -06:00
Blake Blackshear
b2ce1edd5a
fix default motion comment
2022-02-18 21:18:26 -06:00
Blake Blackshear
a0235b7da4
more robust cache management
2022-02-18 21:18:26 -06:00
Blake Blackshear
87e2300855
set retain when setting switches from frontend
2022-02-18 21:18:26 -06:00
Blake Blackshear
34bc6a6457
error handling for the recording maintainer
2022-02-18 21:18:26 -06:00
Blake Blackshear
273076e7f4
don't modify ffmpeg_cmd object
2022-02-18 21:18:26 -06:00
Blake Blackshear
b29b311e92
fix ffmpeg config for env vars
2022-02-18 21:18:26 -06:00
Blake Blackshear
5a9e82c4b0
create ffmpeg commands on startup
2022-02-18 21:18:26 -06:00
Blake Blackshear
6218791708
clarify shm in docs
2022-02-18 21:18:26 -06:00
Blake Blackshear
0e43f452d2
use resolution of clip
2022-02-18 21:18:26 -06:00
Blake Blackshear
0695bb097d
revamp process clip
2022-02-18 21:18:26 -06:00
Blake Blackshear
294c79a271
no longer make motion settings dynamic
2022-02-18 21:18:26 -06:00
Blake Blackshear
e351e132f5
remove min frame height of 180 and increase contour area
2022-02-18 21:18:26 -06:00
Blake Blackshear
258215a3ae
consolidate regions
2022-02-18 21:18:26 -06:00
Blake Blackshear
08ddfc100f
improve contrast
2022-02-18 21:18:26 -06:00
Blake Blackshear
8ab6cba521
check for overlapping motion boxes
2022-02-18 21:18:26 -06:00
Blake Blackshear
eb16de7395
config option for stationary detection interval
2022-02-18 21:18:26 -06:00
Blake Blackshear
dde0498ed3
drop high overlap detections
2022-02-18 21:18:26 -06:00
Blake Blackshear
75c8570913
reduce detection rate for stationary objects
2022-02-18 21:18:26 -06:00
Blake Blackshear
e36099a342
improve box merging and keep tracking
2022-02-18 21:18:26 -06:00
Blake Blackshear
2f2329ba44
only save recordings when an event is in progress
2022-02-18 21:18:26 -06:00
Blake Blackshear
6c8b184d2c
version tick
2022-02-18 21:18:26 -06:00
DataBitz and GitHub
32878bd016
Another missing slash ( #2803 )
...
2nd attempt to fix link to full configuration
2022-02-14 07:33:29 -06:00
DataBitz and GitHub
12d13988c4
Missing slash in url ( #2797 )
...
Missing slash in url to full-configuration-reference
2022-02-13 07:38:24 -06:00
atinsley and GitHub
9e4d921488
Update advanced.md ( #2794 )
...
Add details about how to specify a custom database location in config.yml
2022-02-12 06:28:56 -06:00
Blake Blackshear
edc1884c4e
add warning to storage docs
2022-02-11 06:15:15 -06:00
Alex Yao and GitHub
a2d1bd2c67
Document JPEG streams ( #2586 )
...
* Document JPEG streams
* Update camera_specific.md
2022-02-02 07:27:22 -06:00
Felipe Santos and GitHub
bb68a2405b
Improve audio conversion tip ( #2140 )
...
* Improve audio convert guide
* Mention faq in RTMP configuration
* Add example for audio conversion tip
* Change comma to period
* Explain why this is needed
2021-12-29 08:57:32 -06:00
MrNorm and GitHub
42ac4172ff
Add passthrough information for PCIe Coral TPU ( #2200 )
2021-12-12 09:31:52 -06:00
hcooper and Blake Blackshear
998921ae63
Update objects.mdx
...
Mention that `person` is the only tracked object by default. Minor reformat.
2021-12-01 07:33:16 -06:00
Blake Blackshear
26ae6084ea
fix rtmp again
2021-10-24 13:53:43 -05:00
Blake Blackshear
76142e9699
version tick
2021-10-24 13:53:43 -05:00
Blake Blackshear
5e692acfbb
add links in docs to other sites
2021-10-23 09:41:32 -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
c1132e6897
update ignore files
2021-10-23 08:21:15 -05:00
Blake Blackshear
d6104f2eb2
add storage info to docs
2021-10-23 08:21:15 -05:00
Blake Blackshear
b0e0abe385
improve performance of cache loop
2021-10-23 08:21:15 -05:00
Blake Blackshear
4916e1cd1d
hide banner for ffmpeg conversion
2021-10-23 08:21:15 -05:00
Blake Blackshear
cd87f3e6f4
fix old style recording cleanup
2021-10-23 08:21:15 -05:00
Blake Blackshear
18f4ab2644
version tick
2021-10-23 08:21:15 -05:00
Lindsay Ward and Blake Blackshear
0bd3be94ec
Clarify environment variables
...
Based on issue #1976 - specify explicitly that these fields can include environment variables to avoid interpretation that environment variables could be used anywhere.
I am participating in #hacktoberfest, so I would appreciate if you could add the 'hacktoberfest-accepted' label (or add #hacktoberfest topic to your repo). Thanks!
2021-10-23 06:42:53 -05:00
Blake Blackshear and GitHub
25bb515afc
Merge pull request #2026 from blakeblackshear/recording_fix
...
0.9.2
2021-10-19 20:43:25 -05:00
Blake Blackshear
7ab6961ee1
use live dimensions
2021-10-17 08:48:59 -05:00
Blake Blackshear
ae24cf3bb2
set max width/height for live view
2021-10-17 07:48:56 -05:00
Blake Blackshear
2e494477a6
backwards compatibility for segment_type
2021-10-16 10:36:13 -05:00
Blake Blackshear
80b72c75d9
revert jest update
2021-10-16 08:12:22 -05:00
Blake Blackshear
9494bb7f5f
frontend dependency updates
2021-10-16 07:57:59 -05:00
Blake Blackshear
86a741b6e6
assign roles when single input and consolidate validation
2021-10-16 07:46:39 -05:00
Blake Blackshear
f738275d21
yell about config validation errors
...
for the people in the back
2021-10-16 07:17:36 -05:00
Blake Blackshear
e297e02800
store audio by default
2021-10-16 06:06:49 -05:00
Blake Blackshear
b2e05afff2
prevent oldest recording from being deleted
2021-10-15 21:56:03 -05:00
Blake Blackshear
05fc35fc3d
update hardware docs
2021-10-15 21:29:36 -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
ef82c5c691
fix expiration when event spans the exire date
2021-10-15 07:30:55 -05:00
Blake Blackshear
c0e2a75715
version tick
2021-10-15 07:30:35 -05:00
Blake Blackshear and GitHub
01ddd00bc5
Merge pull request #1975 from blakeblackshear/hassos_docs
...
update hassos warning
2021-10-10 07:39:11 -05:00
Blake Blackshear
d150f01a2c
update hassos warning
2021-10-10 07:32:55 -05:00
Blake Blackshear and GitHub
f9e159deaf
Merge pull request #1968 from FM-17/patch-1
...
warning for dev board incompatibility post-0.9.x
2021-10-09 11:57:46 -05:00
FM-17 and GitHub
381b00157e
warning for dev board incompatibility post-0.9.x
...
Hoped to investigate this with my dev board at some point. In the meantime, added a warning for others who may experience it when upgrading to the new stable release.
2021-10-09 11:23:51 -03:00
Blake Blackshear
800f33e7be
version tick
2021-10-05 19:02:38 -05:00
Blake Blackshear and GitHub
b8218876be
Merge pull request #1922 from blakeblackshear/fix_logo
...
fix logo used for birdseye
2021-10-05 18:57:07 -05:00
Blake Blackshear
5669f4c161
fix logo used for birdseye
2021-10-05 18:40:46 -05:00
Blake Blackshear and GitHub
c492b30adb
Merge pull request #825 from blakeblackshear/release-0.9.0
...
Release 0.9.0
2021-10-05 17:59:25 -05:00
Kevin Pelzel and Blake Blackshear
eb48722126
added white background to apple-touch-icon
2021-10-05 17:37:18 -05:00
Blake Blackshear
8e881b60f0
update hardware recommendations
2021-10-05 07:13:13 -05:00
Blake Blackshear
0260d824a6
further doc clarifications
2021-10-05 06:57:17 -05:00
Blake Blackshear and GitHub
0877a7dec7
Create config.yml
2021-10-04 17:20:58 -05:00
Blake Blackshear
4c7919ad69
updated links
2021-10-04 08:54:35 -05:00
Blake Blackshear
4e997124b3
update latest recommendations for reolink
2021-10-04 07:18:53 -05:00
Blake Blackshear
8b040f5c95
optimize images for web
2021-10-04 07:00:30 -05:00
Blake Blackshear and GitHub
96156805ed
Delete bug_report.md
2021-10-03 08:53:19 -05:00
Blake Blackshear and GitHub
b8d48d7e62
Create support_request.yml
2021-10-03 08:51:53 -05:00
Blake Blackshear
8ca12806ca
revert rockchip support for aarch64
2021-10-03 07:43:55 -05:00
Blake Blackshear
de811b7018
delete clean snapshot when duplicate
2021-10-02 06:59:02 -05:00
Blake Blackshear
7bf7365f6c
better log message when corrupt segment detected
2021-10-02 06:58:29 -05:00
Blake Blackshear
1daffd92fd
docs updates
2021-10-01 07:37:47 -05:00
Blake Blackshear
74986982a0
update docs url
2021-09-26 16:43:26 -05:00
Blake Blackshear
aa807d25ed
add affiliate links
2021-09-26 13:37:42 -05:00
Blake Blackshear
cd28869649
fix path
2021-09-26 12:32:41 -05:00
Blake Blackshear
ae97692883
docs config update for netlify
2021-09-26 12:27:01 -05:00
Blake Blackshear
e8e778c6d4
instantiate area field
2021-09-26 09:43:31 -05:00
Kevin Pelzel and Blake Blackshear
5c552a0d71
change theme color from red
2021-09-25 11:11:49 -05:00
Blake Blackshear
0f5dfea9de
add support for rockchip hwaccel
2021-09-25 08:25:00 -05:00
Blake Blackshear
e6cdb6a7a2
install docs clarification
2021-09-24 06:45:15 -05:00
Blake Blackshear
1d25936f31
add region/bbox/area to event table
2021-09-23 07:31:48 -05:00
Blake Blackshear
1049673413
run nginx as root
...
this addresses an issue many have had when using network shares
2021-09-20 19:02:59 -05:00
Blake Blackshear
c3109f808c
allow partial days in retention settings
2021-09-20 18:59:16 -05:00
Blake Blackshear
a943ac1308
use s6 to shutdown frigate
2021-09-18 07:40:27 -05:00
Blake Blackshear
96319e795c
docs clarification for masks
2021-09-17 19:21:03 -05:00
Blake Blackshear
5a8016de87
simplify logic and fix wrong segments expiring ( fixes #1779 )
2021-09-17 17:15:16 -05:00
Blake Blackshear
bc350644bd
make expiration of deleted camera footage faster
2021-09-17 17:12:03 -05:00
Blake Blackshear
c793500ad2
add udp camera example to docs
2021-09-15 07:33:50 -05:00
Blake Blackshear
1b2134c49e
remove clip_ready event type
...
this doesnt really mean anything more than "end" anymore. new has_clip property added
2021-09-15 07:16:52 -05:00
Blake Blackshear
86a5b46c68
more docs updates
2021-09-14 08:07:36 -05:00
Blake Blackshear
f83d4a58dd
add version to the logs on startup
2021-09-13 22:02:23 -05:00
Blake Blackshear
a5f241d5bd
cleanup ha notification docs
2021-09-13 22:02:12 -05:00
Blake Blackshear
661f7baa21
fix global live config
2021-09-13 20:33:00 -05:00
Blake Blackshear
7b063a19dc
remove fps arg for mjpeg
2021-09-12 14:51:59 -05:00
Blake Blackshear
0320d94ea6
docs updates
2021-09-12 14:48:21 -05:00
Jason Hunter and Blake Blackshear
a7b7a45b23
allow for custom object detection model via configuration
2021-09-12 07:17:26 -05:00
Blake Blackshear
89e317a6bb
store start/end event with pre/post capture to avoid expiring wanted recordings
2021-09-11 08:34:27 -05:00
Blake Blackshear
5a209caed3
Merge remote-tracking branch 'origin/master' into release-0.9.0
2021-09-08 09:03:14 -04:00
Blake Blackshear
288b1a0562
remove nested enabled config setting on events
2021-09-08 08:02:26 -05:00
Dermot Duffy and Blake Blackshear
d35b09b18f
Refresh the HA installation instructions.
2021-09-05 11:14:28 -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
Blake Blackshear
7fc5297f60
aarch64 makefile fix
2021-09-03 07:13:05 -05:00
00ff76a0b9
Events performance ( #1645 )
...
* rearrange event route and splitted into several components
* useIntersectionObserver
* re-arrange
* searchstring improvement
* added xs tailwind breakpoint
* useOuterClick hook
* cleaned up
* removed some video controls for mobile devices
* lint
* moved hooks to global folder
* moved buttons for small devices
* added button groups
Co-authored-by: Bernt Christian Egeland <cbegelan@gmail.com >
2021-09-03 07:11:23 -05:00
Bernt Christian Egeland and Blake Blackshear
b8df419bad
hide birdseye nav if not enabled
2021-09-03 07:07:45 -05:00
Peter Campion-Bye and Blake Blackshear
faf103152a
Update optimizing.md
...
Need note about increasing GPU memory on Pi - otherwise ffmpeg hwaccel won't work
2021-09-03 07:04:21 -05:00
65855e23d9
Add RTMP and timestamp style to global config ( #1674 )
...
* :memo::white_check_mark:🔧 - Make RTMP config global
Fixes #1671
* :memo::white_check_mark:🔧 - 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
6c28613def
moar speed
2021-09-03 06:31:06 -05:00
Blake Blackshear
56480dc1ef
bulk delete recordings
2021-09-02 20:40:38 -05:00
Blake Blackshear
8e1c15291d
optimize checking recordings for events
...
sorts events and recordings so you can avoid a cartesian product of checking all events against all recordings
2021-09-02 08:24:53 -05:00
Blake Blackshear
a1e52c51b1
dont expire events in two places
2021-09-01 07:06:52 -05:00
Blake Blackshear
8cc834633e
reduce db queries for recording cleanup
2021-09-01 06:44:05 -05:00
Blake Blackshear
7d65c05994
properly handle scenario with no recordings
2021-08-30 06:58:50 -05:00
Blake Blackshear
d74021af47
reverse sort events within hour
2021-08-29 07:46:09 -05:00
Blake Blackshear
46fe06e779
tweak vod settings for varying iframe intervals
2021-08-28 21:26:23 -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
0d352f3d8a
use model from frogfish release
2021-08-28 08:04:29 -05:00
Blake Blackshear
6ccff71408
handle missing camera names
2021-08-28 07:43:51 -05:00
Blake Blackshear
41fea2a531
fix match for websocket url ( fixes #1633 )
2021-08-28 07:42:30 -05:00
Blake Blackshear
3d6dad7e7e
reverse sort within a day for recordings
2021-08-27 07:26:11 -05:00
4efc584816
Move event-view to events table. ( #1596 )
...
* fixed position for Dialog
* added eventId to deleted item
* removed page route redirect + New Close Button
* event component added to events list. New delete reducer
* removed event route
* moved delete reducer to event page
* removed redundant event details
* keep aspect ratio
* keep aspect ratio
* removed old buttons - repositioned to top
* removed console.log
* event view function
* removed clip header
* top position
* centered image if no clips avail
* comments
* linting
* lint
* added scrollIntoView when event has been mounted
* added Clip header
* added scrollIntoView to test
* lint
* useRef to scroll event into view
* removed unused functions
* reverted changes to event.test
* scroll into view
* moved delete reducer
* removed commented code
* styling
* moved close button to right side
* Added new close svg icon
Co-authored-by: Bernt Christian Egeland <cbegelan@gmail.com >
2021-08-26 06:54:36 -05:00
ᗪєνιη ᗷυнʟ and GitHub
10ab70080a
fix: consistent error logging to mqtt connection issues ( #1578 )
2021-08-24 07:59:31 -05:00
Blake Blackshear and GitHub
bddde74c06
Update issue templates
2021-08-24 07:01:29 -05:00
Blake Blackshear
29de723267
limit legacy expiration to files after the oldest recording in the db
2021-08-24 06:50:58 -05:00
Bernt Christian Egeland and Blake Blackshear
354a9240f0
reduced navbar padding / height
2021-08-23 07:47:39 -05:00
Bernt Christian Egeland and Blake Blackshear
5ae4f47e96
removed comma. This was causing the main window to be pulled down behind the headerbar, hence the odd menu behavior
2021-08-23 07:44:17 -05:00
Blake Blackshear
26424488a5
use find to reduce CPU usage for legacy expiration
2021-08-23 07:21:27 -05:00
Blake Blackshear
334095252c
copy then delete ( fixes #1516 )
2021-08-17 06:52:15 -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
b143e11e0e
cleanup logging
2021-08-16 07:38:53 -05:00
Sebastian Englbrecht and Blake Blackshear
927f56ab9f
Fix logger invocation
2021-08-15 10:34:40 -05:00
Blake Blackshear
2181379475
stop using pycoral libs for efficiency
2021-08-15 09:14:13 -05:00
Blake Blackshear
45798d6d14
clean house on clips
2021-08-15 08:30:27 -05:00
Blake Blackshear
f6d5e96dbf
update FAQ
2021-08-14 14:23:18 -05:00
Blake Blackshear
e18aa56427
Merge remote-tracking branch 'origin/master' into release-0.9.0
2021-08-14 14:19:10 -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
Blake Blackshear
0ccf543ec1
clarify a few things in logs
2021-08-14 14:04:00 -05:00
Bernt Christian Egeland and Blake Blackshear
1f1a708388
set top postion to widow_padding
2021-08-14 07:37:56 -05:00
Charles Munger and Blake Blackshear
58c0d97b5f
Include timestamps for notification examples
...
In the homeassistant app, the notification timestamp is generated when the push message is received by the app. Delays caused by servers, device load, or network latency/availability will delay those pushes - so in the following case:
1:00 - A dog is detected in the front
1:02 - It stops moving around or leaves view, last notification push sent
1:05 - The phone connects to the network
The user, seeing the alert at 1:05, will see that the notification occurred "a few seconds ago", since the timestamp the app sends to the OS was at 1:05. By adding the `when` parameter, it will instead correctly show that the event was triggered at 1:00.
This is exacerbated by the fact that the default behavior of android pushes won't wake the device from deep sleep - in order to receive it as a high priority notification, the additional parameters
```
data:
priority: high
ttl: 0
```
have to be added.
2021-08-14 07:35:52 -05:00
abef002af8
Add FAQ section ( #1459 )
...
* Add FAQ section
Add FAQ section and verbiage about a finding with camera motion sensors in HomeKit.
* Changes made based on inputs
* Fix markdown
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com >
2021-08-14 07:27:43 -05:00
Craig Dennis and Blake Blackshear
adf2bc078c
Include details about stream passthrough
...
Refs #1440
Indicate that width and height are only used for the detect role and so other streams for with other roles are passed through and resolution is not needed.
2021-08-14 07:23:32 -05:00
Blake Blackshear
b33f4e2dc6
assume the clip for the event exists with recordings
2021-08-12 06:42:44 -05:00
Blake Blackshear
9cab5da74c
cleanup dynamic mp4 clips
2021-08-11 07:39:03 -05:00
Blake Blackshear
189b9c6648
use a nginx internal redirect
2021-08-11 06:22:26 -05:00
Blake Blackshear
1823bd0305
fix scaling
2021-08-09 07:46:28 -05:00
Jason Hunter and Blake Blackshear
8fd12f001b
add secure token module to NGINX in order to pass authSig down to segment files
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
fc40567794
remove -f mp4 as it is not needed
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
de121008c1
fix DoesNotExist exception
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
2fbfbf614b
add download option on clips and snapshots
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
1181620f33
bump VOD max clips
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
c527b1ca5d
change MQTT to toggle recordings instead of clips
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
181a504a14
break out recording maintenance and cleanup into separate threads
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
5d940bcb86
optimize recording maintenance logic
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
dcfe26c9c0
update docs
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
5d94c68d66
fix recording retention logic
2021-08-07 15:51:16 -05:00
Jason Hunter and Blake Blackshear
a476bc9885
initial commit
2021-08-07 15:51:16 -05:00
Blake Blackshear
dc759a3e56
use new pycoral libraries
2021-08-07 15:34:55 -05:00
Blake Blackshear
4818c08fe2
update for coral updates
2021-08-07 15:33:10 -05:00
Dermot Duffy and Blake Blackshear
3bc75ae931
Refresh the HA integration documentation.
2021-08-05 06:41:55 -04:00
Blake Blackshear
a94b61ef91
increase jsmpeg buffer size
2021-07-21 08:11:16 -05:00
Blake Blackshear
e51021c573
switch default live resolution to 720
2021-07-21 07:47:11 -05:00
Blake Blackshear
19115fb828
handle exception when missing frame
2021-07-16 07:28:30 -05:00
ElMoribond and Blake Blackshear
16ef432228
add tabbed buttons component
2021-07-16 07:08:06 -05:00
ElMoribond and Blake Blackshear
4449bc5292
add tabbed buttons component
2021-07-16 07:08:06 -05:00
Blake Blackshear
50f0c05e69
fix motion mask overlay
2021-07-13 08:56:20 -05:00
Blake Blackshear
6b26fc753e
include ffmpeg_cmds in config endpoint
2021-07-10 06:40:50 -05:00
Blake Blackshear
ebee204ca0
ensure default args propogate
2021-07-10 06:40:50 -05:00
Blake Blackshear
1a3567c5d0
arch specific s6-overlay
2021-07-10 06:40:50 -05:00
Blake Blackshear
4fa6fa2001
revert ffmpeg version
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
a3853af47a
fix test
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
Blake Blackshear
da2492413f
publish on zone change ( fixes #1310 )
2021-07-07 07:03:28 -05:00
Blake Blackshear
3876b00088
useCallback here too
2021-07-06 07:36:37 -05:00
Blake Blackshear
b1dfee2cf5
update docs
2021-07-06 07:36:37 -05:00
Blake Blackshear
13c2c582ad
remove default value changes
2021-07-06 07:36:37 -05:00
Blake Blackshear
f892a821f5
no need to worry about payload here
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
bb3ba2d572
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
9ee2e776fa
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
fd61ca20b0
Add ability to restart
...
disable warning
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
f9add57ed4
Add ability to restart
...
I restored the original line as it can be misleading.
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
e1b341788d
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
04c8b089a5
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
9971482506
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
955d9e6ec2
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
fe2e32c84f
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
c6e53d0ea8
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
436b10a87b
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
a2d5754e4b
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
3d28d8cee2
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
11d8095cdd
Add ability to restart
2021-07-06 07:36:37 -05:00
ElMoribond and Blake Blackshear
a4052a9fe5
Add ability to restart
2021-07-06 07:36:37 -05:00
Bernt Christian Egeland and Blake Blackshear
6e6ee93282
error handling and linting
2021-07-05 08:24:46 -05:00
Bernt Christian Egeland and Blake Blackshear
85de881181
resolve #1143
2021-07-05 08:24:46 -05:00
Blake Blackshear
3712a8ab80
use kisak-mesa repo
2021-07-03 12:38:37 -05:00
Blake Blackshear
4ee7240ef3
update makefile versions
2021-07-03 12:38:37 -05:00
Blake Blackshear
df8126de73
no-cache for docker buiilds
2021-07-03 12:38:37 -05:00
Blake Blackshear
2eddbe3d03
use intel repo for va drivers
2021-07-03 12:38:37 -05:00
Blake Blackshear
46dad7b58d
use non-free va driver fixes #581
2021-07-03 12:38:37 -05:00
Blake Blackshear
eb5e6d19fa
update to 4.3.2
2021-07-03 12:38:37 -05:00
Blake Blackshear
5afeb6e081
no-cache and pull for build
2021-07-03 12:38:37 -05:00
Blake Blackshear
17944882f4
formatting
2021-07-03 12:38:37 -05:00
Blake Blackshear
b24bb3eb18
add range to birdseye quality config
2021-07-02 07:52:02 -05:00
Blake Blackshear
98d8118fb2
add options to define jpeg quality
2021-07-02 07:52:02 -05:00
Blake Blackshear
3e1b680e4c
update motion docs ( fixes #1176 )
2021-07-01 07:54:09 -05:00
Blake Blackshear
b4e7e51e63
make contour_area dynamic
2021-07-01 07:54:09 -05:00
Blake Blackshear
2a41a9d3ff
set min motion frame to 180
2021-07-01 07:54:09 -05:00
Blake Blackshear
09b0068d16
fix cache cleanup ( fixes #1231 )
2021-06-30 06:38:36 -05:00
Blake Blackshear
f9457be109
add test for max_disappeared default
2021-06-27 08:13:48 -05:00
Blake Blackshear
e9291fe9d1
make max_disappeared optional with default value
2021-06-27 08:13:48 -05:00
Craig Citro and Blake Blackshear
20912c12e7
Check for jpg bytes before make_response
...
If jpg_bytes wasn't retrieved from either desk or a tracked object, respond with 404
Prevents uncaught error for unknown event ids sent to event_snapshot endpoint
2021-06-27 08:13:14 -05:00
Craig Citro and Blake Blackshear
7ddba4fc59
Prevent repeated db connect calls
...
Only call database.connect() if database.is_closed()
Prevents errors if _db_connect is triggered twice
2021-06-27 08:13:14 -05:00
Patrick and Blake Blackshear
7ad8b8298d
identity check is correct way to check for None
2021-06-27 08:09:58 -05:00
Jason Hunter and Blake Blackshear
3fb24b4bf5
fix timestamp
2021-06-25 06:13:08 -05:00
Jason Hunter and Blake Blackshear
ab93cae4c0
remove side effects from password substitution
2021-06-25 06:13:08 -05:00
Jason Hunter and Blake Blackshear
8d01cc4807
fix ffmpeg config and remove side effects
2021-06-25 06:13:08 -05:00
Jason Hunter and Blake Blackshear
1e21a62851
remove unneeded changes
2021-06-24 06:53:05 -05:00
Jason Hunter and Blake Blackshear
c664bd63f6
initial conversion to pydantic
2021-06-24 06:53:05 -05:00
Blake Blackshear
dada764d2c
expand dockerignore
2021-06-23 08:15:15 -05:00
Blake Blackshear
762afb8f43
add config for camera live stream
2021-06-23 08:15:15 -05:00
Blake Blackshear
f009897eca
clear position before copy
2021-06-23 08:15:15 -05:00
Blake Blackshear
fa61e9da29
maintain aspect ratio for birdseye
2021-06-23 08:15:15 -05:00
Blake Blackshear
0ff037997f
fixup timestamp config
2021-06-23 08:15:15 -05:00
Blake Blackshear
e8c2cfa5b5
no need to hang onto the last active frame
2021-06-23 08:15:15 -05:00
Blake Blackshear
fb214b64ca
reset layout_dim too
2021-06-23 08:15:15 -05:00
Blake Blackshear
222dc2f7c9
remove console log
2021-06-23 08:15:15 -05:00
Blake Blackshear
f94a946418
add fullscreen to jsmpeg player
2021-06-23 08:15:15 -05:00
Sebastian Englbrecht and Blake Blackshear
b3ee2de079
Fix review finding
2021-06-22 06:33:04 -05:00
Blake Blackshear
515d8c04ad
Update cameras.md
2021-06-22 06:33:04 -05:00
Sebastian Englbrecht and Blake Blackshear
49c65cf9c6
Add doc about timestamp styles
2021-06-22 06:33:04 -05:00
Sebastian Englbrecht and Blake Blackshear
211fcd64c7
Add and use config for timestamp style
2021-06-22 06:33:04 -05:00
Sebastian Englbrecht and Blake Blackshear
5075e4eee1
Use timestamp decorator helper in codebase
2021-06-22 06:33:04 -05:00
Sebastian Englbrecht and Blake Blackshear
7bfe8e4f5b
Add draw_timstamp: Helper for timestamp mods
2021-06-22 06:33:04 -05:00
Blake Blackshear
8e0c2b256e
update docs
2021-06-19 08:49:06 -05:00
Blake Blackshear
d66f5f6bad
cleanup clean snapshots
2021-06-19 08:49:06 -05:00
Blake Blackshear
fd9c8c1f0d
add snapshot time to event data
2021-06-19 08:49:06 -05:00
Blake Blackshear
3a3b788c65
save clean snapshot
2021-06-19 08:49:06 -05:00
Blake Blackshear
b134db48b3
adding clean_copy to snapshot config
2021-06-19 08:49:06 -05:00
mrdrup and GitHub
f110a261b9
Fix 'FileExistsError' shared memory exception ( #945 )
2021-06-19 07:15:02 -05:00
gpete and GitHub
b72b66781a
Fixed overwritten argument 'media' ( #1026 )
...
media variable name is reused and overwritten causing issues with event expiration & clean up.
Also changed name in pure_duplicates for consistency.
2021-06-19 07:11:43 -05:00
Sebastian Englbrecht and Blake Blackshear
9b3a649f17
Do apt update before upgrade
2021-06-19 06:34:20 -05:00
Jason Hunter and Blake Blackshear
d83ffd8984
fix tests
2021-06-18 21:15:59 -05:00
Blake Blackshear
175c85d69a
fix some test errors
2021-06-18 21:15:59 -05:00
Blake Blackshear
3aa7f753b3
lint fixes
2021-06-18 21:15:59 -05:00
Blake Blackshear
861ee0485d
swith camera view to jsmpeg
2021-06-18 21:15:59 -05:00
zacho112 and Blake Blackshear
03e756dd27
Update detectors.md
2021-06-17 07:28:00 -05:00
zacho112 and Blake Blackshear
5d0984998d
Update detectors.md
...
Include how to use the native Coral on the Coral Dev Board
2021-06-17 07:28:00 -05:00
Blake Blackshear
3b695040d1
send clip_ready mqtt to event topic
2021-06-14 18:20:12 -05:00
Blake Blackshear
40bf7a0f41
cleanup
2021-06-14 07:48:35 -05:00
Blake Blackshear
cbdf2c2c71
remove gevent fixes #920
2021-06-14 07:48:35 -05:00
Blake Blackshear
bbe3f07ec6
overlay the frigate logo on the blank frame
2021-06-13 12:35:39 -05:00
Blake Blackshear
35281c037c
trickle in some frames after activity stops
2021-06-13 12:35:39 -05:00
Blake Blackshear
e0eb247028
output the current frame from each active camera instead of last active
2021-06-13 12:35:39 -05:00
Blake Blackshear
a7ecc2af4b
lock before iterating web sockets
2021-06-13 12:35:39 -05:00
Blake Blackshear
f2d1f7b00f
disable audio
2021-06-13 12:35:39 -05:00
Blake Blackshear
89c2ae2208
functioning birdseye view
2021-06-13 12:35:39 -05:00
Blake Blackshear
0df35379ef
updating docs
2021-06-12 07:25:13 -05:00
Blake Blackshear
138fa45820
removing testing files
2021-06-12 07:23:14 -05:00
Blake Blackshear
58cfb8bba4
set jsmpeg video size to same as camera
2021-06-12 07:23:14 -05:00
Blake Blackshear
ed761d1767
cap the array size of the output queue
2021-06-12 07:23:14 -05:00
Blake Blackshear
babe1dd1eb
precompute the layout offsets and dimensions
2021-06-12 07:23:14 -05:00
Blake Blackshear
cbd418b8de
use actual logger
2021-06-12 07:23:14 -05:00
Blake Blackshear
9c5b0d4138
implement birdseye modes
2021-06-12 07:23:14 -05:00
Blake Blackshear
94c21a6363
use values from config
2021-06-12 07:23:14 -05:00
Blake Blackshear
d1a5e2e8e0
add config for birdseye
2021-06-12 07:23:14 -05:00
Blake Blackshear
17179abf5a
use quality value and faster resize
2021-06-12 07:23:14 -05:00
Blake Blackshear
61f717daa3
fix to birdseye connection
2021-06-12 07:23:14 -05:00
Blake Blackshear
c70419bd0b
update birdseye layout calculations
2021-06-12 07:23:14 -05:00
Blake Blackshear
4eed27e178
add layout calculations
2021-06-12 07:23:14 -05:00
Blake Blackshear
8e2ba4a8ea
move birdseye placeholder to output process
2021-06-12 07:23:14 -05:00
Blake Blackshear
700f25abc3
removing old node relay
2021-06-12 07:23:14 -05:00
Blake Blackshear
4596ada801
manage multiple cameras
2021-06-12 07:23:14 -05:00
Blake Blackshear
a8df97dc1a
only send frames to ffmpeg if there are clients listening
2021-06-12 07:23:14 -05:00
Blake Blackshear
4e0203ca68
increase read size and listen on local
2021-06-12 07:23:14 -05:00
Blake Blackshear
8413e10091
ensure output exits properly
2021-06-12 07:23:14 -05:00
Blake Blackshear
7aaf5bd29f
remove node jsmpeg server
2021-06-12 07:23:14 -05:00
Blake Blackshear
5afda72b84
handle exit signals
2021-06-12 07:23:14 -05:00
Blake Blackshear
7a6ffb1032
adding output process to handle downstream processing of frames
2021-06-12 07:23:14 -05:00
Blake Blackshear
fd51c7a955
development tweaks
2021-06-12 07:23:14 -05:00
Blake Blackshear
b91b0d39dd
updated devcontainer
2021-06-12 07:23:14 -05:00
Blake Blackshear
7fc9026ca6
basic plumbing for birdseye view
2021-06-12 07:23:14 -05:00
Blake Blackshear
f4a0ec43a6
wip yuv_rgb refactor
2021-06-12 07:23:14 -05:00
Blake Blackshear
46e5a042ae
adding s6-overlay and running jsmpeg
2021-06-12 07:23:14 -05:00
Blake Blackshear
7309c06be8
add jsmpeg relay
2021-06-12 07:23:14 -05:00
Jason Hunter and Blake Blackshear
c71b717a54
more lint fixes
2021-06-11 06:53:34 -05:00
Jason Hunter and Blake Blackshear
da8e54ed51
fix lint and tests
2021-06-11 06:53:34 -05:00
Jason Hunter and Blake Blackshear
b70c11e7a7
Cleanup video player and use consistently across recordings and events.
2021-06-11 06:53:34 -05:00
Patrick and Blake Blackshear
e8c342e162
Update http.py
...
comparison of constants, use T/F instead
2021-06-10 20:58:28 -05:00
Jason Hunter and Blake Blackshear
f7975cbbc4
remove backfill - only store rows moving forward
2021-06-10 07:04:28 -05:00
Jason Hunter and Blake Blackshear
098e293c82
fetch recordings until end of hour, not top of next hour
2021-06-10 07:04:28 -05:00
Jason Hunter and Blake Blackshear
eb3f50c9f0
add default to reducer
2021-06-10 07:04:28 -05:00
Jason Hunter and Blake Blackshear
78a0b5e6c9
clean up VOD endpoint
2021-06-10 07:04:28 -05:00
Jason Hunter and Blake Blackshear
055bd22138
initial implementation of recordings table
2021-06-10 07:04:28 -05:00
Mingkwan Burckhardt and Blake Blackshear
8dfff83447
Added support for authentication with client certificate with MQTT broker
2021-06-06 07:57:46 -05:00
Jason Hunter and Blake Blackshear
de3a19c4f0
Update web/src/__tests__/Sidebar.test.jsx
2021-06-06 07:54:58 -05:00
Jason Hunter and Blake Blackshear
2a33c05378
add sidebar test
2021-06-06 07:54:58 -05:00
Jason Hunter and Blake Blackshear
bbb4d10718
add/fix tests
2021-06-06 07:54:58 -05:00
Jason Hunter and Blake Blackshear
68dfaaf767
hide recordings page if record is not enabled, show error if no recordings available.
2021-06-06 07:54:58 -05:00
Blake Blackshear
0bb998c465
Merge branch 'master' into release-0.9.0
2021-06-05 07:59:07 -05:00
dependabot[bot] and Blake Blackshear
ec9b525a3c
build(deps): bump browserslist from 4.16.1 to 4.16.6 in /web
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.1 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.1...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-05 07:30:53 -05:00
Jason Hunter and Blake Blackshear
88ed7501a7
add mobile player and fullscreen support for iOS
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
c73aebadcb
change seek back to 10 seconds
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
40c4ca305e
add playback rate adjustment and seek buttons
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
7b3abe330e
recordings is taken by nginx so refresh fails - change base to recording
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
0d96c3529d
We need to use relative URLs for Ingress to work
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
62452b1d21
cleanup dead code
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
c5f005afef
lint fix... again
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
4a45b6e76d
do not show event end time
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
a3cfbb6722
remove now playing because I do not handle autoadvance properly yet
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
dc8ba5239d
lint cleanup
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
b53a50cd54
restyle to match Material Design List specs
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
9822d614e2
fix videojs bug when switching cameras, support recording delay, fix navigation highlight
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
ca20c735f7
add event card to overlay
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
d3dc018260
video overlay
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
28a2a3816a
lint fixes
2021-06-05 07:30:18 -05:00
Jason Hunter and Blake Blackshear
5461308d30
Initial Recordings UI
2021-06-05 07:30:18 -05:00
dependabot[bot] and Blake Blackshear
b2f469ad76
build(deps): bump ws from 7.4.3 to 7.4.6 in /web
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-05 07:28:17 -05:00
highaltidude and Blake Blackshear
8ea75e6748
Documentation Update-CPU Fall back corrected.
2021-06-05 07:27:58 -05:00
Jon Gilmore and GitHub
09a4d6d030
docs(typo): fix configuration typo ( #1148 )
2021-05-26 07:39:42 -07:00
Sean Vig and Blake Blackshear
abbc608ee4
Updates to object processing
...
Lock updates to tracked objects, current frame time, motion boxes, and
regions on `update()`.
Directly create Counters using counted values.
Don't convert removed_ids, new_ids, or updated_ids sets to lists.
Update defaultdict's to remove un-necessary lambdas when possible.
When possible, drop un-necessay list comprehensions, such as when
calling `any`.
Use set comprehension, rather than passing a list comprehension into
`set()`.
Do the slightly more pythonic `x not in y` rather than `not x in y` to
check list inclusion.
2021-05-23 21:00:56 -05:00
Sean Vig and Blake Blackshear
9634ec8e31
Allow zone configs to be frozen
...
Set the color at construction so the zone config objects can be frozen
2021-05-23 20:38:57 -05:00
Sean Vig and Blake Blackshear
84a0827aee
Use dataclasses for config handling
...
Use config data classes to eliminate some of the boilerplate associated
with setting up the configuration. In particular, using dataclasses
removes a lot of the boilerplate around assigning properties to the
object and allows these to be easily immutable by freezing them. In the
case of simple, non-nested dataclasses, this also provides more
convenient `asdict` helpers.
To set this up, where previously the objects would be parsed from the
config via the `__init__` method, create a `build` classmethod that does
this and calls the dataclass initializer.
Some of the objects are mutated at runtime, in particular some of the
zones are mutated to set the color (this might be able to be refactored
out) and some of the camera functionality can be enabled/disabled. Some
of the configs with `enabled` properties don't seem to have mqtt hooks
to be able to toggle this, in particular, the clips, snapshots, and
detect can be toggled but rtmp and record configs do not, but all of
these configs are still not frozen in case there is some other
functionality I am missing.
There are a couple other minor fixes here, one that was introduced
by me recently where `max_seconds` was not defined, the other to
properly `get()` the message payload when handling publishing mqtt
messages sent via websocket.
2021-05-23 20:38:57 -05:00
Blake Blackshear
1fbcf4d9b9
fixes
2021-05-23 08:21:18 -05:00
Sean Vig and Blake Blackshear
80f8256422
Improve handling of object matching
...
Use `np.unique` to determine the correct set of row/col pairs to iterate
over when doing the object matching without needing to track which rows
or columns have already been seen. Add to some of the accompanying
documentation to clarify this algorithm.
Also fix what looks to be an erroneous early return, and change this to
a continue.
2021-05-22 08:04:38 -05:00
Sean Vig and Blake Blackshear
57864f2be6
Wait on stop event when possible
...
Generally eliminate the `while True` loops while waiting for a stop
event and prefer to condition the loops on if the stop event is set,
blocking on that where it makes sense. This generally comes in 3
flavors. First and simplest, when there is a sleep and the stop event
is the only thing the loop blocks on, instead do a check using
`stop_event.wait(timeout)` to instead block on the stop event for the
designated amount of time. Second, when there is a different event that
is blocking in the loop, condition the loop on `stop_event.is_set()`
rather than breaking when it is set. Finally, when there is a separate
internal condition that requires a counter, have the loop iterate over
the counter and use `if stop_event.wait(timeout)` internal to the loop.
2021-05-22 07:54:16 -05:00
Jason Hunter and Blake Blackshear
f4bc68d396
update HTTP API docs
2021-05-22 07:48:44 -05:00
Jason Hunter and Blake Blackshear
926eec3c65
add --push so the images actually get published for nginx since they are not saved locally
2021-05-22 07:48:44 -05:00
Jason Hunter and Blake Blackshear
abc6bbe7e0
Add nginx build arg for other architectures
2021-05-22 07:48:44 -05:00
Jason Hunter and Blake Blackshear
acdfd1ccc4
remove comments from nginx.conf
2021-05-22 07:48:44 -05:00
Jason Hunter and Blake Blackshear
315a13e1ce
Make command has to be different than directory
2021-05-22 07:48:44 -05:00
Jason Hunter and Blake Blackshear
aab6a00e4c
Add support for NGINX VOD Module
2021-05-22 07:48:44 -05:00
Sean Vig and Blake Blackshear
a4e6d9ed9a
Improve ffprobe executions
...
When running ffprobe, use `subprocess.run` rather than
`subprocess.Popen`. This simplifies the handling that is needed to run
and process the outputs. Here, filename parsing is also simplified by
explicitly removing the file extension with `os.path.splitext` and
forcing a single split into the camera name and the formatted date.
2021-05-22 07:48:00 -05:00
digiblur and GitHub
e16dbcb671
docs(howto): Combined links, add authors, and cleaned up ( #1124 )
2021-05-20 07:01:25 -07:00
Jason Hunter and Blake Blackshear
e89697fab0
update Home Assistant brand identity references
2021-05-19 06:48:50 -05:00
Chris Helming and Blake Blackshear
c52782aa3f
Add record to configuration docs
...
Record was missing from the configuration docs. Added it in based on the other options show and the info under 24/7 recordings in the cameras docs.
2021-05-18 20:45:10 -05:00
Chris Helming and GitHub
7060f22024
docs: Update advanced.md to move type: to its own line ( #1101 )
...
Type was stuck on the comment line. Added a line break to move it onto its own line so it's visible.
2021-05-14 09:23:02 -07:00
Blake Blackshear and GitHub
d1931f249c
Update cameras.md
2021-05-14 07:15:01 -05:00
Blake Blackshear and GitHub
bf1a542afb
Update howtos.md
2021-05-13 07:41:10 -05:00
ebb6d348a3
feat(web): Delete events from Event page and API ( #991 )
...
Co-authored-by: Scott Roach <scott@thinkpivot.io >
Co-authored-by: Paul Armstrong <paul@spaceyak.com >
2021-05-12 08:19:02 -07:00
Blake Blackshear and GitHub
f667bd9066
Update howtos.md
2021-05-12 06:55:33 -05:00
peyanski and Blake Blackshear
ff2eba5b9f
Create howtos.md
...
Community guides and How-To's section.
Feel free to approve, move, edit or reject the changes.
Either way keep up the good work,
Kiril
2021-05-12 06:47:12 -05:00
digiblur and Blake Blackshear
3eb0021207
Update detectors.md
...
Add example for dual PCIe
2021-05-12 06:45:34 -05:00
Colin McCambridge and Blake Blackshear
6379f5cd5e
Update nvdec.md
...
`covid` --> `cuvid` in example arguments.
2021-05-12 06:44:44 -05:00
dependabot[bot] and Blake Blackshear
e3a8448a23
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /web
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 06:43:53 -05:00
dependabot[bot] and Blake Blackshear
00d6036788
build(deps): bump lodash from 4.17.20 to 4.17.21 in /web
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 06:43:42 -05:00
dependabot[bot] and Blake Blackshear
53bb69621c
build(deps-dev): bump postcss from 8.2.2 to 8.2.10 in /web
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.2 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.2...8.2.10 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 06:43:24 -05:00
Blake Blackshear
ad85beea91
Update cameras.md
2021-05-11 06:48:28 -05:00
Blake Blackshear
d7a237677a
Update cameras.md
2021-05-11 06:48:28 -05:00
Whytey and Blake Blackshear
16effa3938
Update cameras.md
2021-05-11 06:48:28 -05:00
Whytey and Blake Blackshear
33a04c425b
Add MJPEG example
2021-05-11 06:48:28 -05:00
Manuel and Blake Blackshear
20a52bc4e6
Update installation.md
...
Added missing \ in line 70
2021-05-07 07:22:13 -05:00
Jason Hunter and Blake Blackshear
482399d82f
allow logger daemon process to be killed with the main thread, thus allowing us to continue logging during shutdown
2021-05-06 07:01:33 -05:00
Jason Hunter and Blake Blackshear
3a171d19e3
update contributing docs
2021-05-04 17:29:23 -05:00
Jason Hunter and Blake Blackshear
480970c799
remove mqtt-cli
2021-05-04 17:29:23 -05:00
Jason Hunter and Blake Blackshear
ceb3329f9e
add rtmp port
2021-05-04 17:29:23 -05:00
Jason Hunter and Blake Blackshear
1c0162c181
fix devcontainer setup
2021-05-04 17:29:23 -05:00
Paulus Schoutsen and Blake Blackshear
cf62dccef7
Correct spelling Home Assistant
2021-05-01 06:33:49 -05:00
Ron Schaeffer and Blake Blackshear
42410a260c
Update index.md
...
Corrected
2021-04-07 13:50:07 -05:00
Ron Schaeffer and Blake Blackshear
00c6a8f577
Update index.md
...
Remove outdated (?) info that Addon users define their configs in the GUI. Corrected outdated (?) config,yml to frigate.yml.
2021-04-07 13:50:07 -05:00
Ron Schaeffer and Blake Blackshear
9d2469549f
Update installation.md
...
It is not possible--unless I'm totally overlooking something--to define the add-on's configuration in the GUI. The user must define the configuration in a frigate.yml file,
2021-04-07 13:27:10 -05:00
John and Blake Blackshear
d2bc2c20c1
Update api.md
...
Fixed example URL for the viewing higher resolution mjpeg stream.
2021-03-19 09:30:21 -05:00
Paul Armstrong and Blake Blackshear
10c37a3036
docs: include available objects in documentation
2021-03-09 06:23:37 -06:00
Mitch Ross and Blake Blackshear
00d14fa49f
Update Unraid Install Instructions
2021-03-02 06:42:42 -06:00
Blake Blackshear
0f1bc40f00
docs for core development
2021-02-25 07:01:59 -06:00
Blake Blackshear
4252857e19
remove tmpfs_cache_size option
2021-02-25 07:01:59 -06:00
Blake Blackshear
6d12a34c40
remove thumbnail attribute if null
2021-02-25 07:01:59 -06:00
Blake Blackshear
9e126a4b91
style cleanup
2021-02-25 07:01:59 -06:00
Blake Blackshear
040ffda687
use fstr log style
2021-02-25 07:01:59 -06:00
Blake Blackshear
39ff49e054
formatting cleanup
2021-02-25 07:01:57 -06:00
Blake Blackshear
b8f72a5bcb
add devcontainer setup
2021-02-25 07:00:59 -06:00
Blake Blackshear
43db704b74
Update version
2021-02-25 07:00:57 -06:00
Paul Armstrong and Blake Blackshear
5043040530
fix(web): ensure tooltips and menus don't cause scrollbar reflow
2021-02-25 06:34:36 -06:00
Paul Armstrong and Blake Blackshear
3c60aeeef9
fix(web): set events api limit to 25
2021-02-25 06:34:36 -06:00
Blake Blackshear
0344d61b26
use gevent sleep to prevent mjpeg from blocking
2021-02-25 06:34:36 -06:00
Blake Blackshear
0e8467782b
version tick
2021-02-25 06:34:36 -06:00
Paul Armstrong and Blake Blackshear
423ea26266
Add paularmstrong to funding.yml
2021-02-24 20:58:44 -06:00
Paul Armstrong and Blake Blackshear
2f3339ba85
docs: add contributing docs
2021-02-23 07:37:19 -06:00
Blake Blackshear
9433b50785
add stalebot
2021-02-22 07:20:39 -06:00
Blake Blackshear
1e7b53dc0e
clarify h264 in docs
2021-02-22 07:20:32 -06:00
Blake Blackshear
bc94748f2a
clips not playable
2021-02-22 07:10:56 -06:00
Blake Blackshear and GitHub
2395f93ed1
Update bug_report.md
2021-02-22 06:43:21 -06:00
Blake Blackshear
d771726c2a
version tick
2021-02-21 09:32:45 -06:00
Blake Blackshear
b2a2fe898c
ensure base url works for websockets
2021-02-21 09:32:45 -06:00
Blake Blackshear
31d408a746
dynamic ws/wss selection
2021-02-20 08:20:17 -06:00
Blake Blackshear
4a74f295e7
docs updates
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
b6ba6459fb
feat(web): detect, clips, snapshots toggles
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
e399790442
feat(web): mqtt for stats
2021-02-20 08:20:17 -06:00
Blake Blackshear
20c65b9a31
fix link and clarify audio encoding ( fixes #800 )
2021-02-20 08:20:17 -06:00
Blake Blackshear
1a7853a47e
subscribe in the connect callback ( fixes #814 )
2021-02-20 08:20:17 -06:00
Blake Blackshear
683c3a4c90
update wheels again
2021-02-20 08:20:17 -06:00
Blake Blackshear
4a8d998afe
unpin numpy
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
fe59d90c51
web(test): routes/Events
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
f87813805a
test(web): RelativeModal
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
a7e5b9978f
test(web): Select
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
0a3959af86
test(web): TextField
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
9ba6054140
test(web): Sidebar
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
3348f04889
test(web): App
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
c12aec7c8f
test(web): routes/Event
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
05f66b8f24
test(web): routes/Debug
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
d8b80f0fe9
test(web): routes/Cameras
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
7314572d97
feat(web): allow CameraImage to stretch
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
52a29ed00a
test(web): routes/Camera
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
5eaf8a5448
test(web): Switch (and add label back in)
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
f70fb12c3d
test(web): NavigationDrawer
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
ece6c1203c
test(web): Menu, MenuItem
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
9c7e3177a2
test(web): Link
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
058c0affaf
test(web): Heading
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
5ee7146884
test(web): Card
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
1aa9a7a093
test(web): CameraImage (basic)
...
Testing Image and Canvas calls requires a lot of heavy dependencies, so this skips that part of the tests
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
a202c44a0f
test(web): Button
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
85776cc7d0
test(web): fix switch case indent lint
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
6d133ef724
test(web): api/index.jsx
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
53288d361c
test(web): AutoUpdatingCameraImage
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
e729bd52aa
refactor(web): Split AppBar and add tests
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
ddb6127519
test(web): add ActivityIndicator test
2021-02-20 08:20:17 -06:00
Blake Blackshear
50b42eb6fe
add gevent to prebuilt wheels
2021-02-20 08:20:17 -06:00
Blake Blackshear
b6572b7272
add some error handling to mqtt relay
2021-02-20 08:20:17 -06:00
Blake Blackshear
57ced2c284
constrain websockets to frigate topics
2021-02-20 08:20:17 -06:00
Blake Blackshear
26a3491466
revise log messages
2021-02-20 08:20:17 -06:00
Blake Blackshear
eed8463832
relay messages from sockets to mqtt
2021-02-20 08:20:17 -06:00
Blake Blackshear
718b4f3fd7
relay mqtt to clients
2021-02-20 08:20:17 -06:00
Blake Blackshear
22461d1728
simple echo websocket working
2021-02-20 08:20:17 -06:00
Blake Blackshear
69cab1e6bb
update docker commands to avoid privileged mode
2021-02-20 08:20:17 -06:00
Blake Blackshear
a661fddaf3
fix cache cleanup for large full disks
2021-02-20 08:20:17 -06:00
Blake Blackshear
1b85e561b9
only save the event to the database if a snapshot or clip exists
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
a803ab8577
test(web): add unit test framework
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
daa759cc55
test(web): add eslint and PR lint validation
2021-02-20 08:20:17 -06:00
Blake Blackshear
513a099c24
better error handling ( fixes #739 )
2021-02-20 08:20:17 -06:00
Blake Blackshear
e299e73a68
ignore detections that don't overlap with motion
2021-02-20 08:20:17 -06:00
Blake Blackshear
9550ac7422
fix intersection calculation
2021-02-20 08:20:17 -06:00
Patrick Decat and Blake Blackshear
07bd376649
fix(web): fix CameraMap.jsx import of api after move to routes/
2021-02-20 08:20:17 -06:00
Patrick Decat and Blake Blackshear
ec6a1ed9d1
Add nginx sub_filter to fix resources from /dist with HA ingress
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
7aee28d080
refactor(web): async routing
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
24ec13e36d
fix(web): svgs may need explicit height/width in rare cases on linux
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
d2e7c360b9
fix(web): build fixes after rebase
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
f00628f4e5
refactor(web): menu positioning
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
19bd5ace7d
perf(web): memoize icon components
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
3e2506136c
fix(web): debug tables scrollable on small width screens
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
4e03acc944
fix(web): ensure drawer can slide in/out and not just appear
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
188eb6b9ea
fix(web): relative modal height, top position, and z-indexing
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
c89e1a5735
fix(web): remove cards from event page
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
e50cc59f0d
refactor(web): datatables
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
96f87caff0
refactor(web): camera view + bugfixes
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
b422a83b57
fix(web): ensure relative modal respects scrollY
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
15ae3bee55
refactor(web): update shadows for material specs
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
0cac2fec2a
feat(web): add button types
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
5965da88c3
fix(web): dark mode for portals
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
ba0338e9d5
refactor(web): NavigationBar (sidebar) styles
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
ff62338359
feat(web): icons and better menu handling for dark mode
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
9867f4eeee
fix(web): ensure relative modals have proper padding
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
ba278dfc3d
refactor(web): add 3xl breakpoint
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
063030bcf3
fix(web): make app bar and sidebar fully responsive
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
276ce8710c
feat(web): persist darkmode preference
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
5ed7a17f46
refactor(web): styles and styleguide
2021-02-20 08:20:17 -06:00
Blake Blackshear
01c3b4fa6e
try and ensure database closes cleanly
2021-02-20 08:20:17 -06:00
Blake Blackshear
165ca8fbc7
purge duplicate events during cleanup
2021-02-20 08:20:17 -06:00
Blake Blackshear
ce90ae343c
add global object mask
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
a99f360a64
refactor(web): use snowpack-plugin-hash
2021-02-20 08:20:17 -06:00
Blake Blackshear
d51e9446ff
add camera level ffmpeg params
2021-02-20 08:20:17 -06:00
Blake Blackshear
d3524ee46f
adjust jpg quality in other locations too
2021-02-20 08:20:17 -06:00
Blake Blackshear
121ea37825
allow defining required zones for snapshots/clips/mqtt
2021-02-20 08:20:17 -06:00
Blake Blackshear
9592d95599
proactively clean up cache when above 90% use
2021-02-20 08:20:17 -06:00
Blake Blackshear
d6faa18adb
increase default max_disappeared to 5x FPS
2021-02-20 08:20:17 -06:00
Blake Blackshear
1cbe6f77ee
only run detection on objects that intersect with motion
2021-02-20 08:20:17 -06:00
Blake Blackshear
4f5d4e36b7
add disk usage to stats
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
163025c1f2
fix(app): reduce JPEG quality to drastically improve size
2021-02-20 08:20:17 -06:00
Paul Armstrong and Blake Blackshear
880178d62e
refactor(web): render CameraImage to a canvas
2021-02-20 08:20:17 -06:00
Blake Blackshear
d285ff7e54
increment version
2021-02-20 08:20:17 -06:00
jaburges and Blake Blackshear
54671fc522
Added the base urls for image and video
2021-02-10 20:59:00 -06:00
jaburges and Blake Blackshear
53e3e6545d
Added Unraid and M2 coral edge tpu
...
Recommended hardware docs
2021-02-10 20:58:11 -06:00
Blake Blackshear and GitHub
91cb49c4a3
Update issue templates
2021-02-10 06:51:52 -06:00
Blake Blackshear
c065cb48f2
fix notification examples
2021-02-03 06:56:14 -06:00
Blake Blackshear
d376f6b1d2
increment version
2021-01-31 06:20:59 -06:00
Paul Armstrong and Blake Blackshear
45526a7652
feat(web): activity indicator while loading
2021-01-31 06:18:35 -06:00
Paul Armstrong and Blake Blackshear
cc7929932b
feat(nginx): enable gzip compression and cache control for static files
2021-01-31 06:18:35 -06:00
Paul Armstrong and Blake Blackshear
e6516235fa
feat(web): auto-paginate events page
2021-01-31 06:18:35 -06:00
Blake Blackshear
40d5a9f890
change default log level
2021-01-31 06:18:35 -06:00
Blake Blackshear
ee3e744cc6
tail last 100 lines of ffmpeg logs and dump when failure detected
2021-01-31 06:18:35 -06:00
Blake Blackshear
b55bd1e027
add param to reduce response sizes by excluding thumbnails in api response
2021-01-31 06:18:35 -06:00
Jeff Billimek and Blake Blackshear
9a96df0319
update docs to reflect new chart home
...
Signed-off-by: Jeff Billimek <jeff@billimek.com >
2021-01-30 22:15:20 -06:00
Blake Blackshear
e9b1618364
add note about protection mode for tmpfs fixes #658
2021-01-29 06:42:55 -06:00
Blake Blackshear
6dc6ed1e94
more detailed reolink args
2021-01-29 06:40:32 -06:00
Blake Blackshear
1943a49274
add audio info to docs
2021-01-29 06:35:54 -06:00
Paul Armstrong and Blake Blackshear
a8c00edc94
fix(web): reduce transferred/unused assets on html load
2021-01-29 06:27:32 -06:00
Blake Blackshear
faa8abb2b9
docs updates
2021-01-28 08:21:04 -06:00
Blake Blackshear
f6cd2fc68e
clarifying addon docs
2021-01-28 07:45:09 -06:00
Paul Armstrong and Blake Blackshear
6482000d6b
fix(web): image loading for firefox
2021-01-28 07:05:45 -06:00
Justin Goette and Blake Blackshear
dcf7209706
Fix camera.md links
2021-01-28 06:43:43 -06:00
Paul Armstrong and Blake Blackshear
2ec921593e
refactor(web): responsive images on content size, throttle AutoUpdatingCameraImage
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
75a01f657e
feat(web): make it possible to add to object masks
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
d4e512c1fc
fix(web): object mask editing not showing points
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
26e7d34f18
fix(web): ensure all links on events page include pathname
2021-01-26 21:40:33 -06:00
Blake Blackshear
15b5ffddd4
updating for docusaurus2 docs
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
f0f3764992
fix(web): make camera latest.jpg responsive
2021-01-26 21:40:33 -06:00
Blake Blackshear
2beb44b591
add search to docs
2021-01-26 21:40:33 -06:00
Blake Blackshear
27b659dde1
tweaking the docs
2021-01-26 21:40:33 -06:00
Blake Blackshear
630c2ee6f6
use sqlitequeuedb
2021-01-26 21:40:33 -06:00
James Carlos and Blake Blackshear
600477c487
Update documentation link in sidebar to new docs
2021-01-26 21:40:33 -06:00
Blake Blackshear
d31c295598
add debug log when cache is cleaned up
2021-01-26 21:40:33 -06:00
Blake Blackshear
a7bb0931c4
if detection stopped, assume the container needs a restart
2021-01-26 21:40:33 -06:00
Blake Blackshear
ff99a01423
fix table in docs
2021-01-26 21:40:33 -06:00
Blake Blackshear
ea6e311318
readme update
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
6790467bbc
docs: move docs to docusaurus
2021-01-26 21:40:33 -06:00
Blake Blackshear
d315dbea22
rate limit tracked object updates to every 5 seconds
2021-01-26 21:40:33 -06:00
Blake Blackshear
8db7ab6724
add snapshot endpoint that works during the event fixes #575
2021-01-26 21:40:33 -06:00
Blake Blackshear
9a2c034ae8
get the thumbnail instead of the full frame
2021-01-26 21:40:33 -06:00
Blake Blackshear
2885b80a13
dont wait forever for the cache
2021-01-26 21:40:33 -06:00
Blake Blackshear
4a85156e87
fix initial switch state
2021-01-26 21:40:33 -06:00
Blake Blackshear
1785c69e1b
handle exception when frame isnt in cache
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
a862ba8348
feat(web): AutoUpdatingCameraImage to replace MJPEG feed
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
633d45d02f
fix(web): set default path to cameras view
2021-01-26 21:40:33 -06:00
Blake Blackshear
7f4e042dfa
update index.js to use baseUrl
2021-01-26 21:40:33 -06:00
Blake Blackshear
507ec13848
first pass at subfilter for ingress support
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
2132352639
fix(web): dark mode text color fixes
...
fixes #544
2021-01-26 21:40:33 -06:00
Blake Blackshear
11016b8486
ensure error message with missing config is printed
2021-01-26 21:40:33 -06:00
Blake Blackshear
8615f14407
update notification example
2021-01-26 21:40:33 -06:00
Blake Blackshear
1e84f08018
fix mqtt switch handling
2021-01-26 21:40:33 -06:00
Blake Blackshear
7f663328dc
initialize detection correctly from config
2021-01-26 21:40:33 -06:00
Blake Blackshear
ea53068432
update wheels version
2021-01-26 21:40:33 -06:00
Blake Blackshear
144aff9b4e
pin numpy
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
18db6daf0a
feat(web): layout & auto-update debug page
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
26ba29b538
fix(web): ensure button bg colors show in prod builds
2021-01-26 21:40:33 -06:00
Blake Blackshear
70167a34b6
fix zone config
2021-01-26 21:40:33 -06:00
Blake Blackshear
ccb668a1b6
no longer need special aarch64 wheels build
2021-01-26 21:40:33 -06:00
Blake Blackshear
0989c64eab
versioning wheels image
2021-01-26 21:40:33 -06:00
Blake Blackshear
c082fc5cb2
move wheels to build container
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
d39111a294
fix(web): mask zone editor to handle object filter masks
...
Includes additional handlers for adding/removing masks, as well as click to copy configs
fixes #523
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
3c072f94b0
feat(web): hash build files to avoid cache issues
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
7f8ae2ce5c
fix(web): ensure mask editing works in firefox
2021-01-26 21:40:33 -06:00
Blake Blackshear
d84b75168c
docs updates for notification changes
2021-01-26 21:40:33 -06:00
Blake Blackshear
eb0a5e1c55
rename snapshot endpoint to thumbnail
2021-01-26 21:40:33 -06:00
Blake Blackshear
47ac77dbb0
mqtt tweaks for switches
2021-01-26 21:40:33 -06:00
Blake Blackshear
ec84847be7
allow summary data to be filtered
2021-01-26 21:40:33 -06:00
Blake Blackshear
e7839bfd40
update readme
2021-01-26 21:40:33 -06:00
Blake Blackshear
8762da627b
snapshots config typo
2021-01-26 21:40:33 -06:00
Blake Blackshear
3fab321045
update object filters to inherit like motion settings
2021-01-26 21:40:33 -06:00
Blake Blackshear
9451048574
remove support for image masks
2021-01-26 21:40:33 -06:00
Blake Blackshear
46c002038b
don't fallback to the CPU
...
fixes #381
2021-01-26 21:40:33 -06:00
Blake Blackshear
d1d833ea9a
add change type to events topic
...
#476
2021-01-26 21:40:33 -06:00
Blake Blackshear
c1f0750526
ensure each camera has a detect role set
2021-01-26 21:40:33 -06:00
Blake Blackshear
89e02b6956
add detection enable to config
...
fixes #482
2021-01-26 21:40:33 -06:00
Blake Blackshear
97e8258288
add env vars to config
...
fixes #509
2021-01-26 21:40:33 -06:00
Blake Blackshear
39040c1874
enable and disable detection via mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
c709851888
move setproctitle to prebuilt wheel location
2021-01-26 21:40:33 -06:00
Blake Blackshear
b022bec1fa
switch to docker based web builds
2021-01-26 21:40:33 -06:00
Blake Blackshear
bca0531963
handle null thumbnail data
2021-01-26 21:40:33 -06:00
Blake Blackshear
b2c7fc8f5b
add mask as object filter
2021-01-26 21:40:33 -06:00
Blake Blackshear
96ac2c29d6
add object masks and move moton mask
2021-01-26 21:40:33 -06:00
Blake Blackshear
14a5118b4d
add missing global shapshots config
2021-01-26 21:40:33 -06:00
Patrick Decat and Blake Blackshear
232fa1ffe8
Add missing migrations in docker images
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
d2e91754e9
fix(web): ensure postcss and postcss-cli are marked as deps
2021-01-26 21:40:33 -06:00
Patrick Decat and Blake Blackshear
4d9066a58d
Fix Makefile to ignore gpg signatures in commits
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
c618867941
feat!: web user interface
2021-01-26 21:40:33 -06:00
Blake Blackshear
5ad4017510
try to cleanup some migration logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
63e14a98f9
add retention settings for snapshots
2021-01-26 21:40:33 -06:00
Blake Blackshear
25e3fe8eab
init variables on camera state
2021-01-26 21:40:33 -06:00
Blake Blackshear
840f046572
handle process exit exceptions
2021-01-26 21:40:33 -06:00
Blake Blackshear
89e3c2e4b1
store has_clip and has_snapshot on events
2021-01-26 21:40:33 -06:00
Blake Blackshear
c770470b58
add database migrations
2021-01-26 21:40:33 -06:00
Nat Morris and Blake Blackshear
4619836122
Set titles for forked processes
2021-01-26 21:40:33 -06:00
Nat Morris and Blake Blackshear
76403bba8e
New stats module, refactor stats generation out of http module.
...
StatsEmitter thread to send stats to MQTT every 60 seconds by default, optional stats_interval config value.
New service stats attribute, containing uptime in seconds and version.
2021-01-26 21:40:33 -06:00
Blake Blackshear
a9afa303a2
turn off snapshots via mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
e5399ae07a
enable turning clips on and off via mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
80a5a7b129
cleanup save_Clips/clips inconsistency
2021-01-26 21:40:33 -06:00
Blake Blackshear
9dc97d4b6b
add jpg snapshots to disk and clean up config
2021-01-26 21:40:33 -06:00
Paul Armstrong and Blake Blackshear
d8c9169af2
fix: ensure timestamp is drawn above mask
2021-01-26 21:40:33 -06:00
Leonardo Merza and Blake Blackshear
ec256f7130
add notes for Blue Iris RTSP support
2021-01-26 21:40:33 -06:00
yllar and Blake Blackshear
19bbfce4ed
Update README.md
...
change tmpfs size from 100MB to 1GB
2021-01-26 21:40:33 -06:00
kluszczyn and Blake Blackshear
b0b2d9d972
Recordings - fix expire_file
2021-01-26 21:40:33 -06:00
Blake Blackshear
6f5f5c9461
add clips endpoint to readme
2021-01-26 21:40:33 -06:00
Blake Blackshear
fc04bc6046
better mask error handling
2021-01-26 21:40:33 -06:00
Blake Blackshear
9f504253fb
fix tmpfs
2021-01-26 21:40:33 -06:00
Blake Blackshear
961997e078
remove redundant error output
2021-01-26 21:40:33 -06:00
Blake Blackshear
363594a9a2
use CACHE_DIR constant
2021-01-26 21:40:33 -06:00
Blake Blackshear
247e2677f3
enable mounting tmpfs volume on start
2021-01-26 21:40:33 -06:00
Blake Blackshear
5b5159f4dd
docs and issue template
2021-01-26 21:40:33 -06:00
Blake Blackshear
bc8b85860c
update process clip for latest changes
2021-01-26 21:40:33 -06:00
Blake Blackshear
44d45c5880
publish event updates on zone change
2021-01-26 21:40:33 -06:00
Blake Blackshear
a6d8e4fc3f
readme updates
2021-01-26 21:40:33 -06:00
Blake Blackshear
2cc9a15f6a
handle scenario with empty cache
2021-01-26 21:40:33 -06:00
Blake Blackshear
151f9fb2ee
add qsv support to amd64 image
2021-01-26 21:40:33 -06:00
Blake Blackshear
32fb76b3d1
add num_threads fixes #322
2021-01-26 21:40:33 -06:00
Blake Blackshear
8d52e2635a
optimize clips fixes #299
2021-01-26 21:40:33 -06:00
Blake Blackshear
f20e1f20a6
add post_capture option
2021-01-26 21:40:33 -06:00
Blake Blackshear
af8594c5c6
re-crop to the object rather than the region
2021-01-26 21:40:33 -06:00
Blake Blackshear
899d41f361
allow runtime drawing settings for mjpeg and latest
2021-01-26 21:40:33 -06:00
Blake Blackshear
7dc6382c90
allow the mask to be a list of masks
2021-01-26 21:40:33 -06:00
Blake Blackshear
e8009c2d26
adding version endpoint
2021-01-26 21:40:33 -06:00
Blake Blackshear
3bc7cdaab6
configurable motion and detect settings
2021-01-26 21:40:33 -06:00
Blake Blackshear
724d8187c6
update gitignore
2021-01-26 21:40:33 -06:00
Blake Blackshear
8f68df60c7
fix test
2021-01-26 21:40:33 -06:00
Blake Blackshear
6af3cb6134
switch default threshold to .7
2021-01-26 21:40:33 -06:00
Blake Blackshear
2ff0c3907f
allow process clips to output a csv of scores
2021-01-26 21:40:33 -06:00
Blake Blackshear
dd102ff01d
allow db path to be customized
2021-01-26 21:40:33 -06:00
Blake Blackshear
f20b1d75e6
add telegram example
2021-01-26 21:40:33 -06:00
Blake Blackshear
a4b88ac4a7
fix process clip
2021-01-26 21:40:33 -06:00
Blake Blackshear
93b9d586d2
handle empty string args
2021-01-26 21:40:33 -06:00
Blake Blackshear
41dd4447cc
allow region to extend beyond the frame
2021-01-26 21:40:33 -06:00
tubalainen and Blake Blackshear
8b9c8a2e80
Updated file
...
ref: https://github.com/blakeblackshear/frigate/issues/373
2021-01-26 21:40:33 -06:00
Blake Blackshear
a63ff1bb99
swap width and height to reduce confusion
2021-01-26 21:40:33 -06:00
Blake Blackshear
d5e3b59245
updating compose example to reduce confusion
2021-01-26 21:40:33 -06:00
Blake Blackshear
d0470fffcc
allow defining model shape and switch to mobiledet as default model
2021-01-26 21:40:33 -06:00
Blake Blackshear
5053305e17
add model dimensions to config
2021-01-26 21:40:33 -06:00
Patrick Decat and Blake Blackshear
9c79392060
Document beta addon host
2021-01-26 21:40:33 -06:00
Blake Blackshear
708c3278bf
make shm consistent with compose
2021-01-26 21:40:33 -06:00
tubalainen and Blake Blackshear
c0249f6e59
Updated docker command line...
...
...to correspond with 0.8.0 feature set.
2021-01-26 21:40:33 -06:00
Blake Blackshear
afd8aefac2
readme cleanup fixes #332
2021-01-26 21:40:33 -06:00
Blake Blackshear
3c07767138
handle and warn if roles dont match enabled features
2021-01-26 21:40:33 -06:00
Blake Blackshear
953c442f13
camera recommendations
2021-01-26 21:40:33 -06:00
Blake Blackshear
e147852878
catch all psutil errors
2021-01-26 21:40:33 -06:00
Blake Blackshear
db7ee6cfb3
clarify height width and fps
2021-01-26 21:40:33 -06:00
Blake Blackshear
3b41b6cc33
readme updates
2021-01-26 21:40:33 -06:00
Blake Blackshear
5e79888370
tweak screenshots
2021-01-26 21:40:33 -06:00
Blake Blackshear
a6aa9bdd59
readme updates
2021-01-26 21:40:33 -06:00
Blake Blackshear
d78b7cc110
set ffmpeg image versions
2021-01-26 21:40:33 -06:00
Blake Blackshear
e7cdace0ab
comment you zeroconf
2021-01-26 21:40:33 -06:00
Blake Blackshear
f60eb4e977
fix flask logger config
2021-01-26 21:40:33 -06:00
Blake Blackshear
7aecf6c6de
fix graceful exits
2021-01-26 21:40:33 -06:00
Blake Blackshear
75d62096a6
better exception handling
2021-01-26 21:40:33 -06:00
Blake Blackshear
7c44994070
fix default args
2021-01-26 21:40:33 -06:00
Blake Blackshear
f49f3fd9c3
fix fontconfig issue
2021-01-26 21:40:33 -06:00
Blake Blackshear
5ea86d636c
doc updates
2021-01-26 21:40:33 -06:00
Blake Blackshear
4c6e90717a
update some default config values
2021-01-26 21:40:33 -06:00
Blake Blackshear
d60ca9d783
log level configuration
2021-01-26 21:40:33 -06:00
Blake Blackshear
d304718ea0
no need to write jpg disk
2021-01-26 21:40:33 -06:00
Blake Blackshear
c787c8948e
dont delete the recordings directory
2021-01-26 21:40:33 -06:00
Blake Blackshear
62728ef7fb
default save_clips objects
2021-01-26 21:40:33 -06:00
Blake Blackshear
47e256f03d
add logging for directory creation
2021-01-26 21:40:33 -06:00
Blake Blackshear
527db52d5e
exit on config errors
2021-01-26 21:40:33 -06:00
Blake Blackshear
f78b2c48a7
add zeroconf discovery
2021-01-26 21:40:33 -06:00
Blake Blackshear
90c965a32a
optional android notification aspect ratio
2021-01-26 21:40:33 -06:00
Blake Blackshear
d4afcde6c9
reduce min timestamp size
2021-01-26 21:40:33 -06:00
Blake Blackshear
257de89ce4
publish object counts rather than on/off
2021-01-26 21:40:33 -06:00
Blake Blackshear
735cc3962b
make directories constants
2021-01-26 21:40:33 -06:00
Blake Blackshear
feb42181de
cleanup empty directories
2021-01-26 21:40:33 -06:00
Blake Blackshear
f5c4bfa7b4
serve up recordings with nginx
2021-01-26 21:40:33 -06:00
Blake Blackshear
65ddd91855
add recording maintenance
2021-01-26 21:40:33 -06:00
Blake Blackshear
6d7d838613
add record settings to config
2021-01-26 21:40:33 -06:00
Blake Blackshear
5edf7b7f00
fix log timeout
2021-01-26 21:40:33 -06:00
Blake Blackshear
117569830d
ensure zones dont have the same name as a camera
2021-01-26 21:40:33 -06:00
Blake Blackshear
d62aec7287
graceful exit of subprocesses
2021-01-26 21:40:33 -06:00
Blake Blackshear
4e0cf3681e
add multiple streams per camera
2021-01-26 21:40:33 -06:00
Blake Blackshear
d98751102a
fix fontconfig error
2021-01-26 21:40:33 -06:00
Blake Blackshear
1acbeb813e
add support for rebroadcasting as rtmp
2021-01-26 21:40:33 -06:00
Blake Blackshear
b87ec752cf
avoid null error
2021-01-26 21:40:33 -06:00
Blake Blackshear
753df31fa6
minimize logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
bd77b74689
oops
2021-01-26 21:40:33 -06:00
Blake Blackshear
810c23d8ee
only publish end events for true positives
2021-01-26 21:40:33 -06:00
Blake Blackshear
34d9b2983e
ensure all events are cleaned up
2021-01-26 21:40:33 -06:00
Blake Blackshear
63c5c8412a
publish events like a change feed
2021-01-26 21:40:33 -06:00
Blake Blackshear
60207723d1
pull from memory if event in progress
2021-01-26 21:40:33 -06:00
Blake Blackshear
f4117ad096
add endpoint for event thumbnail
2021-01-26 21:40:33 -06:00
Blake Blackshear
8bed4e9970
add service to get by id
2021-01-26 21:40:33 -06:00
Blake Blackshear
f72eaf781c
add zones to summary data
2021-01-26 21:40:33 -06:00
Blake Blackshear
e9ecc20a36
sleep in the right place
2021-01-26 21:40:33 -06:00
Blake Blackshear
addfa2a32d
manage events for unlisted cameras
2021-01-26 21:40:33 -06:00
Blake Blackshear
0dad9bc393
add event cleanup thread
2021-01-26 21:40:33 -06:00
Blake Blackshear
5155875a72
add clip retention to config
2021-01-26 21:40:33 -06:00
Blake Blackshear
4ed1217366
use localtime in group by
2021-01-26 21:40:33 -06:00
Blake Blackshear
50e898a684
new http endpoints
2021-01-26 21:40:33 -06:00
Blake Blackshear
251c7fa982
add parameters to event query
2021-01-26 21:40:33 -06:00
Blake Blackshear
00c75e9f98
only save events when a clip is created
2021-01-26 21:40:33 -06:00
Blake Blackshear
1b5b02d286
add bas64 encoded thumbnail to the database
2021-01-26 21:40:33 -06:00
Blake Blackshear
946d655cee
check for None value thumbnail_data
2021-01-26 21:40:33 -06:00
Blake Blackshear
d56710b0b5
only set thumbnail data if object is a true positive
2021-01-26 21:40:33 -06:00
Blake Blackshear
0cf78277b5
add some debug logging to frame cache
2021-01-26 21:40:33 -06:00
Blake Blackshear
ce2a583ff9
dont use a property
2021-01-26 21:40:33 -06:00
Blake Blackshear
84bddad30e
attempt to fix missing thumbs
2021-01-26 21:40:33 -06:00
Blake Blackshear
0ff682504a
better frame handling for best images
2021-01-26 21:40:33 -06:00
Blake Blackshear
5d5984166f
cleanup false_positive attribute
2021-01-26 21:40:33 -06:00
Blake Blackshear
b825eb44fe
ensure some valid thumbnail is available
2021-01-26 21:40:33 -06:00
Blake Blackshear
7015eb66f2
don't save thumbnails for false positives
2021-01-26 21:40:33 -06:00
Blake Blackshear
494eeb16a5
cleanup
2021-01-26 21:40:33 -06:00
Blake Blackshear
692fdc8d5d
reduce logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
ec1a8ebd4a
fixes
2021-01-26 21:40:33 -06:00
Blake Blackshear
59daa6597b
update nginx config
2021-01-26 21:40:33 -06:00
Blake Blackshear
3941ce4ad1
stop writing json file to disk
2021-01-26 21:40:33 -06:00
Blake Blackshear
aff87d4372
create tracked object class and save thumbnails
2021-01-26 21:40:33 -06:00
Blake Blackshear
373ca87887
maintain thumbnail frames for tracked objects
2021-01-26 21:40:33 -06:00
Blake Blackshear
03c855ecbe
sort imports
2021-01-26 21:40:33 -06:00
Blake Blackshear
3a3cb24631
naming threads and processes for logs
2021-01-26 21:40:33 -06:00
Blake Blackshear
4c3fea25a5
use a queue for logging
2021-01-26 21:40:33 -06:00
Blake Blackshear
af303cbf2a
create typed config classes
2021-01-26 21:40:33 -06:00
Blake Blackshear
b7c09a9b38
add nginx and change default file locations
2021-01-26 21:40:33 -06:00
Blake Blackshear
eced06eea8
config setup
2021-01-26 21:40:33 -06:00
Blake Blackshear
15d989255c
add watchdog
2021-01-26 21:40:33 -06:00
Blake Blackshear
095566b9c2
add back all endpoints
2021-01-26 21:40:33 -06:00
Blake Blackshear
b77a65d446
add event processor
2021-01-26 21:40:33 -06:00
Blake Blackshear
9778a748fc
add capture processes
2021-01-26 21:40:33 -06:00
Blake Blackshear
a89dddcafa
add camera processors
2021-01-26 21:40:33 -06:00
Blake Blackshear
75973fd4c0
add detected_frames_processor
2021-01-26 21:40:33 -06:00
Blake Blackshear
514036f9d1
add detector processes
2021-01-26 21:40:33 -06:00
Blake Blackshear
36fbedab20
init db/http/mqtt
2021-01-26 21:40:33 -06:00
Blake Blackshear
180baeba50
app container and config schema
2021-01-26 21:40:33 -06:00
Blake Blackshear
cce82fe2a5
move primary script into the module
2021-01-26 21:40:33 -06:00
Blake Blackshear
5512bb2e06
saving events and simple endpoint
2021-01-26 21:40:33 -06:00
Blake Blackshear
be1fcbbdf8
basic database model and api endpoint
2021-01-26 21:40:33 -06:00
Blake Blackshear
422cd52049
store events in tinydb
2021-01-26 21:40:33 -06:00
Blake Blackshear
d67a56d37e
update events model
2021-01-26 21:40:33 -06:00
Marc Seeger and Blake Blackshear
070c9721b6
Add support for AMD Ryzen iGPU ( fixes #311 )
...
This package will add support for the iGPU of AMD Ryzen and presumably a few more AMD cards.
See details of the package here: https://packages.ubuntu.com/focal/mesa-va-drivers
It also adds support for the open source Nvidia Nouveau driver according to https://wiki.debian.org/HardwareVideoAcceleration
2021-01-26 21:40:33 -06:00
Michael Wei and Blake Blackshear
0219834dd1
Use cv2.bitwise_and instead of numpy.where
2021-01-26 21:40:33 -06:00
Gerard Escalante and Blake Blackshear
a1cc9ad1f0
Revert one other change
2020-11-17 10:50:38 -06:00
Gerard Escalante and Blake Blackshear
29e8aa4020
Remove unnecessary install; fix default env var value
2020-11-17 10:50:38 -06:00
Gerard Escalante and Blake Blackshear
777aff403f
Fix errors when using nvidia images
2020-11-17 10:50:38 -06:00
Blake Blackshear and GitHub
4b3b702459
Update bug_report.md
2020-11-15 14:51:20 -06:00
Michael Wei and Blake Blackshear
893e6b40a7
nvidia ffmpeg support
2020-11-08 16:42:17 -06:00
Michael Wei and Blake Blackshear
a85d780020
lock libedgetpu1 to 15.0, update tflite_runtime
2020-11-08 16:40:01 -06:00
Blake Blackshear and GitHub
34439699ae
tweak logo
2020-10-26 10:05:26 -05:00
Blake Blackshear
64b63142b1
start the frame rate tracker
2020-10-26 08:01:18 -05:00
Blake Blackshear
cee1ab000b
make ffmpeg pid available for cache maintenance ( fixes #271 )
2020-10-26 08:01:18 -05:00
Blake Blackshear
3ff98770c1
link to mjpeg documentation
2020-10-26 06:36:03 -05:00
tubalainen and Blake Blackshear
244203463d
Update on where to find the draw_zones
2020-10-26 06:36:03 -05:00
Blake Blackshear
b6f7940b10
hwaccel docs
2020-10-25 14:30:36 -05:00
Blake Blackshear
75312602aa
add support for iHD driver
2020-10-25 14:30:36 -05:00
Blake Blackshear
75977128f0
ensure dummy frame is in yuv shape
2020-10-25 14:30:36 -05:00
Blake Blackshear
eafde6c677
capture ffmpeg in a dedicated process
2020-10-25 14:30:36 -05:00
Blake Blackshear
da0598baef
disable flask warning
2020-10-25 14:30:36 -05:00
Blake Blackshear
35ba5e2f7c
improve frame memory management
2020-10-25 14:30:36 -05:00
Blake Blackshear
49258d6dbe
tweaks for recent issues
2020-10-24 08:52:40 -05:00
Blake Blackshear
5a081e4f00
docs rewrite
2020-10-24 08:23:16 -05:00
Blake Blackshear
4feae472e9
reformatting and fixing typos
2020-10-23 06:56:06 -05:00
tubalainen and Blake Blackshear
4e83239258
Updated information on poly mask
2020-10-23 06:56:06 -05:00
tubalainen and Blake Blackshear
c4cccf44a5
poly example image
2020-10-23 06:38:41 -05:00
jacobgibbs and Blake Blackshear
64e7cbcc62
Update README.md
...
Update attributes name to pull through the FPS
2020-10-19 15:04:34 -05:00
Blake Blackshear
dd86e4f317
fix clips path and check for symlinks
2020-10-19 07:01:31 -05:00
Blake Blackshear
4db285a875
remove reference to stable
2020-10-18 14:12:25 -05:00
Blake Blackshear
939d1ba091
use global and ensure dirs exist
2020-10-18 13:47:13 -05:00
Blake Blackshear
0fe8d486d9
make cache/clips dirs configurable
2020-10-18 13:47:13 -05:00
Blake Blackshear
a3cb02af5c
sync arch names with hassio
2020-10-18 13:47:13 -05:00
Blake Blackshear
45a6b8452c
allow config file to be specified by env var and allow json
2020-10-18 13:47:13 -05:00
Blake Blackshear
9d594cc640
allow setting config file location via env var
2020-10-18 13:47:13 -05:00
Blake Blackshear
59e41ae1ac
update sample config
2020-10-18 13:47:13 -05:00
Blake Blackshear
c6ed16465b
move the timestamp to bottom
2020-10-18 13:47:13 -05:00
Blake Blackshear
8f14b36f5a
tweak size
2020-10-18 13:47:13 -05:00
Blake Blackshear
b6c2491e3b
use the actual original shape
2020-10-18 13:47:13 -05:00
Blake Blackshear
8e31d04d90
scale font of timestamp dynamically
2020-10-18 13:47:13 -05:00
Blake Blackshear
bf93fbb357
add ability to draw bounding boxes/timestamps on snapshots
2020-10-18 13:47:13 -05:00
Blake Blackshear
c064b244db
handle empty best frames
2020-10-18 13:47:13 -05:00
Blake Blackshear
0280610e96
fix detector cleanup
2020-10-18 13:47:13 -05:00
Blake Blackshear
4363623c45
reduce zone filter bouncing
2020-10-18 13:47:13 -05:00
Blake Blackshear
c960914ec3
prevent the camera process from hanging
2020-10-18 13:47:13 -05:00
Blake Blackshear
9ecc80b443
syntax error
2020-10-18 13:47:13 -05:00
Blake Blackshear
3e146de0a2
update docs
2020-10-18 13:47:13 -05:00
Blake Blackshear
bee54c39dc
update default detectors
2020-10-18 13:47:13 -05:00
Blake Blackshear
623d138d60
use dictionary for detectors for sensors
2020-10-18 13:47:13 -05:00
Blake Blackshear
76befc1249
only draw during debug
2020-10-18 13:47:13 -05:00
Dejan Zelic and Blake Blackshear
51251b9fb0
Added Healthcheck to Docker Compose
...
Frigate provides an HTTP server that can be used to detect if frigate is running or not. Using the docker-compose "healthcheck" feature we can set automations to restart the service if it stops working.
2020-10-18 13:47:13 -05:00
Radegast and Blake Blackshear
8c45076bb6
Fix error in the docker run command
...
I have very little experience with Docker, but it seems the command in the README has two mistakes in it:
- unknown shorthand flag: 'n' in -name
- docker: Error response from daemon: Invalid container name (blakeblackshear/frigate:stable), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.
I am running Docker version 19.03.13-ce, build 4484c46d9d on Arch linux.
2020-10-18 13:47:13 -05:00
Blake Blackshear
7d683ef399
cleanup frame queue
2020-10-18 13:47:13 -05:00
Blake Blackshear
e4da3822b1
cleanup detection shms
2020-10-18 13:47:13 -05:00
Blake Blackshear
12c4cd77c5
only convert pix_fmt when necessary
2020-10-18 13:47:13 -05:00
Blake Blackshear
a611cbb942
use yuv420p pixel format for motion
2020-10-18 13:47:13 -05:00
Blake Blackshear
f946813ccb
support multiple coral devices ( fixes #100 )
2020-10-18 13:47:13 -05:00
Blake Blackshear
49fca1b839
print stacktraceon segfaults
2020-10-18 13:47:13 -05:00
Blake Blackshear
54cb4a2180
prevent frame from being deleted while in use
2020-10-18 13:47:13 -05:00
Blake Blackshear
9954e3b11e
build ffmpeg in separate container
2020-10-18 13:47:13 -05:00
Blake Blackshear
82692b0ddc
arm64 ffmpeg cleanup
2020-10-18 13:47:13 -05:00
Blake Blackshear
9d4fdec12f
arm64 ffmpeg build
2020-10-18 13:47:13 -05:00
Blake Blackshear
ed72c995ef
ffmpeg 4.3.1 build for amd64
2020-10-18 13:47:13 -05:00
Blake Blackshear
66c77d1157
base image build cleanup
2020-10-18 13:47:13 -05:00
Blake Blackshear
40c322ad47
arm64 support
2020-10-18 13:47:13 -05:00
Blake Blackshear
83f1e0d713
add rpi dockerfile
2020-10-18 13:47:13 -05:00
Blake Blackshear
2d89044bd3
update dockerfiles for amd64
2020-10-18 13:47:13 -05:00
Blake Blackshear
dc4d24c2b9
Base dockerfile for building wheels
2020-10-18 13:47:13 -05:00
Blake Blackshear
d5fb20c524
refactor dockerfile
2020-10-18 13:47:13 -05:00
Blake Blackshear
7e92e8bfe8
fix shared memory store usage for events
2020-10-18 13:47:13 -05:00
Blake Blackshear
efdcfcef97
cleanup
2020-10-18 13:47:13 -05:00
Blake Blackshear
574ee2a46f
update detection handoff to use shared memory
2020-10-18 13:47:13 -05:00
Blake Blackshear
ec4d048905
upgrade to python3.8 and switch from plasma store to shared_memory
2020-10-18 13:47:13 -05:00
Blake Blackshear
b063099b2a
fix zone filters fixes #218
2020-10-11 11:38:32 -05:00
Blake Blackshear
2937dac4c3
update config merging and example config
2020-10-11 11:38:32 -05:00
Blake Blackshear and GitHub
7c283a1805
remove affiliate links
2020-10-08 07:26:02 -05:00
Blake Blackshear
309c0dcda3
proper handling of crop param ( fixes #208 )
2020-09-20 20:58:10 -05:00
Blake Blackshear
b35cc01035
allow the best image timeout to be configurable
2020-09-18 07:14:44 -05:00
Blake Blackshear
6e79a5402e
Readme updates
2020-09-17 07:37:27 -05:00
Blake Blackshear
a989f8daaf
update readme
2020-09-17 07:37:27 -05:00
Blake Blackshear
7880d24b29
prevent the cache from growing indefinitely
2020-09-17 07:37:27 -05:00
Blake Blackshear
fdc8bbf72d
move zone config under each camera
2020-09-17 07:37:27 -05:00
Blake Blackshear
005e188d38
continue if frames not in frame manager
2020-09-17 07:37:27 -05:00
Blake Blackshear
adcc3e9b98
copy obj so crop doesnt change
2020-09-17 07:37:27 -05:00
Blake Blackshear
5fe201da25
avoid processing broken frames
2020-09-17 07:37:27 -05:00
Blake Blackshear
974f7bd0df
fix mqtt snapshot
2020-09-17 07:37:27 -05:00
Blake Blackshear
780ae7cd4f
allow specifying labels to save clips for
2020-09-17 07:37:27 -05:00
Blake Blackshear
50e568b84c
allow setting size and cropping of snapshots and best.jpg endpoint
2020-09-17 07:37:27 -05:00
Blake Blackshear
1ce993051e
add support for polygon masks
2020-09-17 07:37:27 -05:00
Blake Blackshear
69406343ee
allow setting the camera fps if needed
2020-09-17 07:37:27 -05:00
Blake Blackshear
1c33b8acb2
handle mask files that failed to read
2020-09-17 07:37:27 -05:00
Blake Blackshear
5e77436d39
fix coral fps value
2020-09-17 07:37:27 -05:00
Blake Blackshear
e26308a05b
print score info
2020-09-17 07:37:27 -05:00
Blake Blackshear
c16ee3186f
fix masks
2020-09-17 07:37:27 -05:00
Blake Blackshear
fedeeab561
fix watchdog
2020-09-17 07:37:27 -05:00
Blake Blackshear
bfcaabecfa
fix var name
2020-09-17 07:37:27 -05:00
Blake Blackshear
606fa6f6d5
once a true positive always a true positive
2020-09-17 07:37:27 -05:00
Blake Blackshear
6a8d8bf53d
dont trigger zones for false positives
2020-09-17 07:37:27 -05:00
Blake Blackshear
1f81cba706
only save a clip if its not a false positive
2020-09-17 07:37:27 -05:00
Blake Blackshear
5db7b242aa
another fix
2020-09-17 07:37:27 -05:00
Blake Blackshear
0b7f65e227
fixes
2020-09-17 07:37:27 -05:00
Blake Blackshear
2f758af097
allow setting specific edgetpu in config
2020-09-17 07:37:27 -05:00
Blake Blackshear
f64320a464
remove invalid tests
2020-09-17 07:37:27 -05:00
Blake Blackshear
3e87ef6426
update pip
2020-09-17 07:37:27 -05:00
Blake Blackshear
acb75fa02d
refactor and reduce false positives
2020-09-17 07:37:27 -05:00
Blake Blackshear
ea4ecae27c
Refactor with a working false positive test
2020-09-17 07:37:27 -05:00
Carl Elkins and Blake Blackshear
a8556a729b
Added support for PCIe TPU, as well as USB
...
Also added message showing which found
2020-09-04 20:56:16 -05:00
Blake Blackshear and GitHub
068df3ef2d
Update bug_report.md
2020-08-22 06:49:45 -05:00
Blake Blackshear and GitHub
b304139db2
Update bug_report.md
2020-08-22 06:49:05 -05:00
Ryan Press and Blake Blackshear
df2aae5169
Fix zone filters
2020-08-19 09:58:53 -05:00
Blake Blackshear and GitHub
351ac4ec7d
Update bug_report.md
2020-08-17 07:48:53 -05:00
Blake Blackshear and GitHub
12e40291c0
Update bug_report.md
2020-08-17 07:41:13 -05:00
Blake Blackshear and GitHub
8af7d51159
Update issue templates
2020-08-17 07:33:51 -05:00
Blake Blackshear
84ada716ac
fix readme images
2020-08-09 13:18:12 -05:00
Blake Blackshear
cbcc89be9c
readme tweaks
2020-08-09 13:16:40 -05:00
Blake Blackshear
73a5e11b9b
Add details for debug info
2020-08-09 13:06:33 -05:00
Blake Blackshear
194baaeb56
fix example config
2020-08-08 20:58:54 -05:00
Blake Blackshear
469259d663
dont refresh cache if exiting
2020-08-08 07:40:48 -05:00
Blake Blackshear
f3db69d975
update docs
2020-08-08 07:40:48 -05:00
Blake Blackshear
0914cb71ad
allow resizing best image
2020-08-08 07:40:48 -05:00
Blake Blackshear
0ae2806eb4
fix overwriting variable
2020-08-08 07:40:48 -05:00
Blake Blackshear
adcfe699c2
ensure frigate can exit gracefully
2020-08-08 07:40:48 -05:00
Blake Blackshear
e5048f98b6
fix latest size calculation
2020-08-08 07:40:48 -05:00
Blake Blackshear
e6c6338266
allow mask to be base64 encoded into the config file
2020-08-08 07:40:48 -05:00
Blake Blackshear
1f03c8cb8c
add latest jpg endpoint
2020-08-08 07:40:48 -05:00
Blake Blackshear
69f5249788
initial implementation of zones
2020-08-08 07:40:48 -05:00
Blake Blackshear
3a1f1c946b
better camera name handling
2020-08-01 18:20:44 -05:00
Blake Blackshear
d88745af6e
simplify directory creation
2020-08-01 18:20:44 -05:00
Blake Blackshear
709d917f0c
update snapshot with better scores
2020-08-01 18:20:44 -05:00
Blake Blackshear
918386bdc1
use a random string in the object id instead of the index
2020-08-01 18:20:44 -05:00
Blake Blackshear
a8c0fadf95
make pre_capture time configurable
2020-08-01 18:20:44 -05:00
Blake Blackshear
6dc7b8f246
typo
2020-08-01 18:20:44 -05:00
Blake Blackshear
71f6f0bee4
typo
2020-08-01 18:20:44 -05:00
Blake Blackshear
a00afb61c0
add warning about cache to config
2020-08-01 18:20:44 -05:00
Blake Blackshear
5dbe6c5f36
add mqtt messages to readme
2020-08-01 18:20:44 -05:00
Blake Blackshear
16732aa5b3
update example config
2020-08-01 18:20:44 -05:00
Blake Blackshear
3d2f1437e4
filter objects before triggering events
2020-08-01 18:20:44 -05:00
Blake Blackshear
fbe721c860
remove vsync drop because it breaks segment
2020-08-01 18:20:44 -05:00
Blake Blackshear
7383db60b0
save clips for tracked objects
2020-08-01 18:20:44 -05:00
Blake Blackshear
53ccc903da
switch to MIT license
2020-07-26 12:07:47 -05:00
Blake Blackshear
9d1f9f35e5
fix model paths
2020-07-26 12:07:47 -05:00
Blake Blackshear
c1f522ff54
fix box merging
2020-07-26 12:00:46 -05:00
mattheys and Blake Blackshear
b345571a63
Update CPU model to Mobilenet v2
...
Inference speed went from ~470ms to ~530ms, however average confidence went from ~75% to ~90%+
2020-07-03 12:32:01 -05:00
Blake Blackshear
f29ee6165f
add proxmox tip
2020-07-01 07:49:01 -05:00
Blake Blackshear
ec6432cc5f
add hardware section and fix typos
2020-07-01 07:49:01 -05:00
walthowd and Blake Blackshear
8c917667b6
Added mask overlay example and docker logging
2020-07-01 07:49:01 -05:00
walthowd and Blake Blackshear
941434b8d8
Added mask overlay example
2020-07-01 07:49:01 -05:00
walthowd and Blake Blackshear
2d0632adf8
Updated README with abstracted HA config, expanded tips section
2020-07-01 07:49:01 -05:00
walthowd and Blake Blackshear
f1afaf641a
Mask example images
2020-07-01 07:49:01 -05:00
Blake Blackshear
743116a733
install tzdata
2020-06-02 05:25:02 -05:00
Blake Blackshear
8e77cf25d9
handle ffmpeg process hangs that dont exit ffmpeg
2020-06-02 05:25:02 -05:00
Blake Blackshear
7d33e03943
ensure detection_start doesnt change values between conditions
2020-06-02 05:25:02 -05:00
Blake Blackshear
0c44666c89
drop plasma store stderr logs
2020-06-02 05:25:02 -05:00
Blake Blackshear
ddaa746807
resize to aspect ratio of frame
2020-06-02 05:25:02 -05:00
Blake Blackshear
760e1ffe1d
skip frames in the capture thread instead
2020-06-02 05:25:02 -05:00
Blake Blackshear
15b4024715
expose frame time at each step of processing
2020-06-02 05:25:02 -05:00
Blake Blackshear and Blake Blackshear
918112a793
ensure the previous frame is deleted when the new one is stored
2020-06-02 05:25:02 -05:00
Blake Blackshear
4ee200a81c
move ffmpeg capture to a separate thread and use a queue
2020-06-02 05:25:02 -05:00
Blake Blackshear
e37eba49ff
make object processor resilient to plasma failures
2020-06-02 05:25:02 -05:00
Blake Blackshear
6de8e3bd1f
remove sharedarray references
2020-06-02 05:25:02 -05:00
Blake Blackshear
3a9781c4f8
handle various scenarios with external process failures
2020-06-02 05:25:02 -05:00
Blake Blackshear
a60b9211d2
allow specifying debug view fps and size
2020-03-03 20:26:53 -06:00
Blake Blackshear
777fb1d5d1
Update to latest url for tensorflow lite wheel
2020-03-03 20:26:53 -06:00
Blake Blackshear
8e9110f42e
if the detections dont come back in 10s, give up
2020-03-03 20:26:53 -06:00
Blake Blackshear
c80137e059
call the restart function and handle errors better in the detection process
2020-03-03 20:26:53 -06:00
Blake Blackshear
2768e1dadb
clarify mqtt password readme
2020-03-03 20:26:53 -06:00
Blake Blackshear
2fbba01577
readme updates
2020-03-03 20:26:53 -06:00
Blake Blackshear
e7c536ea31
allow mqtt password to be set by env var
2020-03-03 20:26:53 -06:00
Blake Blackshear
1734c0569a
update benchmark script to mirror actual frigate use
2020-03-03 20:26:53 -06:00
Blake Blackshear
a5bef89123
improve detection processing and restart when stuck
2020-03-03 20:26:53 -06:00
Blake Blackshear
d8aa73d26e
handle ffmpeg process failures in the camera process itself
2020-03-03 20:26:53 -06:00
Blake Blackshear
791409d5e5
add a few print statements for debugging
2020-03-03 20:26:53 -06:00
Blake Blackshear
01bf89907d
dont kill the camera process from the main process
2020-03-03 20:26:53 -06:00
Blake Blackshear
8e73c7e95e
increase the buffer size a bit
2020-03-03 20:26:53 -06:00
Blake Blackshear
088bd18adb
add a few more metrics to debug
2020-03-03 20:26:53 -06:00
Blake Blackshear
2e8c7ec225
cleanup the plasma store when finished with a frame
2020-03-03 20:26:53 -06:00
Blake Blackshear
9340a74371
dont redirect stdout for plasma store
2020-03-03 20:26:53 -06:00
Blake Blackshear
5998de610b
reset detection fps
2020-03-03 20:26:53 -06:00
Blake Blackshear
dfabff3846
dont change dictionary while iterating
2020-03-03 20:26:53 -06:00
Blake Blackshear
76a7a3bad5
allow specifying the frame size in the config instead of detecting
2020-03-03 20:26:53 -06:00
Blake Blackshear
a3fa97dd52
ensure missing objects are expired even when other object types are in the frame
2020-03-03 20:26:53 -06:00
Blake Blackshear
1d2a41129c
Fix watchdog last_frame calculation
2020-03-03 20:26:53 -06:00
Blake Blackshear
956298128d
cleanup
2020-03-03 20:26:53 -06:00
Blake Blackshear
e6892d66b8
update docs and add back benchmark
2020-03-03 20:26:53 -06:00
Blake Blackshear
6ef22cf578
fix watchdog
2020-03-03 20:26:53 -06:00
Blake Blackshear
3e6f6edf7e
check avg wait before dropping frames
2020-03-03 20:26:53 -06:00
Blake Blackshear
81c5b96ed7
fix watchdog restart
2020-03-03 20:26:53 -06:00
Blake Blackshear
6f6d202c99
improve watchdog and coral fps tracking
2020-03-03 20:26:53 -06:00
Blake Blackshear
2fc389c3ad
dont log http requests
2020-03-03 20:26:53 -06:00
Blake Blackshear
05951aa7da
cleanup
2020-03-03 20:26:53 -06:00
Blake Blackshear
bb8e4621f5
add models and convert speed to ms
2020-03-03 20:26:53 -06:00
Blake Blackshear
04e9ab5ce4
add watchdog for camera processes
2020-03-03 20:26:53 -06:00
Blake Blackshear
1089a40943
cleanup old code
2020-03-03 20:26:53 -06:00
Blake Blackshear
68c3a069ba
add a min_fps option
2020-03-03 20:26:53 -06:00
Blake Blackshear
80b9652f7a
check plasma store and consolidate frame drawing
2020-03-03 20:26:53 -06:00
Blake Blackshear
569e07949f
split into separate processes
2020-03-03 20:26:53 -06:00
Blake Blackshear
ffa9534549
update tflite to 2.1.0
2020-03-03 20:26:53 -06:00
Blake Blackshear
c539993387
refactor some classes into new files
2020-03-03 20:26:53 -06:00
Blake Blackshear
8a572f96d5
tweak process handoff
2020-03-03 20:26:53 -06:00
Blake Blackshear
24cb3508e8
Mostly working detection in a separate process
2020-03-03 20:26:53 -06:00
Blake Blackshear
3f34c57e31
read from ffmpeg
2020-03-03 20:26:53 -06:00
Blake Blackshear
4c618daa90
WIP: revamp to incorporate motion
2020-03-03 20:26:53 -06:00
Blake Blackshear
cd057370e1
fallback to opencv to detect resolution and allow config to specify
2020-02-22 09:03:00 -06:00
Blake Blackshear
6263912655
use ffprobe to get frame shape ( fixes #87 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
af247275cf
make timestamp on snapshots configurable ( fixes #88 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
1198c29dac
make watchdog timeout configurable per camera ( fixes #95 )
2020-02-22 09:03:00 -06:00
Blake Blackshear
169603d3ff
attempt to fix regions in process key error
2020-02-22 09:03:00 -06:00
Blake Blackshear
dc7eecebc6
clarify config
2020-02-22 09:03:00 -06:00
Blake Blackshear
0dd4087d5d
switch base image back to ubuntu:18.04
2020-02-22 09:03:00 -06:00
Blake Blackshear
6ecf87fc60
update config example
2020-02-22 09:03:00 -06:00
Blake Blackshear
ebcf1482f8
remove region in process when skipping
2020-02-22 09:03:00 -06:00
Blake Blackshear
50bcf60893
switch to opencv headless
2020-02-22 09:03:00 -06:00
Blake Blackshear
38efbd63ea
add camera name to ffmpeg log messages
2020-02-22 09:03:00 -06:00
Blake Blackshear
50bcad8b77
skip regions when the queue is too full and add more locks
2020-02-22 09:03:00 -06:00
Blake Blackshear
cfffb219ae
switch back to stretch for hwaccel issues
2020-02-22 09:03:00 -06:00
Blake Blackshear
382d7be50a
check correct object
2020-02-22 09:03:00 -06:00
Blake Blackshear
f43dc36a37
cleanup
2020-02-22 09:03:00 -06:00
Blake Blackshear
38e7fa07d2
add a label position arg for bounding boxes
2020-02-22 09:03:00 -06:00
Blake Blackshear
e261c20819
let the queues get as big as needed
2020-02-22 09:03:00 -06:00
Blake Blackshear
3a66e672d3
notify mqtt when objects deregistered
2020-02-22 09:03:00 -06:00
Blake Blackshear
2aada930e3
fix multiple object type tracking
2020-02-22 09:03:00 -06:00
Blake Blackshear
d87f4407a0
switch everything to run off of tracked objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
be5a114f6a
group by label before tracking objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
32b212c7b6
fix mask filtering
2020-02-22 09:03:00 -06:00
Blake Blackshear
76c8e3a12f
make a copy
2020-02-22 09:03:00 -06:00
Blake Blackshear
16f7a361c3
fix object filters
2020-02-22 09:03:00 -06:00
Blake Blackshear
634b87307f
group by label before suppressing boxes
2020-02-22 09:03:00 -06:00
Blake Blackshear
1d4fbbdba3
update all obj props
2020-02-22 09:03:00 -06:00
Blake Blackshear
65579e9cbf
add thread to write frames to disk
2020-02-22 09:03:00 -06:00
Blake Blackshear
49dc029c43
merge boxes by label
2020-02-22 09:03:00 -06:00
Blake Blackshear
08174d8db2
fix color of best image
2020-02-22 09:03:00 -06:00
Blake Blackshear
5199242a68
remove unused current frame variable
2020-02-22 09:03:00 -06:00
Blake Blackshear
725dd3220c
removing pillow-simd for now
2020-02-22 09:03:00 -06:00
Blake Blackshear
10dc56f6ea
revamp dockerfile
2020-02-22 09:03:00 -06:00
Blake Blackshear
cc2abe93a6
track objects and add config for tracked objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
0c6717090c
implement filtering and switch to NMS with OpenCV
2020-02-22 09:03:00 -06:00
Blake Blackshear
f5a2252b29
cleanup imports
2020-02-22 09:03:00 -06:00
Blake Blackshear
02efb6f415
fixing a few things
2020-02-22 09:03:00 -06:00
Blake Blackshear
5b4c6e50bc
dedupe detected objects
2020-02-22 09:03:00 -06:00
Blake Blackshear
9cc46a71cb
working dynamic regions, but messy
2020-02-22 09:03:00 -06:00
Blake Blackshear
be1673b00a
process detected objects in a queue
2020-02-22 09:03:00 -06:00
Blake Blackshear
b6130e77ff
label threads and implements stats endpoint
2020-02-22 09:03:00 -06:00
Blake Blackshear
4180c710cd
refactor resizing into generic priority queues
2020-02-22 09:03:00 -06:00
Blake Blackshear
ab3e70b4db
check to see if we have a frame before trying to send
2020-01-02 07:39:57 -06:00
Blake Blackshear
d90e408d50
set the current object status to off when expired
2020-01-02 07:39:57 -06:00
Blake Blackshear
6c87ce0879
cache the computed jpg bytes to reduce cpu usage
2020-01-02 07:39:57 -06:00
Blake Blackshear
b7b4e38f62
slow down the preview feed to lower cpu usage
2020-01-02 07:39:57 -06:00
Blake Blackshear
480175d70f
add color map to use different colors for different objects
2020-01-02 07:39:57 -06:00
Blake Blackshear
bee99ca6ff
track and report all detected object types
2020-01-02 07:39:57 -06:00
Blake Blackshear and GitHub
5c01720567
Update README.md
2019-12-12 08:08:32 -06:00
Blake Blackshear and GitHub
262f45c8bc
Update sponsorship option
2019-12-11 06:35:17 -06:00
tubalainen and Blake Blackshear
22bb17b2fd
Filename updated but not the reference
2019-12-09 06:01:27 -06:00
Blake Blackshear
3a3afe14bf
change the ffmpeg config for global defaults and overrides
2019-12-08 16:03:23 -06:00
Blake Blackshear
01f058a482
clarify optional properties
2019-12-08 16:03:23 -06:00
Blake Blackshear
d899ef158e
fix datestamp positioning
2019-12-08 16:03:23 -06:00
Blake Blackshear
39d64f7ba7
add health check and handle bad camera names
2019-12-08 16:03:23 -06:00
Blake Blackshear
f148eb5a7b
add some comments for regions
2019-12-08 16:03:23 -06:00
Blake Blackshear
297e2f1c0c
allow mqtt client_id to be set for multi frigate setups
2019-12-08 16:03:23 -06:00
Blake Blackshear
e818744d81
print the frame time on the image
2019-12-08 08:55:54 -06:00
Blake Blackshear
ceedfae993
add max person area
2019-12-08 07:17:18 -06:00
Blake Blackshear
e13563770d
allow full customization of input
2019-12-08 07:06:52 -06:00
Blake Blackshear
a659019d1a
move config example
2019-12-08 07:06:52 -06:00
blakeblackshear
ba71927d53
allow setting custom output params and setting the log level for ffmpeg
2019-08-25 08:54:19 -05:00
blakeblackshear
04fed31eac
increase watchdog timeout to 10 seconds
2019-08-25 08:54:19 -05:00
blakeblackshear
ebaa8fac01
tweak input params and gracefully kill ffmpeg
2019-08-25 08:54:19 -05:00
blakeblackshear
2ec45cd1b6
send the best person frame over mqtt for faster updates in homeassistant
2019-08-25 08:54:19 -05:00
blakeblackshear
700bd1e3ef
use a thread to capture frames from the subprocess so it can be killed properly
2019-07-30 19:11:22 -05:00
Alexis Birkill and Blake Blackshear
c9e9f7a735
Fix comparison of object x-coord against mask ( #52 )
2019-07-30 19:11:22 -05:00
blakeblackshear
aea4dc8724
a few fixes
2019-07-30 19:11:22 -05:00
blakeblackshear
12d5007b90
add required packages for VAAPI
2019-07-30 19:11:22 -05:00
blakeblackshear
8970e73f75
comment formatting and comment out mask in example config
2019-07-30 19:11:22 -05:00
blakeblackshear
1ba006b24f
add some comments to the sample config
2019-07-30 19:11:22 -05:00
blakeblackshear
4a58f16637
tweak the label position
2019-07-30 19:11:22 -05:00
blakeblackshear
436b876b24
add support for ffmpeg hwaccel params and better mask handling
2019-07-30 19:11:22 -05:00
blakeblackshear
a770ab7f69
specify a client id for frigate
2019-07-30 19:11:22 -05:00
blakeblackshear
806acaf445
update dockerignore and debug option
2019-07-30 19:11:22 -05:00
Kyle Niewiada and Blake Blackshear
c653567cc1
Add area labels to bounding boxes ( #47 )
...
* Add object size to the bounding box
Remove script from Dockerfile
Fix framerate command
Move default value for framerate
update dockerfile
dockerfile changes
Add person_area label to surrounding box
Update dockerfile
ffmpeg config bug
Add `person_area` label to `best_person` frame
Resolve debug view showing area label for non-persons
Add object size to the bounding box
Add object size to the bounding box
* Move object area outside of conditional to work with all object types
2019-07-30 19:11:22 -05:00
blakeblackshear
8fee8f86a2
take_frame config example
2019-07-30 19:11:22 -05:00
blakeblackshear
59a4b0e650
add ability to process every nth frame
2019-07-30 19:11:22 -05:00
blakeblackshear
834a3df0bc
added missing scripts
2019-07-30 19:11:22 -05:00
blakeblackshear
c41b104997
extra ffmpeg params to reduce latency
2019-07-30 19:11:22 -05:00
blakeblackshear
7028b05856
add a benchmark script
2019-07-30 19:11:22 -05:00
blakeblackshear
2d22a04391
reduce verbosity of ffmpeg
2019-07-30 19:11:22 -05:00
blakeblackshear
baa587028b
use a regular subprocess for ffmpeg, refactor bounding box drawing
2019-07-30 19:11:22 -05:00
blakeblackshear
2b51dc3e5b
experimental: running ffmpeg directly and capturing raw frames
2019-07-30 19:11:22 -05:00
blakeblackshear
9f8278ea8f
working odroid build, still needs hwaccel
2019-07-30 19:11:22 -05:00
Blake Blackshear and GitHub
56b9c754f5
Update README.md
2019-06-18 06:19:13 -07:00
Blake Blackshear and GitHub
5c4f5ef3f0
Create FUNDING.yml
2019-06-18 06:15:05 -07:00
Blake Blackshear and GitHub
8c924896c5
Merge pull request #36 from drcrimzon/patch-1
...
Add MQTT connection error handling
2019-05-15 07:10:53 -05:00
Mike Wilkinson and GitHub
2c2f0044b9
Remove error redundant check
2019-05-14 11:09:57 -04:00
Mike Wilkinson and GitHub
874e9085a7
Add MQTT connection error handling
2019-05-14 08:34:14 -04:00
Blake Blackshear and GitHub
e791d6646b
Merge pull request #34 from blakeblackshear/watchdog
...
0.1.2
2019-05-11 07:43:09 -05:00
blakeblackshear
3019b0218c
make the threshold configurable per region. fixes #31
2019-05-11 07:39:27 -05:00
blakeblackshear
6900e140d5
add a watchdog to the capture process to detect silent failures. fixes #27
2019-05-11 07:16:15 -05:00
Blake Blackshear and GitHub
911c1b2bfa
Merge pull request #32 from tubalainen/patch-2
...
Clarification on username and password for MQTT
2019-05-11 07:14:19 -05:00
Blake Blackshear and GitHub
f4587462cf
Merge pull request #33 from tubalainen/patch-3
...
Update of the home assistant integration example
2019-05-11 07:14:01 -05:00
tubalainen and GitHub
cac1faa8ac
Update of the home assistant integration example
...
sensor to binary_sensor
device_class type "moving" does not exist, update to "motion"
2019-05-10 16:47:40 +02:00
tubalainen and GitHub
9525bae5a3
Clarification on username and password for MQTT
2019-05-10 16:36:22 +02:00
blakeblackshear
dbcfd109f6
fix missing import
2019-05-10 06:19:39 -05:00
Blake Blackshear and GitHub
f95d8b6210
Merge pull request #26 from blakeblackshear/mask
...
add the ability to mask the standing location of a person
2019-05-01 06:43:32 -05:00
blakeblackshear
4dacf02ef9
add the ability to mask the standing location of a person
2019-04-30 20:35:22 -05:00
Blake Blackshear and GitHub
3e803b6a03
Merge pull request #20 from blakeblackshear/edgetpu
...
edgetpu
2019-03-30 08:28:36 -05:00
blakeblackshear
7a7f507781
update diagram
2019-03-30 08:22:41 -05:00
blakeblackshear
e0b9b616ce
cleanup and update readme
2019-03-30 07:58:31 -05:00
blakeblackshear
4476bd8a13
log capture process pid
2019-03-29 21:18:20 -05:00
blakeblackshear
5aa3775c77
create a camera object for each camera in the config
2019-03-29 21:14:24 -05:00
blakeblackshear
edf0cd36df
add back flask endpoints
2019-03-29 21:02:40 -05:00
blakeblackshear
0279121d77
WIP: convert to camera class
2019-03-29 20:49:27 -05:00
blakeblackshear
8774e537dc
implementing a config file for a single camera
2019-03-28 07:30:58 -05:00
blakeblackshear
0514eeac03
switch to a thread for object detection
2019-03-27 20:44:57 -05:00
blakeblackshear
a074945394
missing param and updated readme
2019-03-27 06:55:32 -05:00
blakeblackshear
a26d2217d4
implement min person size again
2019-03-27 06:45:27 -05:00
blakeblackshear
200d769003
removing motion detection
2019-03-27 06:17:00 -05:00
blakeblackshear
48aa245914
convert docker build to x86
2019-03-26 05:44:33 -05:00
blakeblackshear
ada8ffccf9
fix for queue size growing too large
2019-03-25 20:35:44 -05:00
blakeblackshear
bca4e78e9a
use a queue instead
2019-03-25 06:24:36 -05:00
blakeblackshear
7d3027e056
looping over all regions with motion. ugly, but working
2019-03-20 07:11:38 -05:00
blakeblackshear
c406fda288
fixes
2019-03-19 06:29:58 -05:00
blakeblackshear
8ff9a982b6
start the detection process
2019-03-18 07:48:04 -05:00
blakeblackshear
f2c205be99
prep frames for object detection in a separate process
2019-03-18 07:24:24 -05:00
blakeblackshear
862aa2d3f0
only resize when needed
2019-03-17 20:12:31 -05:00
blakeblackshear
8bae05cfe2
first working version, single region and motion detection disabled
2019-03-17 09:03:52 -05:00
blakeblackshear
de9c3f4d74
wait 5 seconds to clear the motion flag
2019-03-15 20:16:19 -05:00
blakeblackshear
c12e19349e
only cleanup old objects when motion is detected so stationary objects are still detected
2019-03-15 20:15:41 -05:00
blakeblackshear
afb70f11a8
switch mqtt to a binary on/off instead of sending a message for each score
2019-03-12 20:54:43 -05:00