For some good time now, I have had homeassistant running in proxmox on a VM. I had toyed with getting GPU acceleration working but always hit a dead end in one way or another. Finally had some downtime to mess with it and I think I made some progress, after messing with some proxmox settings and frigate settings I finally see “Intel GPU” at the bottom of the frigate screen. Unfortunately all my cameras come up “No frames have been received, check error logs”. If I go into the logs, I see from the start errors such as inside_deck: unable to read frames from ffmpeg process followed by a inside_deck: ffmpeg proccess is not running exiting captujre thread. I searched a bunch for an answer and came up with nothing, so I assume I’m doing something dumb in my config. I’m pulling my hair out at this point. Below is my config file. Thanks!
database:
path: /config/frigate.db
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: usb
live:
height: 720
quality: 8
mqtt:
host: 192.168.1.18
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt
password: password
stats_interval: 60
go2rtc:
streams:
front_study:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
front_door:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
front_garage:
- rtsp://admin:[email protected]:554/h264Preview_01_main
side_deck:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
basement_door:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
inside_deck:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 1280
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 720
# Optional: desired fps for your camera for the input with the detect role (default: shown below)
# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.
fps: 5
# Optional: enables detection for the camera (default: True)
# This value can be set via MQTT and will be updated in startup based on retained value
enabled: true
# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)
max_disappeared: 25
stationary:
interval: 50
threshold: 50
objects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- face
- license_plate
- dog
- cat
- car
- amazon
- fedex
- ups
- package
birdseye:
# # Optional: Enable birdseye view (default: shown below)
enabled: true
# # Optional: Width of the output resolution (default: shown below)
width: 1920
# # Optional: Height of the output resolution (default: shown below)
height: 1080
# # Optional: Encoding quality of the mpeg1 feed (default: shown below)
# # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# # Optional: Mode of the view. Available options are: objects, motion, and continuous
# # objects - cameras are included if they have had a tracked object within the last 30 seconds
# # motion - cameras are included if motion was detected in the last 30 seconds
# # continuous - all cameras are included always
mode: continuous
timestamp_style:
# Optional: Position of the timestamp (default: shown below)
# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
position: tl
# Optional: Format specifier conform to the Python package "datetime" (default: shown below)
# Additional Examples:
# german: "%d.%m.%Y %H:%M:%S"
format: '%m/%d/%Y %H:%M:%S'
# Optional: Color of font
record:
# Optional: Enable recording (default: shown below)
enabled: true
# Optional: Number of days to retain recordings regardless of events (default: shown below)
# NOTE: This should be set to 0 and retention should be defined in events section below
# if you only want to retain recordings of events.
# retain_days: 0
# Optional: Event recording settings
events:
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the retained recordings
# will be the last x seconds of the event unless retain_days under record is > 0.
# Optional: Number of seconds before the event to include (default: shown below)
pre_capture: 5
# Optional: Number of seconds after the event to include (default: shown below)
post_capture: 5
# Optional: Objects to save recordings for. (default: all tracked objects)
objects:
- person
- car
# Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
# Optional: Retention settings for recordings of events
retain:
# Required: Default retention days (default: shown below)
mode: active_objects
default: 7
# Optional: Per object retention days
objects:
person: 14
car: 7
cameras:
front_door:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_door
roles:
- detect
- rtmp
- record
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- cat
- dog
- person
- car
filters:
car: {}
mask: 0.283,0.559,0.943,0.555,0.949,0.491,0.909,0,0.35,0,0.301,0.285,0.287,0.574
motion:
mask: >-
0.304,0,0.921,0,0.962,0.561,0.278,0.567
zones:
Front_Door:
coordinates: 0.318,1,1,1,0.954,0.561,0.288,0.566
inertia: 7
loitering_time: 0
objects:
- cat
- person
- dog
- car
Street_and_neighbors:
coordinates: 0.306,0,0.289,0.552,0.994,0.553,0.997,0.006
loitering_time: 0
review:
alerts:
required_zones: Front_Door
detections:
required_zones: Front_Door
front_study:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_study
roles:
- detect
- rtmp
- record
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- bicycle
- cat
- dog
- car
- person
filters:
car: {}
mask: 0.055,0.132,0.041,0.407,0.111,0.378,0.28,0.383,0.489,0.417,0.999,0.542,1,0.187
motion:
mask: >-
1,0.589,1,0.232,0.4,0.219,0.3,0.212,0.05,0.165,0.024,0.505,0.374,0.516
zones:
Front_yard:
coordinates: 0.121,0.98,0.977,0.936,0.975,0.546,0.469,0.433,0.066,0.574
objects:
- person
- dog
- cat
inertia: 3
loitering_time: 0
Driveway:
coordinates:
0.113,0.382,0.165,0.389,0.282,0.389,0.381,0.398,0.484,0.42,0.361,0.445,0.045,0.563,0.04,0.421
inertia: 7
loitering_time: 0
objects:
- car
- person
- bicycle
- dog
- cat
Street:
coordinates: 0.196,0.388,0.202,0.193,0.307,0.212,0.998,0.23,1,0.518,0.527,0.413,0.359,0.391
loitering_time: 0
review:
alerts:
required_zones:
- Driveway
- Front_yard
detections:
required_zones:
- Driveway
- Front_yard
front_garage:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_garage
roles:
- detect
- rtmp
- record
detect:
width: 1920
height: 1080
# width: 2560
# height: 1920
fps: 5
objects:
track:
- bicycle
- cat
- dog
- car
- person
# filters:
filters:
bicycle: {}
car: {}
mask: 0.706,0.343,0.474,0.401,0.397,0.459,0,0.603,0,0,0.868,0,0.895,0.337,0.611,0.365
motion: {}
zones:
Driveway2:
coordinates: 0.92,1,0.945,0.429,0.318,0.453,0.179,0.506,0,0.587,0,1
inertia: 7
loitering_time: 0
Street_and_neighbors:
coordinates: 0.002,0.581,0.318,0.444,0.621,0.354,0.887,0.325,0.853,0,0.002,0.005
loitering_time: 0
review:
alerts:
required_zones: Driveway2
detections:
required_zones: Driveway2
side_deck:
ffmpeg:
inputs:
- path: >-
rtsp://127.0.0.1:8554/side_deck
roles:
- detect
- rtmp
#- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- cat
zones:
Deck_side_of_House:
coordinates:
0.17,0.96,0.213,0.734,0.307,0.452,0.25,0.406,0.22,0.33,0.303,0.191,0.431,0.088,0.683,0.086,0.724,0.098,0.671,0.998
loitering_time: 0
inertia: 3
review:
alerts:
required_zones: Deck_side_of_House
Basement_door:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/basement_door
roles:
- detect
- rtmp
# - record
detect:
width: 1920
height: 1080
# width: 2692
# height: 1944
fps: 5
objects:
track:
- cat
- bird
- dog
- person
filters:
person: {}
bird:
mask:
0.002,0.995,0.002,0.303,0.092,0.253,0.228,0.243,0.239,0.324,0.341,0.324,0.334,0.207,0.619,0.278,0.811,0.327,0.91,0.318,0.904,0.459,0.931,0.478,0.998,0.379,0.998,0.995
zones:
Side_Deck:
coordinates: 0,0.302,0.088,0.25,0.081,0.123,0.018,0.089,0.002,0.108
loitering_time: 0
objects: person
inertia: 3
Under_Deck:
coordinates:
0.088,0.253,0,0.309,0,1,1,1,1,0.375,0.935,0.481,0.899,0.46,0.911,0.315,0.805,0.324,0.326,0.206,0.339,0.323,0.234,0.317,0.226,0.24
loitering_time: 0
objects: person
inertia: 3
review:
alerts:
required_zones:
- Side_Deck
- Under_Deck
motion:
threshold: 52
contour_area: 55
improve_contrast: 'true'
inside_deck:
ffmpeg:
inputs:
- path: >-
rtsp://127.0.0.1:8554/inside_deck
roles:
- detect
- rtmp
#- record
detect:
width: 1920
height: 1080
fps: 5
objects:
track:
- person
- cat
zones:
Deck_Inside:
coordinates: 0.028,0.372,0.243,0.999,0.722,0.989,0.915,0.289,0.951,0,0.001,0.004
loitering_time: 2
inertia: 3
review:
alerts:
required_zones: Deck_Inside
version: 0.14
camera_groups:
Front_House:
order: 1
icon: LuDoorClosed
cameras:
- front_study
- front_garage
- front_door
Back_and_side_of_house:
order: 2
icon: LuTreePine
cameras:
- inside_deck
- side_deck
- Basement_door