update frigate config
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
f86782ea7c
commit
3b06b7a188
2 changed files with 21 additions and 14 deletions
|
|
@ -4,20 +4,20 @@ mqtt:
|
||||||
go2rtc:
|
go2rtc:
|
||||||
streams:
|
streams:
|
||||||
camera_1:
|
camera_1:
|
||||||
- "ffmpeg:rtsp://<USER>:<PASS>@<IP_ADDRESS>:554/stream1#video=copy#audio=copy#audio=aac"
|
- "ffmpeg:rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.2:554/stream1#video=copy#audio=copy#audio=aac"
|
||||||
camera_1_sub:
|
camera_1_sub:
|
||||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS>:554/stream2
|
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.2:554/stream2
|
||||||
camera_2:
|
camera_2:
|
||||||
- "ffmpeg:rtsp://<USER>:<PASS>@<IP_ADDRESS_2>:554/stream1#video=copy#audio=copy#audio=aac"
|
- "ffmpeg:rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.4:554/stream1#video=copy#audio=copy#audio=aac"
|
||||||
camera_2_sub:
|
camera_2_sub:
|
||||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS_2>:554/stream2
|
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.4:554/stream2
|
||||||
camera_3:
|
camera_3:
|
||||||
- "ffmpeg:rtsp://<USER>:<PASS>@<IP_ADDRESS_3>:554/stream1#video=copy#audio=copy#audio=aac"
|
- "ffmpeg:rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.3:554/stream1#video=copy#audio=copy#audio=aac"
|
||||||
camera_3_sub:
|
camera_3_sub:
|
||||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS_3>:554/stream2
|
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.3:554/stream2
|
||||||
|
|
||||||
cameras:
|
cameras:
|
||||||
camera_1: # Change name to match your location (e.g., driveway)
|
EntryCam: # Change name to match your location (e.g., driveway)
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
- path: rtsp://127.0.0.1:8554/camera_1
|
- path: rtsp://127.0.0.1:8554/camera_1
|
||||||
|
|
@ -31,7 +31,7 @@ cameras:
|
||||||
height: 360
|
height: 360
|
||||||
fps: 5
|
fps: 5
|
||||||
|
|
||||||
camera_2:
|
GarageFront:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
- path: rtsp://127.0.0.1:8554/camera_2
|
- path: rtsp://127.0.0.1:8554/camera_2
|
||||||
|
|
@ -45,7 +45,7 @@ cameras:
|
||||||
height: 360
|
height: 360
|
||||||
fps: 5
|
fps: 5
|
||||||
|
|
||||||
camera_3:
|
GarageRear:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
- path: rtsp://127.0.0.1:8554/camera_3
|
- path: rtsp://127.0.0.1:8554/camera_3
|
||||||
|
|
@ -69,9 +69,14 @@ record:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
hwaccel_args: preset-nvidia
|
hwaccel_args: preset-nvidia
|
||||||
|
|
||||||
# If you want to use the GPU for object detection (requires Frigate + TensorRT)
|
|
||||||
# Note: This is separate from decoding and requires the tensorrt detector image
|
|
||||||
detectors:
|
detectors:
|
||||||
ov:
|
tensorrt:
|
||||||
type: openvino
|
type: tensorrt
|
||||||
device: GPU # This uses Intel iGPU if available, use 'tensorrt' for Nvidia
|
device: 0 # Matches your first GPU (/dev/nvidia0)
|
||||||
|
|
||||||
|
model:
|
||||||
|
path: /config/model_cache/tensorrt/yolov8s.trt # Frigate will build this
|
||||||
|
width: 640
|
||||||
|
height: 640
|
||||||
|
input_tensor: nchw
|
||||||
|
input_pixel_format: rgb
|
||||||
|
|
@ -2,6 +2,8 @@ services:
|
||||||
frigate:
|
frigate:
|
||||||
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
||||||
privileged: true
|
privileged: true
|
||||||
|
env_file:
|
||||||
|
- /docker/frigate/creds.env
|
||||||
devices:
|
devices:
|
||||||
- /dev/nvidia0:/dev/nvidia0
|
- /dev/nvidia0:/dev/nvidia0
|
||||||
- /dev/nvidiactl:/dev/nvidiactl
|
- /dev/nvidiactl:/dev/nvidiactl
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue