blakeblackshear.frigate/docs/docs/configuration
Sergey Krashevich 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
..
advanced.md go2rtc v1.6.0 (#7122) 2023-07-13 05:40:44 -05:00
audio_detectors.md Audio events (#6848) 2023-07-01 08:18:33 -05:00
autotracking.md Autotracking optimizations (#7109) 2023-07-11 06:23:20 -05:00
birdseye.md Add option to have cameras sorted inside the Birdseye stream (#5450) 2023-04-26 19:29:01 -05:00
camera_specific.md Feature: automatic camera resolution configuration (#6810) 2023-07-14 06:56:03 -05:00
cameras.md Feature: automatic camera resolution configuration (#6810) 2023-07-14 06:56:03 -05:00
ffmpeg_presets.md update presets docs (#5386) 2023-02-05 09:12:40 -06:00
hardware_acceleration.md sync master 2023-05-19 05:47:49 -05:00
index.md Feature: automatic camera resolution configuration (#6810) 2023-07-14 06:56:03 -05:00
live.md go2rtc v1.6.0 (#7122) 2023-07-13 05:40:44 -05:00
masks.md Capitalize the Frigate word (#5044) 2023-01-13 07:18:15 -06:00
object_detectors.md Upgrade TensorRT to 8.5.3 (#7006) 2023-07-06 14:20:33 -05:00
objects.mdx Folderize Docs: Each topic gets a folder (#4514) 2022-12-17 17:57:18 -06:00
record.md Add API and WebUI to export recordings (#6550) 2023-06-08 07:32:35 -04:00
restream.md go2rtc v1.6.0 (#7122) 2023-07-13 05:40:44 -05:00
snapshots.md [Docs] Snapshot config explanation. (#6439) 2023-05-17 07:45:09 -05:00
stationary_objects.md Fix max_frames, improve stationary objects in masked areas (#6815) 2023-06-16 07:32:43 -05:00
user_interface.md feat: Timeline UI (#2830) 2022-02-27 08:04:12 -06:00
zones.md Add docs for required_zones (#5499) 2023-02-15 06:30:29 -06:00