diff --git a/README.md b/README.md index 78040656a..012a856af 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ # Frigate - NVR With Realtime Object Detection for IP Cameras -A complete and local NVR designed for HomeAssistant with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras. +A complete and local NVR designed for [Home Assistant](https://www.home-assistant.io) with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras. Use of a [Google Coral Accelerator](https://coral.ai/products/) is optional, but highly recommended. The Coral will outperform even the best CPUs and can process 100+ FPS with very little overhead. -- Tight integration with HomeAssistant via a [custom component](https://github.com/blakeblackshear/frigate-hass-integration) +- Tight integration with Home Assistant via a [custom component](https://github.com/blakeblackshear/frigate-hass-integration) - Designed to minimize resource use and maximize performance by only looking for objects when and where it is necessary - Leverages multiprocessing heavily with an emphasis on realtime over processing every frame - Uses a very low overhead motion detection to determine where to run object detection @@ -26,7 +26,7 @@ View the documentation at https://blakeblackshear.github.io/frigate If you would like to make a donation to support development, please use [Github Sponsors](https://github.com/sponsors/blakeblackshear). ## Screenshots -Integration into HomeAssistant +Integration into Home Assistant
diff --git a/docs/docs/configuration/cameras.md b/docs/docs/configuration/cameras.md
index 00b4d0c2e..d63b812cb 100644
--- a/docs/docs/configuration/cameras.md
+++ b/docs/docs/configuration/cameras.md
@@ -388,6 +388,36 @@ cameras:
## Camera specific configuration
+### MJPEG Cameras
+
+The input and output parameters need to be adjusted for MJPEG cameras
+
+```yaml
+ input_args:
+ - -avoid_negative_ts
+ - make_zero
+ - -fflags
+ - nobuffer
+ - -flags
+ - low_delay
+ - -strict
+ - experimental
+ - -fflags
+ - +genpts+discardcorrupt
+ - -r
+ - '3' # <---- adjust depending on your desired frame rate from the mjpeg image
+ - -use_wallclock_as_timestamps
+ - '1'
+```
+
+Note that mjpeg cameras require encoding the video into h264 for clips, recording, and rtmp roles. This will use significantly more CPU than if the cameras supported h264 feeds directly.
+```yaml
+ output_args:
+ record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
+ clips: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -an
+ rtmp: -c:v libx264 -an -f flv
+```
+
### RTMP Cameras
The input parameters need to be adjusted for RTMP cameras
diff --git a/docs/docs/configuration/detectors.md b/docs/docs/configuration/detectors.md
index 3e59e6792..a7bbdab79 100644
--- a/docs/docs/configuration/detectors.md
+++ b/docs/docs/configuration/detectors.md
@@ -30,6 +30,18 @@ detectors:
device: usb:1
```
+Multiple PCIE/M.2 Corals:
+
+```yaml
+detectors:
+ coral1:
+ type: edgetpu
+ device: pci:0
+ coral2:
+ type: edgetpu
+ device: pci:1
+```
+
Mixing Corals:
```yaml
diff --git a/docs/docs/configuration/nvdec.md b/docs/docs/configuration/nvdec.md
index 0037495f6..b2ec01a47 100644
--- a/docs/docs/configuration/nvdec.md
+++ b/docs/docs/configuration/nvdec.md
@@ -55,7 +55,7 @@ A list of supported codecs (you can use `ffmpeg -decoders | grep cuvid` in the c
```
For example, for H265 video (hevc), you'll select `hevc_cuvid`. Add
-`-c:v hevc_covid` to your ffmpeg input arguments:
+`-c:v hevc_cuvid` to your ffmpeg input arguments:
```
ffmpeg:
diff --git a/docs/docs/installation.md b/docs/docs/installation.md
index bcd56ca7a..e0ca3fdb6 100644
--- a/docs/docs/installation.md
+++ b/docs/docs/installation.md
@@ -67,7 +67,7 @@ docker run -d \
--restart=unless-stopped \
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
--device /dev/bus/usb:/dev/bus/usb \
- --device /dev/dri/renderD128
+ --device /dev/dri/renderD128 \
-v