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:
|
||||
streams:
|
||||
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:
|
||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS>:554/stream2
|
||||
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.2:554/stream2
|
||||
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:
|
||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS_2>:554/stream2
|
||||
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.4:554/stream2
|
||||
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:
|
||||
- rtsp://<USER>:<PASS>@<IP_ADDRESS_3>:554/stream2
|
||||
- rtsp://{TAPO_USER}:{TAPO_PASS}@192.168.19.3:554/stream2
|
||||
|
||||
cameras:
|
||||
camera_1: # Change name to match your location (e.g., driveway)
|
||||
EntryCam: # Change name to match your location (e.g., driveway)
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/camera_1
|
||||
|
|
@ -31,7 +31,7 @@ cameras:
|
|||
height: 360
|
||||
fps: 5
|
||||
|
||||
camera_2:
|
||||
GarageFront:
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/camera_2
|
||||
|
|
@ -45,7 +45,7 @@ cameras:
|
|||
height: 360
|
||||
fps: 5
|
||||
|
||||
camera_3:
|
||||
GarageRear:
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: rtsp://127.0.0.1:8554/camera_3
|
||||
|
|
@ -69,9 +69,14 @@ record:
|
|||
ffmpeg:
|
||||
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:
|
||||
ov:
|
||||
type: openvino
|
||||
device: GPU # This uses Intel iGPU if available, use 'tensorrt' for Nvidia
|
||||
tensorrt:
|
||||
type: tensorrt
|
||||
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:
|
||||
image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
|
||||
privileged: true
|
||||
env_file:
|
||||
- /docker/frigate/creds.env
|
||||
devices:
|
||||
- /dev/nvidia0:/dev/nvidia0
|
||||
- /dev/nvidiactl:/dev/nvidiactl
|
||||
|
|
|
|||
Loading…
Reference in a new issue